Concept Architecture
Context Map for Health Economic Models and Appraisal
In Domain-Driven Design (DDD), a context map shows which bounded contexts are in play on a project and how each one meets the others. It records what crosses each boundary and where words need translating because the two sides use them differently. Health economic work depends on such joins, since a model built by one team is often appraised by an agency that works in its own process language. The wiki's Domain Layer uses context maps to show how contexts such as Model Execution and HTA Appraisal rely on each other while each keeps its own vocabulary. That Domain Layer is a section of the wiki applying DDD to health economics and is separate from the layer of software code that Evans's Layered Architecture pattern sets aside for the domain model.
Origin of the term and who uses it
Context Map is a term from software design, and it is new to health economics. Eric Evans introduced it in Domain-Driven Design, published on 20 August 2003, where the publisher's contents list places it in the chapter on maintaining model integrity, after bounded context. His free reference booklet of 2015 files the context map under context mapping for strategic design and marks two relationship patterns, partnership and big ball of mud, as terms added to the pattern set since the book, crediting big ball of mud to the original article by Brian Foote and Joseph Yoder.
Vaughn Vernon gives chapter 3 of Implementing Domain-Driven Design (2013) to context maps, and his preface says the technique is not limited to drawing a diagram of system architecture. In his shorter book of 2016 he writes that context maps define both team relationships and technical mechanisms between two integrating bounded contexts. Martin Fowler notes that it is usually worthwhile to depict the relationships between bounded contexts with a context map. The wiki label matches the term these sources use, and none of the health economics sources read for this page, including the NICE manual PMG36, uses the expression.
What a context map records
Evans starts from a gap that a single bounded context leaves open. Without a wider view, people on other teams unknowingly make changes that blur the boundaries, and where contexts must connect they tend to bleed into each other. His remedy has four parts.
- Identify each model in play and define its bounded context, including the implicit models of subsystems that were not built in an object-oriented way.
- Name each bounded context and make the names part of the ubiquitous language.
- Describe the points of contact between the models, outlining explicit translation for any communication and highlighting any sharing, isolation mechanisms and levels of influence.
- Map the existing terrain first and take up transformations later.
On the wiki's reading, the first part takes in the spreadsheet workbooks and analysis scripts common in health economics, each of which carries an implicit model of its concepts and rules that may live only in the workbook or code. The fourth part decides how a map is used. It describes how contexts relate now, including one-sided or awkward relations, and Evans calls the result a basis for realistic design strategy.
Direction of influence and the relationship patterns
Evans describes influence with a river image. In an upstream and downstream relationship the upstream group's actions affect the downstream group's success while the downstream group's actions do not significantly affect the upstream group, as one city's pollution affects the city below it on the same river. He also names mutually dependent contexts, which must both be delivered for either to succeed, and free contexts, little affected by work elsewhere.
On top of these he catalogues relationship patterns. The health economic readings in the table are the wiki's illustrative interpretation and are untested in practice.
| Pattern | Gist in Evans's reference | Illustrative health economic reading |
|---|---|---|
| Partnership | Teams that succeed or fail together plan and integrate jointly | Modelling and evidence synthesis teams preparing one submission |
| Shared Kernel | A small, explicitly bounded shared part of the model, changed only after consultation | Health state definitions shared by two models of one disease |
| Customer/Supplier Development | Downstream priorities factor into upstream planning | An evidence synthesis group supplying effects in the form modellers asked for |
| Conformist | The downstream team adheres to the upstream model for simpler integration | A company adopting an agency's required terms and templates |
| Anticorruption Layer | A downstream isolating layer translates the upstream system into its own model | A costing context converting hospital activity records into its own unit cost terms |
| Open-host Service | One open protocol for all clients, with one-off translators for special needs | A data owner's interface called by several modelling partners |
| Published Language | A documented shared language carries the translation, such as an industry data interchange standard or a team's own format | A documented results format agreed between modelling and reporting |
| Separate Ways | Contexts with no significant relationship are cut loose | A trial recruitment system and a cost-effectiveness model |
| Big Ball of Mud | A boundary round a mixed, inconsistent system, with no sophisticated modelling inside | A long-lived workbook merging several analysts' versions of one model |
Evans adds that clients of an open-host service are downstream, some conforming and some building anticorruption layers, and that for one-off integration a translation layer for each external system protects the models at minimum cost. On the wiki's maps, a link whose nature is still unclear is recorded as a dependency with its pattern left open.
A candidate map for model execution and appraisal
The Domain Layer's first working example is a Model Execution context, which turns a specified model and a set of inputs into results. Its working-language list also tags expressions to four neighbouring contexts, giving five candidates. The contexts and the reading of each contact are the wiki's own and need checking with practitioners.
- Model Specification to Model Execution. The structure and assumptions of the health economic model are fixed upstream, and execution runs what was specified.
- Evidence Synthesis to Model Execution. Evidence synthesis supplies treatment effects and other inputs, and it sits upstream of execution in Evans's sense when changes to those inputs affect execution while execution does not significantly affect the synthesis.
- Model Execution to Model Validation. Code and results pass to model validation for testing against expert review, other models and observed data.
- Model Execution and HTA Appraisal. Under section 5.5.15 of the NICE manual, a company submitting a fully executable model must give NICE full access to the programming code and should ensure that the submitted model and the written evidence submission match. Influence in Evans's sense also comes from the appraisal side, so the direction in which the model travels does not by itself make execution upstream. For medicines, section 5.6.3 provides for a letter of clarification when the submission is incomplete or the decision problem is not specified appropriately, sent within 21 days of receiving it. The company has 14 days to respond, or 10 working days in a cost-comparison evaluation under section 5.6.4. Section 5.8.53 allows NICE to request an updated economic model, which is a new version on the execution side.
- HTA Appraisal to Model Specification. For medicines, section 5.6.2 has the NICE technical lead and the External Assessment Group (EAG) check the decision problem against the final scope, and table 4.1 takes the comparators from the scope, so the specification inherits both.
The map also marks where translation is needed. In the cohort model tutorial by Alarid-Escudero and colleagues, the probabilistic sensitivity analysis samples 1,000 parameter sets from their distributions, so a parameter set is one probabilistic draw. The wiki's Model Execution working notes record a second use of the same name for a named, versioned set of inputs, so a map that placed the two senses in different contexts would mark the term for translation.
Smith and colleagues describe a living HTA pipeline in which the data owner hosts an application programming interface holding the sensitive data, so that data owners can collaborate with multiple partners while keeping full control of their data. The paper does not use DDD terms, yet one interface offered to several partners is close to Evans's open-host service, though only a study of the arrangement would settle the label.
How a context map differs from nearby ideas
Some familiar diagrams resemble context maps yet describe other things. Vernon's index has an entry stating that context maps are not enterprise architecture diagrams. A state transition diagram or decision tree depicts the disease and treatment logic inside one model, whereas a context map depicts the working contexts around that model and their links.
An ontology aims at formal definitions that people and software share across settings. A context map accepts that contexts mean different things by the same word and records how they translate, in line with Fowler's remark that different contexts may hold completely different models of common concepts with mechanisms to map between them. A context map does not deliver digital interoperability either. It marks where translation is needed and can record where a published language is used, but it does not define the shared formats. Evans notes that many industries establish published languages in the form of data interchange standards.
Where context maps go wrong in health economic work
DDD is software design practice, and its use in health economics is at an early stage. Three misreadings are likely when the idea is carried across.
- Drawing the target design instead of the current terrain. A map of clean interfaces that do not yet exist hides the hand-overs where errors enter, such as a model version changed after the written submission was finalised.
- Treating one agency's process as universal. A map built on the NICE manual describes a NICE appraisal context, and another health technology assessment body needs its own context.
- Reading the map as evidence of model quality. A map shows how contexts connect, while technical verification and validation decide whether results can be trusted. No source read for this page evaluates context maps in health economic modelling, so their value there remains a design judgement to be checked in use.
Sources
- Alarid-Escudero F, Krijkamp E, Enns EA, Yang A, Hunink MGM, Pechlivanoglou P, Jalal H. An introductory tutorial on cohort state-transition models in R using a cost-effectiveness analysis example. Medical Decision Making. 2023;43(1):3-20. https://doi.org/10.1177/0272989X221103163
- Evans E. Domain-Driven Design: Tackling Complexity in the Heart of Software. Boston: Addison-Wesley; 2003. Publisher page and table of contents. https://www.informit.com/store/domain-driven-design-tackling-complexity-in-the-heart-9780321125217
- Evans E. Domain-Driven Design Reference: Definitions and Pattern Summaries. Domain Language, Inc.; 2015. Licensed CC BY 4.0. https://www.domainlanguage.com/wp-content/uploads/2016/05/DDD_Reference_2015-03.pdf
- Fowler M. BoundedContext. martinfowler.com bliki; 15 January 2014. https://martinfowler.com/bliki/BoundedContext.html
- 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. Table 4.1 and sections 5.5.15, 5.6.2, 5.6.3, 5.6.4 and 5.8.53. https://www.nice.org.uk/process/pmg36
- Smith RA, Schneider PP, Mohammed W. Living HTA: automating health economic evaluation with R. Wellcome Open Research. 2022;7:194 (version 2). https://doi.org/10.12688/wellcomeopenres.17933.2
- Vernon V. Implementing Domain-Driven Design. Boston: Addison-Wesley; 2013. Publisher sample (preface, contents and index). https://www.ciscopress.com/content/images/9780321834577/samplepages/0321834577.pdf
- Vernon V. Domain-Driven Design Distilled. Boston: Addison-Wesley; 2016. Publisher sample (chapter 1, contents and index). https://www.ciscopress.com/content/images/9780134434421/samplepages/9780134434421.pdf
Related Concepts (2)
Library
Publications
5
Implementing Domain-Driven Design — Vernon V, 2013 (Addison-Wesley)
Book or book chapter listed in the Sources of the HealthEconomics.wiki Concept Architecture articles on Core Domain, Context Map, Shared Kernel, Entity (Domain-Driven Design), Invariant (Domain-Driven Design), Published Language, Domain Event and Open Host Service, where it is cited as a reference for these concepts.
BookDomain-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 →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.
Web (Open Access)View source →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.
BookView source →
Frequently Asked Questions (6)
What is Context Map?
A context map records the bounded contexts around a piece of work and how they connect, such as a model passing from its modelling team to an HTA body.
Source: Evans 2015
Where does the term Context Map come from?
Context Map comes from software design, where Eric Evans introduced it in his book on Domain-Driven Design. His 2015 reference booklet places it under context mapping for strategic design and describes it as a realistic, large-scale view of model development across a project and the projects it integrates with. The term is new to health economics, and no health economics guidance read for the wiki uses it. The wiki applies it to show how activities such as running a model and appraising a technology depend on each other.
Source: Evans 2015
What does a Context Map record in Domain-Driven Design?
A Context Map starts by identifying each model in play on a project and defining its bounded context, including the implicit models of subsystems that were not built in an object-oriented way. Each bounded context is named, and the names become part of the shared working language. The map then describes the points of contact between the models, with explicit translation for any communication and a note of any sharing, isolation and levels of influence. Evans advises mapping the existing terrain first and taking up transformations later, so the map shows relations as they are.
Source: Evans 2015
What relationship patterns can a Context Map show?
A Context Map describes each connection by the direction of influence and by a named pattern. In an upstream and downstream relationship, the upstream group's actions affect the downstream group's success, while the downstream group's actions do not significantly affect the upstream group. Evans's patterns include partnership, shared kernel, customer and supplier development, conformist, anticorruption layer, open-host service, published language, separate ways and big ball of mud. A conformist team adopts the upstream model to simplify integration, while an anticorruption layer translates the upstream system into the downstream team's own terms.
Source: Evans 2015
How could a Context Map be used for health economic models and HTA appraisal?
A Context Map for submission work could show a Model Execution context handing a model and its results to an HTA Appraisal context. In the NICE manual PMG36, a company submitting a fully executable model must give NICE full access to the code and should ensure that the submitted model matches the written evidence submission. Influence also comes from the appraisal side, since for medicines NICE can send a letter of clarification within 21 days when the submission is incomplete or the decision problem is not specified appropriately, and the company has 14 days to respond, or 10 working days in a cost-comparison evaluation. Recording both directions shows where each new model version and set of runs comes from.
Source: NICE PMG36 (2022, updated 2026)
What are common mistakes when using a Context Map in health economics?
One mistake is to treat a Context Map as an architecture diagram of software components. The index of Vernon's book on implementing Domain-Driven Design has an entry stating that context maps are not enterprise architecture diagrams, and his preface describes the technique as understanding relationships between bounded contexts. A second mistake is to draw the intended design, which hides the hand-overs where errors enter. A third is to treat a map built on one agency's process, such as NICE, as a description of health technology assessment in general.
Source: Vernon 2013
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
- Persistent URI
- https://healtheconomics.wiki/concept/context-map
- Term code
- HS-HP-DH-117
Stable URI · Machine-readable · Resolvable · CC BY 4.0
