Domain (Domain-Driven Design)

A domain in Domain-Driven Design is the area of knowledge or activity that software serves, such as building and appraising health economic models.

Status
Published, version 1.0.1
Last reviewed
16 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Domain (Domain-Driven Design) in Health Economics Practice

In Domain-Driven Design (DDD), the domain is the subject matter that a piece of software exists to deal with, and DDD asks for it to be described in the terms of the people who do that work rather than in terms of the technology. For software that builds, runs or checks a health economic model, the domain is the business of health economic analysis itself, with its disease pathways, costs, outcomes, model runs and appraisal decisions, and not spreadsheets, R code or databases. Naming the domain comes first because the other DDD ideas, such as subdomains, bounded contexts and the domain model, each divide it or describe it. The word domain already carries several meanings in health economics, so the wiki adds the qualifier (Domain-Driven Design) to keep this sense apart from the others.

Where the term comes from and who uses it

The term belongs to software design and is new to health economics. No health economics guideline or methods paper read for this page uses domain in the DDD sense, so the sources here are all from software design.

  • Eric Evans, who introduced DDD in his 2003 book, writes in its opening part that all software relates to some activity or interest of its user, and that the subject area to which the user applies it is the domain of the software.
  • The Domain-Driven Design Reference that Evans published in 2015 under a Creative Commons licence defines domain as "A sphere of knowledge, influence, or activity", and repeats the point about the subject area of software.
  • Martin Fowler describes DDD as centring development on a domain model with a rich understanding of the processes and rules of a domain, and as suited to complex domains with much messy logic. Microsoft's architecture guidance for microservices starts its DDD method with an analysis of the business domain.

The wiki label matches the term these sources use, with a qualifier of the wiki's own that the literature does not use.

What Evans means by a domain

Evans separates the domain from the software that serves it. His examples are airline booking software, whose domain involves real people getting on real aircraft, and accounting software, whose domain is money and finance. He notes that software domains usually have little to do with computers, with exceptions such as a source code control system, whose domain is software development itself. A tool that tracks versions of health economic model files would be an exception of the same kind, since its subject is the files themselves.

The domain is also larger than any model of it. Evans calls a model a selectively simplified and consciously structured form of knowledge, and states that a domain model is the idea a diagram is intended to convey, so no single diagram is the model. He places the value of software in the domain, writing that the heart of software is its ability to solve domain-related problems for its user, and he warns that technical talent often goes into elaborate frameworks instead of learning the domain.

The domain of health economic modelling work

The wiki's Domain Layer applies DDD to health economics practice. Its domain is the work health economists do when they build, run, check and appraise models and evidence. A first candidate area is model execution, where practitioners speak of a base case, a scenario analysis, a model run and a model version. A second is the appraisal process of health technology assessment, with evidence submissions, clarification questions and recommendations. Costing is a third.

Health economic modelling has its own name for the step of understanding the domain before designing anything. The ISPOR-SMDM task force report on conceptualising a model, by Roberts and colleagues, separates problem conceptualisation, which turns knowledge of the health care process or decision into a representation of the problem, from model conceptualisation, which represents that problem with a particular analytic method. NICE Decision Support Unit Technical Support Document 13, by Kaltenthaler and colleagues, makes a similar split between problem-oriented conceptual models, which describe the disease and treatment systems in which the decision problem exists, and design-oriented conceptual models, which set out feasible model structures. Neither source uses DDD, but both describe the subject matter in its own terms before a structure is chosen, as DDD does, although Evans then asks for the model and the design to be refined together as insight grows.

Both sources also say where domain knowledge comes from. Roberts and colleagues write that clinical experts are central in developing a representation of clinical practice and that policy experts should be consulted when a model addresses a policy decision. Technical Support Document 13 states that what is relevant in a problem-oriented model depends primarily on expert input and not on the availability of research evidence. In DDD terms these people are domain experts, and Evans makes the same point when he writes that a development team must bring to bear a body of knowledge related to the users' activities.

Domain, subdomains and bounded contexts

A domain is usually too large to model as one piece, and DDD divides it in two different ways. Subdomains split the domain by what each part of the work does and how much it matters. Bounded contexts split the modelling effort into boundaries within which one model and its language stay consistent.

Evans's 2015 reference asks teams to define a core domain, the most valuable and specialised part, and to identify cohesive subdomains that are not the motivation for the project, factoring them out as generic and considering off-the-shelf solutions or published models for them. Later guidance, such as Microsoft's, names a middle category of supporting subdomains, which keep the business running without setting it apart.

