Concept Architecture
Published Language for Health Economic Models and Data
In Domain-Driven Design (DDD), a published language is the agreed, written-down form in which information crosses from one bounded context to another, so that neither side has to read the other's internal model. The sending context translates its own terms into the published language, and the receiving context translates out of it into its own. Health economic work has many such crossings, as when a modelling team hands results to those who report or appraise them, or when a data owner supplies patient-level data to a modeller. The wiki's Domain Layer, a section of the wiki that applies DDD to health economics, names the pattern as a candidate for the form in which a Result Set leaves its Model Execution context.
Origin of the term and who uses it
Published Language is a term from software design, and it is new to health economics. Eric Evans named 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, directly after open host service, and a later transformations section carries a heading that joins the two pattern names. His free reference booklet of 2015 files it under context mapping for strategic design.
Vaughn Vernon's Implementing Domain-Driven Design (2013) lists it among the integration relationships drawn on a context map, and his index links it to XML and JSON. Microsoft's architecture guidance for microservices describes an upstream context exposing a well-defined interface described in a shared format, the published language, which downstream contexts consume. 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.
Why contexts need a separate language for exchange
Evans starts from the point that translation between the models of two bounded contexts requires a common language. Direct translation to and from the existing domain models may not be a good solution, because such models may be overly complex or poorly factored and are probably undocumented. He adds a second cost. A model used as a data interchange language in effect becomes frozen and cannot respond to new development needs, on the wiki's reading because any change would break its readers.
His remedy is a well-documented shared language that can express the necessary domain information, used as a common medium of communication, with each side translating into and out of it as necessary. Each context therefore keeps its own domain model and its own ubiquitous language, and only the published language has to stay stable. The language may come from outside the project, since many industries establish published languages as data interchange standards, or from inside, since project teams also develop their own for use within their organisation.
In the wiki's own illustration, a reporting script that reads results from fixed cells of a cost-effectiveness workbook turns the workbook's layout into the exchange format, so the modelling team cannot move a sheet without breaking the script. A results file with documented fields would let the workbook change while the file stays the same.
Published language beside an open host service
Evans notes that a published language is often combined with an open host service, in which a context offers a protocol that all who need to integrate with it can use. The two settle different questions. The open host service fixes how other contexts gain access, for example through a set of service calls, while the published language fixes what the exchanged information means and how it is laid out. Evans's own description does not tie the language to a service, so a documented results file passed between teams can also fill the role.
Smith and colleagues give a health economic case without using DDD terms. In their living HTA pipeline a consultant's economic model is sent to an application programming interface (API) hosted by the data owner, run on the data owner's server, and its results returned for an automated report. Information passes to and from the API in JavaScript Object Notation (JSON), a data interchange format, and the authors argue that APIs ensure inputs and outputs are standardised so that applications can talk to one another. Their model function returns six columns, costs for each of three treatment options followed by their QALYs, with each row the result of one model run for a set of inputs. On the wiki's reading, the documented layout of those columns is closer to a published language than JSON itself, which carries no domain meaning.
Health data standards as published languages
Health care already has shared data standards that can play the part Evans describes. HL7 presents FHIR (Fast Healthcare Interoperability Resources) as a standard for exchanging healthcare information electronically, built from modular components called resources. The OHDSI community's Book of OHDSI explains that observational data from registries, electronic health records and claims each have their own formatting, and that the Common Data Model provides a common data standard into which they are harmonised, so that research methods can be applied systematically and give comparable results.
Neither source uses DDD terms. In the wiki's view, a modeller who receives data in such a standard needs one translation into the model's own terms, whatever system the data came from, while model results may still need a documented format agreed within the team, the second kind of published language Evans names.
Worked example with a Result Set leaving Model Execution
This example is illustrative, and the identifiers and figures are invented. The Domain Layer plans that a Result Set leaving Model Execution identifies the model run, the model version and the parameter set used. A three-state Markov cohort model with the states Well, Sick and Dead compares standard care with a new treatment. Inside Model Execution the analyst follows the naming convention of Alarid-Escudero and colleagues, in which the prefix v marks a vector and c a cost, so the total costs of a run sit in a vector named v_c_total. Such names suit the modelling team but mean little outside it, so the run is translated into a documented results language before it leaves.
| Field in the results language | Meaning | Standard care | New treatment |
|---|---|---|---|
| run_id | Identifier of the model run | run-0001 | run-0001 |
| model_version | Release of the model that produced the run | 1.2.0 | 1.2.0 |
| parameter_set | Identifier of the named input set used | base-2026 | base-2026 |
| price_year | Year in which all costs are valued | 2025 | 2025 |
| total_cost_gbp | Discounted cost per person in GBP | 24,000 | 30,000 |
| total_qalys | Discounted QALYs per person | 10.00 | 10.40 |
The HTA Appraisal context reads the record and translates it into its own terms of incremental cost, incremental QALYs and the ICER.
where and are the total costs per person of the new treatment and of standard care, and and are the total QALYs per person for the same two options.
where 6000 is the incremental cost in GBP and 0.40 is the incremental gain in QALYs, giving an ICER of GBP 15,000 per QALY gained.
If the modelling team later renames v_c_total or moves the cost calculation into a separate function, the record is unchanged and the appraisal side recomputes the same GBP 15,000 per QALY. If a rerun with a corrected input set, base-2026b, gives a different ICER, the parameter_set field lets the appraisal side tell the two runs apart. The language has to define parameter_set as the named input set and not one probabilistic draw, since the wiki's Context Map page notes that the same name is used in both senses. The NICE manual (PMG36), at section 5.5.15, asks a company submitting a fully executable model to ensure that the submitted versions of the model and the written content of the evidence submission match, and a record that carries its model version makes that match easier to check.
Each draw of a probabilistic sensitivity analysis can appear as one more record with the same fields and its own run_id, as each row in Smith and colleagues' example is one model run, so a value of information analysis in another context can estimate the expected value of perfect information from the draws without opening the model. A partial analysis for particular parameters would also need each draw's sampled input values, carried in the record or linked to it by run_id. A later change to the language itself, such as a new field for life years, affects every reader, so on the wiki's view it should be versioned like a model release.
How a published language differs from nearby ideas
Several patterns on a context map deal with the same boundary in different ways. A ubiquitous language is the shared vocabulary inside one bounded context, used by its team in speech and in code, whereas a published language sits between contexts and leaves each one's ubiquitous language intact. In a shared kernel, by contrast, two teams share an explicitly bounded subset of the domain model itself, which should not be changed without consultation. A published language shares no part of either model, only a documented language for what is exchanged. A conformist downstream team adheres to the upstream model and so avoids translation, whereas a published language accepts translation so that each side can keep its own model.
An ontology or a health data standard can supply the vocabulary of a published language, as FHIR resources do for health care information, but DDD does not create such standards. Digital interoperability between organisations rests on standards agreed outside any single project, and the pattern's contribution is to place such a standard, or a documented local format, at the boundary between two contexts. Whether one shared language costs less than separate translations for each pair of contexts depends on the shape of the whole network, a question worked through on the strategic design page.
Where published languages go wrong in health economic work
DDD is software design practice, and its use in health economics is at an early stage. No source read for this page evaluates published languages in health economic modelling, so the four misreadings listed are the wiki's assessment rather than findings from a study.
- Mistaking a file format for a language. JSON or CSV supply syntax only. Evans asks for a well-documented language that can express the necessary domain information, so field meanings, units, price year and discounting status have to be written down, or a receiving context may read a discounted total as undiscounted.
- Exporting the model's internals. Publishing a model's own variable names or cell layout as the exchange format recreates the frozen interchange model that Evans warns against.
- Expecting the language to make results comparable. A shared results format can record which methods a run used but does not align them, and two models reporting in the same fields can still differ in perspective or time horizon.
- Building a full standard for a one-off exchange. Evans makes the point when introducing open host service that where integration is one-off, a translation layer for each external system avoids corruption of the models at minimum cost. On the wiki's reading a formally governed exchange standard pays off mainly when several contexts or outside parties read the same information, while a single exchange still gains from documented field meanings.
Sources
- Alarid-Escudero F, Krijkamp E, Pechlivanoglou P, Jalal H, Kao SYZ, Yang A, Enns EA. 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: 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
- HL7 International. FHIR Overview and Introducing HL7 FHIR. FHIR Release 5 (v5.0.0); 2023. https://hl7.org/fhir/overview.html and https://hl7.org/fhir/summary.html
- Microsoft. Use domain analysis to model microservices. Azure Architecture Center; 23 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. Section 5.5.15. https://www.nice.org.uk/process/pmg36
- Observational Health Data Sciences and Informatics. The Book of OHDSI. Chapter 4, The Common Data Model. OHDSI; 2021. https://ohdsi.github.io/TheBookOfOhdsi/CommonDataModel.html
- 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 (guide to the book, contents and index). https://www.ciscopress.com/content/images/9780321834577/samplepages/0321834577.pdf
Related Concepts (2)
Library
Publications
4
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.
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 →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 Published Language?
A published language in Domain-Driven Design is a documented shared language for exchanging information between contexts, such as model results for HTA.
Source: Evans 2015
Where does the term Published Language come from?
Published Language is a term from software design and is new to health economics. Eric Evans named it in his 2003 book on Domain-Driven Design, and his 2015 reference booklet files it under context mapping for strategic design, beside patterns such as open host service and anticorruption layer. Evans asks for a well-documented shared language that can express the necessary domain information, with each side translating into and out of it. No health economics source read for the wiki's page uses the expression, so its application to modelling is the wiki's own.
Source: Evans 2015
How does Published Language differ from a ubiquitous language in Domain-Driven Design?
A ubiquitous language is the vocabulary used inside one bounded context, shared by its team in speech, writing and code. Published Language works between contexts, as a documented common medium into which one context translates its information and out of which another translates it into its own terms. Each context therefore keeps its own ubiquitous language and its own model. In health economic work, a modelling team could keep its internal variable names while publishing results in documented fields that an appraisal team reads.
Source: Evans 2015
How does Published Language relate to an open host service?
Eric Evans notes that Published Language is often combined with an open host service, in which a context offers one protocol that every other context needing to integrate with it can use. Microsoft's architecture guidance describes the pairing as an upstream context exposing a well-defined interface, the open host service, described in a shared format, the published language. The service settles how other contexts gain access, while the language settles what the exchanged information means and how it is laid out. A documented results file passed between two teams can also fill the language's role without any service.
Source: Microsoft 2026
Can a health data standard such as the OMOP Common Data Model act as a Published Language?
Evans notes that many industries establish published languages as data interchange standards, and health care has shared data standards that can play that part. The Book of OHDSI explains that registry data, electronic health records and claims each have their own formatting, and that the Common Data Model provides a common data standard into which they are harmonised so that research methods can be applied systematically. OHDSI does not use Domain-Driven Design terms, but on the wiki's reading the standard can act as a Published Language for observational data. A modeller receiving data in it then needs one translation into the model's own terms.
Source: OHDSI 2021
What are common mistakes when using Published Language in health economic modelling?
One mistake is to treat a file format such as JSON or CSV as a Published Language, when Evans asks for a well-documented language that can express the necessary domain information, so field meanings, units, price year and discounting status must be written down. Another is to publish a model's own variable names or cell layout, which Evans warns makes the model a frozen interchange language that cannot respond to new development needs. A third is to expect a shared format to make two models comparable, since it can record their methods without aligning them.
Source: Evans 2015
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 17 Nov 2026
Content version: 1.0.1
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/published-language
- Term code
- HS-HP-DH-125
Stable URI · Machine-readable · Resolvable · CC BY 4.0
