Concept Architecture
Open Host Service for Shared Model and Data Access
In Domain-Driven Design (DDD), an open host service describes the provider's side of an integration that many other teams need. Instead of writing a separate translator for every system that calls it, the team that owns a bounded context offers one set of services that any client may use, and handles one team's idiosyncratic needs with one-off translators so that the shared protocol stays simple. Health economic work has providers of this kind, such as a hosted model that several analysts run with their own inputs, or a data owner's interface that runs partners' models where the data are kept. On the wiki's context maps the label marks which context offers the shared protocol and therefore sits upstream of its clients.
Origin of the term and who uses it
Open host service is a term from software design, and it is new to health economics. Eric Evans named it in Domain-Driven Design (2003), where the publisher's contents list places it with published language in chapter 14 on maintaining model integrity, and a later transformations section carries a heading that joins the two pattern names. His free reference booklet of 2015 spells it Open-host Service and files it under context mapping for strategic design.
Vaughn Vernon's Implementing Domain-Driven Design (2013) lists Open Host Service among the integration relationships on context maps, and the index of his 2016 book points to open host services built with RESTful HTTP and with remote procedure calls over SOAP. Microsoft's guidance on domain analysis for microservices pairs it with a published language, the upstream context exposing a well-defined API described in a shared format. The wiki label follows Vernon and Microsoft. None of the health economics sources read for this page, including the NICE manual PMG36, uses the expression.
The integration problem Evans set out to solve
Evans starts from ordinary practice. Each bounded context usually defines a translation layer for each outside component it integrates with, and where integration is one-off this protects the models at minimum cost. The trouble begins when a subsystem is in high demand, since customising a translator for every caller can bog the team down with ever more to maintain.
In his remedy, the team defines a protocol that gives access to its subsystem as a set of services and opens it so that all who need to integrate can use it. The protocol is then enhanced and expanded for new integration requirements, except when a single team has idiosyncratic needs. Those needs are met by a one-off translator that augments the protocol for that case, so that the shared protocol can stay simple and coherent.
Upstream position and the clients' choices
Evans states that the pattern places the provider of the service in the upstream position and makes each client downstream. In his river image, upstream actions affect the success of those downstream, while downstream actions do not significantly affect the upstream group. He adds that some clients will typically be conformist, adopting the provider's model as given, while others build an anticorruption layer that translates the service into their own model. A context with an open host service might have any sort of relationship to contexts other than its clients.
Tool makers have had to decide how strictly to read this. The Context Mapper modelling language accepts open host service only on the upstream side of a relationship and refuses it inside a customer and supplier relationship, reasoning that a provider taking a one for all approach is unlikely to plan closely with every client. Its documentation says that these rules record how its authors read the patterns, since the literature is somewhat ambiguous. In Evans's reference, customer and supplier development means that downstream priorities factor into upstream planning, a different bargain from one open protocol for everyone.
Open host service and published language
Evans writes that published language is often combined with open-host service. The two answer different questions. The open host service says that one protocol serves all clients and who keeps it, while a published language is the well-documented shared language in which the exchanged domain information is expressed. Evans warns that an existing domain model used as the interchange language becomes frozen and cannot respond to new development needs.
A run service for a health economic model could exchange messages in a general format such as JSON, but clients still need a documented account of what each field means, for example whether a cost total is discounted and which model version produced it. On the wiki's reading, that documented account is the published language, and the service that accepts it is the open host service.
Illustrative open host service for a three-state Markov model
The example below is illustrative and untested in practice. A Model Execution team maintains a three-state Markov cohort model with the states Well, Sick and Dead. Each call to its service sends a model version and a parameter set and receives a result set, and the curators' Domain Layer briefing gives the example of a result set that leaves Model Execution identifying the model version and parameter set used. Five clients want runs, as listed in the table.
| Client | What it sends or needs | Likely stance towards the service |
|---|---|---|
| An appraisal team rerunning analyses under alternative assumptions | Single parameter sets and result sets | Anticorruption layer, translating results into its own appraisal terms |
| A probabilistic sensitivity analysis workflow | Many sampled parameter sets in one batch | Conformist |
| A value of information analysis team | Stored result sets from the probabilistic runs, with the sampled parameter sets they identify | Conformist |
| A web front end for exploring scenarios | One parameter set at a time | Conformist |
| A partner whose legacy workbook expects per-cycle results in its own column layout | The cohort trace by cycle | Served through a one-off translator |
Without the pattern, the Model Execution team writes and maintains one translator per client, five in all. With an open host service it maintains one protocol plus one one-off translator for the fifth client, two pieces in all. If the result set later gains a field, such as undiscounted totals beside the discounted ones, the provider changes the protocol once and each client decides whether to read the new field.
Requests are checked against the context's own rules, which sit in Model Execution's domain model and not in the protocol. Suppose a client sends a transition matrix whose Well row holds 0.85, 0.10 and 0.04. The row sums to 0.99, so the service refuses the run with the message that row 1 (Well) of the transition matrix sums to 0.990000, not 1. The curators plan Rules and Invariants records for Model Execution, including the rule that each row of the transition matrix sums to 1 within 0.000001, and versioned component pages that refer to them. These are planned and not yet live. Because the rule lives in Model Execution, every client meets the same check, and the open protocol documents it once for all of them.
Where a health economics source comes close
Smith and colleagues describe a pipeline for living HTA in which a data owner, for example a pharmaceutical company holding interim patient-level trial data, hosts an application programming interface on its own server. The consultant builds the model using pseudo data, and an automated workflow sends the model to the data owner's interface, where it runs before the results come back with a generated report. The authors write that this lets data owners collaborate with multiple partners on health economic decision models while keeping full control of their data. They add that standardised inputs and outputs let users from one institution focus on how they would interact with the expected data, without taking account of the software their partners use.
The paper does not use DDD terms. One interface offered to several partners resembles Evans's open host service, and the documented content of its JSON messages would be the published language beside it, yet only a study of such arrangements could settle the label.
How an open host service differs from nearby ideas
Several neighbouring ideas share vocabulary with the pattern but sit at a different level. An application programming interface is the mechanism, a defined set of requests and responses. An open host service is a decision recorded on a context map about who adapts to whom, in which one provider keeps a single protocol for every client and accepts the upstream position. An anticorruption layer and a conformist stance are the usual downstream answers to it. The pattern also differs from digital interoperability across a health system, since it covers one provider and its clients and creates no meanings shared across a sector. In Evans's wording the protocol is opened so that all who need to integrate can use it, which says nothing about the code, so an open host service need not be an open-source model and may keep its model code private.
In a NICE appraisal, a hosted run service would sit beside the submitted model, not replace it. Section 5.5.15 of the NICE manual PMG36 states that when a company submits a fully executable model, it must give NICE full access to the programming code, and section 5.5.16 has NICE offer the model in its executable form to stakeholders during technical engagement or consultation. A service that returns results while keeping its code out of sight would not meet the 5.5.15 requirement on its own, nor give NICE an executable model to offer stakeholders under 5.5.16, which bears on model transparency.
Misreadings and limits in health economic use
DDD is software design practice, and its use in health economics is at an early stage. Four misreadings are likely when the pattern is carried across.
- Calling every API an open host service. The label applies when one protocol is deliberately opened to all clients and maintained as such. A private link to one partner is a one-off integration.
- Growing the protocol for every request. Evans keeps idiosyncratic needs out of the shared protocol and handles them with one-off translators, so a service that absorbs every client's special case loses the simplicity that justified it.
- Treating a hosted model as checked. A service fixes how results are requested, while technical verification decides whether they are right. The TECH-VER checklist counts checks on a model's interface, such as its switches and buttons, among its overall validation tests, and a hosted model with unreadable code is harder to verify.
- Assuming the pattern is current practice. Smith and colleagues note that their method is relatively complex, that the bulk of the industry still operates in Excel, and that concerns about data security are likely to remain even with authentication. No source read for this page shows a modelling group or HTA body using the DDD pattern by name.
Sources
- Büyükkaramikli NC, Rutten-van Mölken MPMH, Severens JL, Al M. TECH-VER: a verification checklist to reduce errors in models and improve their credibility. PharmacoEconomics. 2019;37(11):1391-1408. https://doi.org/10.1007/s40273-019-00844-y
- Context Mapper contributors. Open Host Service; Language Semantics. Context Mapper documentation; accessed 17 November 2026. https://contextmapper.org/docs/open-host-service/ and https://contextmapper.org/docs/language-model/
- 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
- 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. Sections 5.5.15 and 5.5.16. 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, guide 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 (3)
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 →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 →
Tools & Resources
1
Open Host Service; Language Semantics — Context Mapper contributors, Web page, accessed 17 November 2026 ed. (Context Mapper documentation)
Source listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Open Host Service, where it is cited as a reference for that concept.
Web (Open Access)View source →
Frequently Asked Questions (6)
What is Open Host Service?
An open host service is a Domain-Driven Design pattern in which a context opens one protocol to all its clients, such as a shared model-run service.
Source: Evans 2015
Where does the term Open Host Service come from?
Open Host Service is a term from software design and is new to health economics. Eric Evans introduced it in his 2003 book on Domain-Driven Design and summarised it in his 2015 reference, which spells it Open-host Service and files it among the context mapping patterns for strategic design. In that summary the pattern serves a team whose subsystem must integrate with many others. Evans places the provider of the service upstream and each of its clients downstream, where some conform to it and some build anticorruption layers.
Source: Evans 2015
Why would a team use an Open Host Service rather than a translator for each client?
Eric Evans notes that a translation layer for each outside system protects the models at minimum cost when integration is one-off. When a subsystem is in high demand, customising a translator for every caller can bog the team down with ever more to maintain. An Open Host Service instead defines one protocol of services, opens it to all who need to integrate and expands it for new requirements. A single team with idiosyncratic needs is served by a one-off translator, so the shared protocol stays simple and coherent.
Source: Evans 2015
How does an Open Host Service relate to a published language?
Microsoft's architecture guidance describes the two as a pair, in which the upstream context exposes a well-defined API as an Open Host Service and describes it in a shared format, the published language, that downstream contexts consume. The Open Host Service settles that one protocol serves every client and who maintains it, while the published language covers what the exchanged information means. For a health economic model run service, that would include whether a cost total is discounted and which model version produced it.
Source: Microsoft 2026
Has anything like an Open Host Service been used in health economic modelling?
Smith and colleagues describe a living HTA pipeline in which a data owner, such as a pharmaceutical company holding patient-level trial data, hosts an application programming interface on its own server. A consultant's workflow sends the model to that interface, the model runs where the data are kept and the results return with a generated report. The authors say this lets data owners work with multiple partners while keeping full control of their data. The paper does not use Domain-Driven Design terms, so calling it an Open Host Service is the wiki's interpretation.
Source: Smith et al. 2022
Could an Open Host Service replace the executable model submitted to NICE?
Section 5.5.15 of the NICE manual PMG36 states that a company submitting a fully executable model must give NICE full access to the programming code. Section 5.5.16 adds that NICE offers the model in its executable form to stakeholders during technical engagement or consultation. A hosted service that returns results while keeping its code out of view could not give that access on its own, so in a NICE appraisal it would sit beside the submitted model, not stand in for it.
Source: NICE PMG36 (2022, updated 2026)
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/open-host-service
- Term code
- HS-HP-DH-129
Stable URI · Machine-readable · Resolvable · CC BY 4.0