A bounded context is a modelling boundary, defined by Evans as a boundary, typically a subsystem or the work of a particular team, within which a particular model is defined and applicable. Fowler explains why one domain usually needs several contexts, quoting Evans that total unification of the domain model for a large system will not be feasible or cost-effective, and noting that different groups in a large organisation use subtly different vocabularies for the same words. For a health economics practice, one domain therefore holds several contexts, such as Model Execution and HTA Appraisal, each with its own model and its own precise use of shared words.

How the DDD domain differs from other uses of domain on the wiki

The wiki's own Health Economics domain is a field of knowledge. It is arranged into nine subdomains, such as Costs, Outcomes, Economic Evaluation and Economic Modelling, and then into topics and concepts, to organise teaching and reference. A DDD domain is an area of activity that software or an operational model serves, and DDD subdomains divide that activity by function and by importance to a project. The two can share names, but a wiki subdomain such as Economic Modelling is a body of knowledge, while a DDD subdomain is a slice of work chosen for design.

Three other senses are also in use. A domain of a health-related quality of life instrument is one aspect of health, such as physical, psychological or social functioning, that the instrument scores. The domain of applicability of a model is the range of populations, treatments, outcomes and time horizons over which its validation evidence holds. An ontology for a domain describes its classes and relations formally so that people and software can share them. None of the three is the DDD sense of the area that a piece of software serves.

Worked example sketching the domain of a modelling team

This example is illustrative. A hypothetical team builds and maintains cost-effectiveness models for reimbursement submissions and reruns them during appraisal. A first domain sketch might follow these steps.

1. Name the domain in one sentence. The domain is building, running and defending health economic models that inform funding decisions.

2. List the activities. The team structures disease models, runs base cases and scenarios, draws inputs from evidence synthesis and published unit costs, answers clarification questions and keeps model versions. It also stores files, manages user accounts and formats reports.

3. Sort the activities into subdomain types. The sorting below is the team's judgement for this project, not a fixed rule.

ActivitySubdomain typeReason
Disease model structure and model executionCoreSpecialist knowledge, and the reason the team exists
Evidence synthesis inputs and unit costsSupportingNeeded for every model and specific to health economics, but not where the team stands apart
Submission and clarification handlingSupportingShaped by each HTA body's process
File storage, user accounts, report formattingGenericSolved problems, met by existing tools

4. Draw the first bounded contexts. The core activity becomes a Model Execution context, and submission handling an HTA Appraisal context. A model run in the first context and a submitted model in the second are related but not identical, so each context keeps its own terms, and the link between them is recorded on a context map.

The sketch shows where design effort should go. Under Evans's guidance the team's best modelling effort goes to disease structure and model execution rules, while file storage and accounts are met with existing tools.

Common misreadings of the domain

Most errors with the term come from treating the domain as something narrower or more technical than Evans meant. Others run the domain together with the subdomains and bounded contexts that divide it.

  1. Reading the domain as the software or the data. The domain is the health economics work, not the workbook, code or database that supports it. A data schema is one representation of part of the domain.
  2. Assuming one domain means one model. Fowler and Evans both state that a large domain needs several bounded contexts with their own models. A single model of all health economics practice would hide real differences in how terms are used.
  3. Treating the wiki's subdomains as DDD subdomains. The nine subdomains organise knowledge for learning. DDD subdomains divide activity for design and may cut across them, so a model execution subdomain can draw on Economic Modelling, Costs and Outcomes at once.
  4. Expecting DDD to deliver interoperability. Fowler notes that different contexts may hold completely different models of the same concepts, with mechanisms to map between them for integration. DDD maps between those models, and its Published Language pattern points to existing data interchange standards without supplying them. Shared identifiers and formal meaning across organisations come from ontologies and data standards, the subject of digital interoperability.
  5. Fixing the domain once. Evans asks for a short description of the core domain to be written early and revised as insight grows, and the boundaries of a domain sketch change in the same way as practitioners correct it.

Sources

Library

Publications

