Concept Architecture
Subdomain (Domain-Driven Design) in Health Economics Work
Domain-Driven Design (DDD), the software modelling method set out by Eric Evans, splits the area of work that a system serves into smaller parts called subdomains. Each part is then judged by how much specialist knowledge it carries, so that careful modelling effort goes where the knowledge is deepest and simpler or ready-made solutions are used elsewhere. For health economists who build and check decision models, the idea offers a way to say which pieces of the work, such as running a cost-effectiveness model or handling an HTA submission, deserve the closest modelling attention, and later a bounded context with its own working language. A subdomain describes the problem being solved, so it is identified by studying the work itself before any software boundary is drawn.
Where the term comes from
Subdomain in this sense is a software design term and is new to health economics. None of the health economics guidance or methods papers read for this page uses it in the DDD sense, and the three sources below fix its meaning.
- Evans's Domain-Driven Design Reference (2015), a free summary of the definitions and patterns from his book Domain-Driven Design, with a few terms added since the book, defines a domain as a sphere of knowledge, influence or activity but gives subdomain no definition of its own. The word appears in the pattern Generic Subdomains, which asks a team to identify cohesive subdomains that are not the motivation for the project, and in the pattern Abstract Core, which speaks of modules defined by subdomain.
- Vernon's Domain-Driven Design Distilled (2016) gives subdomains a chapter of their own, with sections on what a subdomain is and on types of subdomain, and its index lists the core domain as a type of subdomain beside entries for a supporting domain and a generic subdomain. In a 2017 article Vernon describes a subdomain as a sub-part of a whole problem space domain, a logical area that on its own delivers a portion of the overall system solution.
- Microsoft's architecture guidance on domain analysis for microservices, last updated in 2026, states that DDD classifies subdomains into three categories, core, supporting and generic, and that this classification helps prioritise where design effort is invested.
The label on this page follows that usage. The qualifier in the title keeps the DDD sense apart from the wiki's own nine subdomains.
A DDD subdomain and the wiki's nine subdomains
HealthEconomics.wiki arranges the discipline of health economics into nine subdomains for reading and teaching, namely Costs, Outcomes, Economic Evaluation, Health Technology Assessment, Economic Modelling, Evidence Synthesis, Health Systems, Health Policy and Economic Foundations. Those subdomains divide a body of knowledge by topic. A DDD subdomain divides the work that one organisation or one software system carries out, and its standing depends on its role in that work.
The two do not line up. The wiki's Economic Modelling subdomain holds knowledge used in several distinct pieces of work, such as building a model and running it, and each could be a DDD subdomain for a modelling team. In the other direction, preparing model inputs draws on concepts from Costs, Outcomes and Evidence Synthesis at once.
Core, supporting and generic subdomains
The value of naming subdomains lies mainly in sorting them. Evans's Core Domain pattern asks a team to define a core domain and provide a means of easily distinguishing it from the mass of supporting model and code, and to apply its most able people to the core. Vernon and the Microsoft guidance name three kinds of subdomain, and each has a recognisable counterpart in health economics work.
| Kind | Meaning in DDD | Illustrative example in a modelling team |
|---|---|---|
| Core | The part that gives the organisation its distinctive value and needs detailed modelling | The decision model's structure and the way it turns evidence into costs and QALYs |
| Supporting | Needed to keep the work going, and specific enough to need custom work, but not the source of distinctive value | Assembling unit costs and adjusting them to one price year for the model |
| Generic | Problems already solved elsewhere, often met with standard or bought solutions | Random number generation, user accounts, document storage |
The meanings in the table follow the Microsoft guidance. Core subdomains provide a competitive advantage and require detailed modelling and substantial team investment, supporting subdomains keep the business operational and still require custom development, and generic subdomains represent problems that the industry has already solved.
Evans adds a caution about generic parts. They add complexity without capturing specialised knowledge, yet the system still cannot function without them, so his Generic Subdomains pattern factors them into separate modules, gives their continuing development lower priority than the core domain and suggests off-the-shelf solutions or published models for them. The Core Domain page in this group covers the core in more depth.
Subdomains and bounded contexts
A subdomain belongs to the problem, and a bounded context belongs to the design that answers it. Vernon writes that a subdomain is part of a problem space, while a bounded context is both a problem space and a solution space concept. Evans defines a bounded context as a description of a boundary, typically a subsystem or the work of a particular team, within which a particular model is defined and applicable.
The Microsoft guidance links the two by saying that each bounded context contains a domain model that represents a specific subdomain of the larger application. Vernon describes one subdomain aligning one-to-one with a single bounded context as the best modelling situation, and he observes that in a poorly designed system one subdomain tends to cut across two or more physical parts of the system. One-to-one is therefore a design aim, and real systems often fall short of it.
In the wiki's Domain Layer, Model Execution is proposed as a bounded context. The subdomain it serves is the running of an agreed model to produce results, and the bounded context is the boundary within which terms such as base case and model run are meant to carry one agreed meaning.
Finding subdomains in modelling and appraisal work
Subdomains are found by studying the work with the people who do it. The Microsoft guidance suggests mapping all the business functions and the connections among them with domain experts, then looking for functions that are closely related, functions that are key to the business set against those that provide supporting services, and the dependency graph between functions.
Health economics already has decompositions of modelling work that can serve as a starting point, even though they were not written in DDD terms. Alarid-Escudero and colleagues, drawing on the work of the DARTH workgroup, divide a decision analysis into five components, namely model inputs, decision model implementation, model calibration, model validation and analysis, with the first four forming the model development phase. They describe these components as common across cost-effectiveness analyses and HTA submissions, regardless of the type of mathematical model used. Each component has a distinct job, which makes each a candidate subdomain of a modelling team's work.
Work also crosses between organisations. The NICE manual for technology appraisal (PMG36), in section 5.5.15, says that NICE accepts fully executable economic models in standard software, which it lists as Excel, DATA/TreeAge, R and WinBUGS, and that a company submitting a fully executable model must give NICE full access to the programming code. The executable model therefore passes from a company's modelling work into an agency's appraisal work. In DDD terms each organisation has its own subdomains and bounded contexts, and the handover between those bounded contexts is a matter for the context map, which is covered on its own page in this group.
Worked example with two illustrative organisations
This example is illustrative. Two organisations look at the same set of tasks around a single reimbursement submission. One is a consultancy that builds cost-effectiveness analysis models for manufacturers. The other is an HTA agency that appraises submitted models and issues recommendations.
| Area of work | Consultancy | HTA agency |
|---|---|---|
| Building and running the decision model | Core | Supporting (checks and reruns the company model) |
| Synthesising evidence for model inputs | Supporting | Supporting |
| Appraising evidence and issuing a recommendation | Outside its domain | Core |
| Submission and clarification correspondence | Supporting | Supporting |
| Random number generation and matrix routines | Generic | Generic |
| User accounts and document storage | Generic | Generic |
The consultancy's distinctive value is a well-built model, so building and running it is core and attracts its most experienced modellers. For the agency, the same model is an input to its own core task of appraisal, and its work on the model is checking and rerunning it. A public HTA agency does not compete for business, so its core is read through Evans's Generic Subdomains pattern, which sets apart the parts that are not the motivation for a project, and appraisal is the motivation for the agency's work.
The example shows that a subdomain's class follows from the purpose of the organisation doing the work, and the topic alone does not settle it. Work on the decision model is core in one column and supporting in the other, although the model is the same. Generic parts are generic for both, since neither gains anything distinctive by writing its own login system.
What the classification is used for
Classifying subdomains is a decision about where specialist effort goes. Evans asks for top talent to be applied to the core domain and for generic subdomains to receive lower priority, with off-the-shelf solutions or published models considered for them. For a modelling team this means writing and documenting its own model logic with care, and relying on established, tested routines for random numbers and statistical distributions instead of writing new ones.
The classification does not lower the standard that results must meet. Every part of a model that affects its results, whether core, supporting or generic, still needs model validation and technical verification, because an error in a generic routine can move a cost-effectiveness result just as an error in the core logic can. Labelling a part generic is a decision to give it lower priority, often by reusing an existing solution, and that solution still needs checking.
For the wiki's Domain Layer, subdomains are the first step in deciding where a bounded context and a domain model are worth writing. A part classed as generic, such as user management, needs no health economics language of its own.
Limits and common misreadings
A subdomain is often confused with a bounded context. The subdomain names a part of the problem, and the bounded context draws the boundary within which one model and its language apply, and the two can differ in number and in shape. A subdomain is not a folder, a team or a page category either, although teams and code are often organised around one.
The classification is relative and can change. Vernon notes that the parts an enterprise expects to be core may not be the core at all, and a consultancy that starts selling a modelling platform instead of bespoke models has a new core.
Subdomains in this sense do not settle how models, agencies and data sources exchange information. Evans's Published Language pattern calls for a well-documented shared language between bounded contexts and notes that many industries establish such languages as data interchange standards, but DDD leaves the building of that language to other work. Shared data formats, an ontology and work on digital interoperability therefore remain separate tasks.
Sources
- Alarid-Escudero F, Krijkamp EM, Pechlivanoglou P, et al. A need for change! A coding framework for improving transparency in decision modeling. PharmacoEconomics. 2019;37(11):1329-1339. https://doi.org/10.1007/s40273-019-00837-x
- Evans E. Domain-Driven Design Reference: Definitions and Pattern Summaries. Domain Language, Inc.; 2015. Creative Commons Attribution 4.0. https://www.domainlanguage.com/wp-content/uploads/2016/05/DDD_Reference_2015-03.pdf
- Microsoft. Use domain analysis to model microservices. Azure Architecture Center. Last updated 25 February 2026. https://learn.microsoft.com/en-us/azure/architecture/microservices/model/domain-analysis
- National Institute for Health and Care Excellence. NICE technology appraisal and highly specialised technologies guidance: the manual (PMG36). Published 31 January 2022, last updated 13 October 2026. Chapter 5, Developing the guidance, section 5.5.15. https://www.nice.org.uk/process/pmg36/chapter/developing-the-guidance-2
- Vernon V. Domain-Driven Design Distilled. Addison-Wesley; 2016. Contents and index, publisher sample pages. https://www.ciscopress.com/content/images/9780134434421/samplepages/9780134434421.pdf
- Vernon V. Agreement? Never! Not a problem. Kalele blog. 27 November 2017. https://kalele.io/agreement-never-not-a-problem/
Related Concepts (1)
Library
Publications
4
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.
Domain-Driven Design Distilled — Vernon V, 2016 (Addison-Wesley)
Book or book chapter listed in the Sources of the HealthEconomics.wiki Concept Architecture articles on Subdomain (Domain-Driven Design), Core Domain, Bounded Context, Context Map, Strategic Design, Domain Expert, Shared Kernel, Open Host Service, Ubiquitous Language and Anticorruption Layer, where it is cited as a reference for these concepts.
BookView source →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.
Web (Open Access)View source →Agreement? Never! Not a problem — Vernon V, 2017 (Kalele blog)
Source listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Subdomain (Domain-Driven Design), where it is cited as a reference for that concept.
Web (Open Access)View source →
Frequently Asked Questions (6)
What is Subdomain?
A subdomain in Domain-Driven Design is one distinct part of the work a system serves, such as running models or costing within health economic modelling.
Source: Vernon 2017
Where does the term subdomain in Domain-Driven Design come from?
Subdomain in this sense is a software design word and is new to health economics, and none of the health economics guidance or methods papers read for the wiki's page on the term uses it in the Domain-Driven Design sense. Eric Evans's free 2015 Domain-Driven Design Reference defines a domain as a sphere of knowledge, influence or activity, yet gives subdomain no definition of its own. The word appears in his Generic Subdomains pattern, which asks a team to identify cohesive subdomains that are not the motivation for the project. His Abstract Core pattern also speaks of modules defined by subdomain.
Source: Evans 2015
How does a subdomain in Domain-Driven Design differ from the wiki's nine subdomains?
HealthEconomics.wiki arranges health economics into nine subdomains, such as Costs and Economic Modelling, which divide a body of knowledge by topic for reading and teaching. A subdomain in Domain-Driven Design divides the work that one organisation or one software system carries out instead, and Vaughn Vernon describes it as a sub-part of a whole problem space domain that on its own delivers a portion of the overall system solution. The two do not line up. The wiki's Economic Modelling subdomain holds knowledge used in distinct pieces of work, such as building a model and running it, and each of those could be a separate DDD subdomain for a modelling team.
Source: Vernon 2017
What are core, supporting and generic subdomains in Domain-Driven Design?
Microsoft's architecture guidance on domain analysis states that Domain-Driven Design classifies subdomains into three categories, which helps prioritise where design effort is invested. Core subdomains provide a competitive advantage and need detailed modelling and substantial team investment, supporting subdomains keep the business operational and still need custom development, and generic subdomains represent problems the industry has already solved. In an illustrative modelling team, the decision model's structure would be core, assembling unit costs in one price year would be supporting, and random number generation would be generic. A second illustrative example makes work on the same model core for a consultancy and supporting for an HTA agency, since the class follows from the organisation's purpose.
Source: Microsoft 2026
How does a subdomain in Domain-Driven Design relate to a bounded context?
Vaughn Vernon places a subdomain in the problem space, while a bounded context is both a problem space and a solution space concept. He describes a bounded context as a strong boundary around a single domain model, within which each part of the model's language is specific and fitting. Vernon regards one subdomain aligning one-to-one with a single bounded context as the best modelling situation, and he observes that in a poorly designed system one subdomain tends to cut across two or more physical parts. In the wiki's Domain Layer, running an agreed model to produce results is the subdomain served by the proposed Model Execution bounded context.
Source: Vernon 2017
How can a modelling team identify a subdomain in Domain-Driven Design within its own work?
Subdomains are found by studying the work with the people who do it, before any software boundary is drawn. Health economics already has decompositions of modelling work that can serve as a starting point, although they were not written in Domain-Driven Design terms. Alarid-Escudero and colleagues, drawing on the work of the DARTH workgroup, divide a decision analysis into five components, from model inputs through implementation, calibration and validation to analysis, and describe these components as common across cost-effectiveness analyses and HTA submissions. Each component has a distinct job, which makes each a candidate subdomain of a modelling team's work.
Source: Alarid-Escudero et al. 2019
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-112
Stable URI · Machine-readable · Resolvable · CC BY 4.0