5
  • Other

    Domain-Driven Design Reference: Definitions and Pattern Summaries — Evans E, 2015 (Domain Language)

    Source listed in the Sources of the HealthEconomics.wiki Concept Architecture articles on Domain-Driven Design, Domain (Domain-Driven Design), Subdomain (Domain-Driven Design), Core Domain, Bounded Context, Ubiquitous Language, Domain Model, Context Map, Strategic Design, Domain Expert, Entity (Domain-Driven Design), Value Object, Aggregate (Domain-Driven Design), Invariant (Domain-Driven Design), Anticorruption Layer, Published Language, Domain Event, Domain Service, Shared Kernel and Open Host Service, where it is cited as a reference for these concepts.

  • Other

    Bounded Context — Fowler M, 2014 (martinfowler.com)

    Source listed in the Sources of the HealthEconomics.wiki Concept Architecture articles on Domain-Driven Design, Domain (Domain-Driven Design), Bounded Context, Ubiquitous Language, Context Map and Shared Kernel, where it is cited as a reference for these concepts.

  • Other

    Use domain analysis to model microservices — Microsoft, 2026 (Microsoft)

    Source listed in the Sources of the HealthEconomics.wiki Concept Architecture articles on Domain (Domain-Driven Design), Subdomain (Domain-Driven Design), Open Host Service, Core Domain and Published Language, where it is cited as a reference for these concepts.

  • Other

    Domain Driven Design — Fowler M, 2020 (martinfowler.com)

    Source listed in the Sources of the HealthEconomics.wiki Concept Architecture articles on Domain-Driven Design, Domain (Domain-Driven Design), Strategic Design, Core Domain, Domain Model and Aggregate (Domain-Driven Design), where it is cited as a reference for these concepts.

  • Book

    Domain-Driven Design: Tackling Complexity in the Heart of Software — Evans E, 2003 (Addison-Wesley)

    Book or book chapter listed in the Sources of the HealthEconomics.wiki Concept Architecture articles on Domain-Driven Design, Domain (Domain-Driven Design), Core Domain, Bounded Context, Context Map, Published Language, Open Host Service, Ubiquitous Language, Domain Model, Strategic Design, Domain Expert, Entity (Domain-Driven Design), Invariant (Domain-Driven Design), Anticorruption Layer, Shared Kernel, Value Object and Domain Service, where it is cited as a reference for these concepts.

Frequently Asked Questions (6)

  • What is Domain?

    A domain in Domain-Driven Design is the area of knowledge or activity that software serves, such as building and appraising health economic models.

    Source: Evans 2015

  • Where does the term domain in Domain-Driven Design come from?

    The sense used in Domain-Driven Design comes from Eric Evans, who introduced the method in a 2003 book on building software for complex subject matter. Evans wrote that every program relates to some activity or interest of its user, and that the subject area to which the user applies the program is the domain of the software. His examples were airline booking software, whose domain involves real people getting on real aircraft, and accounting software, whose domain is money and finance. The term belongs to software design, and it is new to health economics, where no guideline or methods paper read for the wiki page uses it in this sense.

    Source: Evans 2003

  • What is the domain in Domain-Driven Design for health economic modelling software?

    For software that builds, runs or checks a health economic model, the domain in Domain-Driven Design is the analytic work itself, with its disease pathways, costs, outcomes, model runs and appraisal decisions. Evans noted that software domains usually have little to do with computers, so the domain is not the spreadsheet, the R code or the database. His exception was software whose subject is software development, and a tool that tracks versions of health economic model files would be of that kind, since its subject is the files themselves. The domain is described in the words of practising health economists before any software structure is chosen.

    Source: Evans 2003

  • How does the domain in Domain-Driven Design differ from the wiki's Health Economics domain?

    The HealthEconomics.wiki Health Economics domain is a field of knowledge, arranged into nine subdomains such as Costs, Outcomes, Economic Evaluation and Economic Modelling to organise teaching and reference. A domain in Domain-Driven Design is the subject area to which software or an operational model is applied. Evans separates a core domain, the most valuable and specialised part, from generic subdomains that the project needs but that are not its motivation. The two senses can share names without meaning the same thing, and one design context can draw on several wiki subdomains at once.

    Source: Evans 2015

  • How does a domain in Domain-Driven Design relate to bounded contexts?

    A domain in Domain-Driven Design is usually too large for one consistent model, so it is split into bounded contexts, each with its own model and language. Fowler quotes Evans that total unification of the domain model for a large system will not be feasible or cost-effective, and notes that different groups in a large organisation use subtly different vocabularies. In health economics practice, one domain of model building and appraisal might hold a Model Execution context and an HTA Appraisal context. Each keeps its own precise use of shared words, and the links between them are recorded on a context map.

    Source: Fowler 2014

  • How does health economic model conceptualisation resemble describing a domain in Domain-Driven Design?

    Health economic modelling has its own step for understanding the subject matter before a model is designed. In the ISPOR-SMDM task force report on conceptualising a model, Roberts and colleagues separate problem conceptualisation, which turns knowledge of the health care process or decision into a representation of the problem, from model conceptualisation, which represents the problem with a particular analytic method. They add that clinical experts are central in representing clinical practice. The report does not mention Domain-Driven Design, but it also describes the subject matter before choosing a design, although Domain-Driven Design then refines the model and the design together.

    Source: Roberts et al. 2012

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 16 Nov 2026

Content version: 1.0.1

Canonical Identity

Term code
HS-HP-DH-111

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/domain-domain-driven-design