openEHR is the required clinical information foundation. Use existing health standards and GovStack-inspired implementation practices to deliver independently replaceable capabilities.
Architecture at a glance
The layers are responsibilities, not a mandatory deployment order. A small service can start with one layer and expand.
Five conceptual layers, with openEHR fixed as the clinical foundation and GovStack reused for shared digital infrastructure. Open the full-size diagram (SVG)Text description of this diagram
Layer 1 covers patient portals, clinician applications, mobile and community health worker tools, accessible public interfaces and offline or assisted channels. Layer 2 covers clinical records, knowledge management, terminology, interoperability, care coordination, referrals, diagnostics, medication and public health reporting. Layer 3 is the openEHR clinical information foundation: archetypes and templates, conforming repositories, AQL, clinical metadata, provenance and versioning. Layer 4 is reusable GovStack infrastructure: identity, consent, registries, information mediation, workflow, messaging, payments, credentials and trust services. Layer 5 is operational infrastructure: hosting, security, observability, backup and recovery, deployment, configuration and synchronisation. A cross-cutting band covers accessibility, privacy and security, clinical safety, sustainability, governance and resilience.
Standards and their responsibilities
Each standard has a job. Using FHIR for exchange does not make it the record, and terminology licensing is separate from software licensing.
Three different jobs: the record, the exchange and the codes. Do not treat them as interchangeable. Open the full-size diagram (SVG)Text description of this diagram
openEHR is the longitudinal, versioned clinical record with archetypes, governed templates, AQL, provenance and history, and is the fixed foundation. FHIR provides profiles and APIs for exchange, external systems and patient access, as a bounded view of the record. A mapping connects openEHR and FHIR but declares loss and carries no round-trip guarantee. Terminology, including SNOMED CT, LOINC, ICD and UCUM, supplies codes and bindings used by both; licensed editions and national extensions apply. FHIR can also persist data, but that does not make it the OCC clinical foundation. Mappings are clinical and technical artefacts, not equivalence claims.
Coexistence with existing systems
Keep what works. Add one bounded capability. Agree who is authoritative before the first exchange.
Legacy systems stay authoritative within an agreed scope while an openEHR service is added alongside. Open the full-size diagram (SVG)Text description of this diagram
An existing EHR keeps its clinical applications, workflows, records and contracts in service. A FHIR boundary carries versioned profiles, declared mapping loss, identity and consent; it must be validated before use. The openEHR foundation holds the longitudinal record, templates, versions, AQL and provenance for a new bounded service, one clinical domain at a time. Authority is agreed per information domain: who may read, who may write, and which system is authoritative. Migration is optional; legacy records remain authoritative within scope until an approved, tested transition, and read-only exchange is a legitimate long-term arrangement. Every change needs validation, reconciliation, fallback and human oversight.
Build on what already exists
Healthcare infrastructure combines specialized clinical services with shared government capabilities. OCC uses existing standards for their intended purposes instead of creating a competing clinical or exchange specification.
Start with the services and systems already in place. For clinical information in OCC, use openEHR as the common foundation. Legacy records remain under their existing stewardship until an approved migration or exchange arrangement is in place. Hosting and storage topology can vary.
Reuse relevant GovStack building blocks and published health standards. Agree the versions, profiles, supported operations and tests needed for the selected service. Contribute missing requirements and improvements to the appropriate upstream communities.
Patient portals, clinician applications, mobile and community health worker tools, accessible public interfaces, offline and assisted channels.
↕
Healthcare-specific services
Clinical record services, knowledge management, terminology, clinical interoperability, care coordination, referrals, diagnostics, medication and public health reporting.
↕
Foundational clinical information
openEHR archetypes and templates, conforming repositories, AQL, clinical metadata, provenance and versioned clinical information.
↕
Reusable digital public infrastructure
Identity, consent, registries, information mediation, workflow, messaging, payments, trust services and credentials, reused from GovStack where suitable.
↕
Operational infrastructure
Hosting, security, observability, backup and recovery, deployment automation, configuration and offline synchronisation.
Illustrative view of the capabilities OCC brings together. The groups are not a mandatory deployment order or a new technical standard.
Clinically led design
Clinical leadership is not a communications workstream. It determines which data exists, what it means and whether it is safe to reuse.
If the data is not meaningful to the clinician recording it, it will not be safe for the clinician receiving it.
Recording is a clinical act. A form, default, code or alert changes what a clinician notices and hands over. If the data model serves reporting rather than care, clinicians work around it, and the next clinician and public health receive a weaker record.
Start from the care decision and the handover, then define the data elements.
Clinicians, patients and caregivers review fields, terminology, defaults, alerts and correction routes; clinical sign-off is separate from technical sign-off.
Every coded field has a definition, code system, allowable unknown and a reason to exist.
The record supports transfer of information, responsibility and accountability, not only export.
Clinicians see what happened to the data: corrections, quality feedback and aggregate results.
A national strategy needs a clinically defined minimum data set, one recording with multiple governed uses, national clinical governance, terminology stewardship and local adaptation without forking the clinical model. Parallel reporting forms, indicators without denominators and dashboards without feedback undermine both care and public health.
Terminology supports the record; it does not become the record. Preserve what was recorded, and degrade explicitly when a service is unavailable.
Structural interoperability moves data between systems. Semantic interoperability preserves what the data means. OCC needs both, and they are different tests.
openEHR defines the structure and persistence of the clinical record. FHIR defines exchange and terminology interfaces. SNOMED CT supplies clinical concepts, LOINC many observations and laboratory tests, UCUM units, and ICD classification for statistics. A terminology service resolves, validates and expands those concepts; it is not the patient record.
Responsibilities at the semantic boundary
Component
Responsibility
Not responsible for
openEHR
Clinical information model and persistence
Terminology content or licensing
FHIR
Exchange and terminology interfaces
Being the authoritative record
SNOMED CT
Clinical concepts and relationships
Record structure or local governance
Terminology service
Lookup, validation, expansion, mapping
Owning the clinical record
DHIS2
Aggregate population-health reporting
Patient-level clinical care
A stored clinical fact keeps the code, code-system identifier, edition or version and the display term as recorded. A later terminology release must not silently rewrite that history. When the service is unavailable, care continues with cached validated bindings or an explicit unknown state, never an invented code.
Terminology profile and licensing evidence set out the capability tiers, OCL and Snowstorm comparison, and rights checklist. No candidate service has been tested by OCC.
The same meaning across applications
Start with the person and the encounter, not the server. The technical boundary exists so the meaning can survive.
A person, a coded encounter, a versioned openEHR record and later care in another application: the meaning survives the software change. Open the full-size diagram (SVG)Text description of this diagram
A patient encounter is recorded as coded clinical facts using SNOMED CT concepts, LOINC observations and UCUM units, each with its code system and version. The facts are stored in a versioned openEHR composition with provenance and author, and a correction keeps its history. A later care team in another region, using another application, reads the same meaning because the code, code system, edition or version and the display term as recorded are retained. The application can be replaced without erasing the clinical fact; a later terminology release must not silently rewrite the record. Terminology supports the record, FHIR carries exchange, and openEHR is the record.
The clinical model belongs to the care community
openEHR is the required clinical foundation of OCC. Its Reference Model, archetypes, templates, longitudinal record semantics and AQL provide a clinical information architecture independent of any repository product. Care teams adapt templates under clinical governance. Independent conformant repositories can be replaced; openEHR itself is not a substitution target.
HL7 FHIR supports exchange and application integration through resources, profiles and APIs. FHIR can also persist information and openEHR also has APIs. Within OCC, FHIR representations complement the authoritative openEHR clinical record, rather than replacing it.
SNOMED CT supplies clinically meaningful concepts, identifiers, relationships and terminology bindings used by both openEHR and FHIR. It is not a record model or exchange protocol. Maintain terminology editions, national extensions, reference sets and mappings. Other code systems, such as LOINC, ICD and UCUM, are used where required.
A mapping is a clinical and technical artifact, not a guarantee of equivalence. Validate the chosen concepts, context, units, identifiers, missing information and provenance.
Archetypes define reusable clinical concepts; templates constrain and combine them for a particular setting. Independent applications can then present those models in different ways. Open the full-size diagram (SVG)Text description of this diagram
An illustrative blood pressure observation originates in a person's care. A shared openEHR archetype defines the concept and its constraints, with terminology bindings where appropriate. Community, maternal and specialist templates select or combine relevant information; their independent user interfaces present it differently. All record structured information using the same openEHR foundation. The field examples are not a validated archetype or a clinical protocol.
Simplified flow diagram: archetypes to applications
Clinical communityDefine and review clinical concepts
↕
Reusable archetypesBlood pressure · Medication use · Symptoms · Care goals
↕
Community visitRelevant observations
Maternal careContext-specific assessment
Specialist careDetailed clinical context
↕
Different openEHR templates and applicationsShared meaning; local selection, constraints and presentation
Illustrative modelling pattern. Templates can combine and constrain multiple archetypes; the examples are not approved clinical models.
This version shows the chain from clinical community to archetypes, templates and applications, with several example archetypes. The illustration above follows one blood-pressure example through three care settings. Compare both views side by side.
What stays fixed, what can change
Fixed: openEHR clinical foundation
Preserve the Reference Model, versioned archetypes, approved templates, record history, provenance, clinical queries and terminology bindings across implementation changes. Govern model evolution explicitly; fixed does not mean frozen.
Complementary: FHIR and SNOMED CT
Maintain versioned exchange profiles and clinical terminology bindings. Replace servers or adapters, not the meaning of the data. FHIR-only systems can interoperate at the boundary without replacing the OCC clinical record. Billing, identity, scheduling and other nonclinical services need not use openEHR for their own internal data.
Replaceable: implementations and suppliers
Choose among compatible openEHR repositories, clinical applications, integration services, terminology servers, infrastructure and optional AI. Demonstrate semantic and operational continuity before accepting a replacement.
openEHR is the stable clinical information foundation. FHIR and clinical terminology are complementary. Supporting services and applications can be selected, integrated and replaced within verified boundaries. Open the full-size diagram (SVG)Text description of this diagram
At the top, people and care teams use replaceable applications. Applications may use openEHR APIs and AQL to access the required openEHR clinical information foundation, or use FHIR interfaces where appropriate. FHIR exchange connects authorized external and legacy systems through validated mappings. SNOMED CT and other applicable terminology support both the clinical models and exchanged information. Identity, access control, registries, hosting, audit, scheduling and other reusable supporting services operate across these boundaries. Optional AI consumes governed interfaces, not unrestricted records. The blocks are conceptual and their compatibility must be tested.
Illustrative example: A clinician records a clinical observation in an openEHR template. A SNOMED CT binding identifies a coded clinical finding where appropriate; a FHIR profile represents the relevant information for an authorized exchange. If the clinical application or repository changes, the record, context and codes must remain intact.
SNOMED CT content is licensed separately from open-source terminology software. Register use and verify applicable national and affiliate licensing, distribution rights and fees, especially outside member territories. SNOMED CT licensing
Trust boundaries
Access is a decision, not a connection. The boundaries apply even when the same supplier runs both sides.
Every boundary enforces a decision: consent and purpose, role and authorization, or aggregation without identifiers. Open the full-size diagram (SVG)Text description of this diagram
The person holds goals, preferences and consent choices and can refuse or withdraw; assisted and printed channels remain. The care team accesses the record through a care relationship with role and purpose checks; emergency access is time-bound and reviewed. The organisation stewards the record, applies lawful basis and retention, and needs an agreement for transfers rather than a login. External and public-health recipients receive aggregates without patient identifiers, with small-number suppression; individual-level reporting needs explicit justification. Audit every access and disclosure, keep the minimum data, and support correction and withdrawal. A valid login is not authorization, consent is not the only lawful basis, and aggregation is not anonymisation by default. If consent, identity or exchange is unavailable, care continues through an audited fallback.
Federate authority and information
Participation in shared infrastructure need not require uniform hosting or governance.
A federation can combine information for care without requiring every participating institution or Indigenous community to surrender control of its records or clinical working environments. Open the full-size diagram (SVG)Text description of this diagram
A person receives care from independently governed primary care, regional hospital and community health organizations. A coordinated, authorized clinical view uses shared standards, trust and exchange. Each organization may operate its own openEHR repository, local applications and governance rules. Authorized exchange does not imply that every participant can access all data, that data must be centralized, or that Indigenous community authority is delegated by another government. Patient access depends on applicable legal and governance arrangements.
Simplified flow diagram: federation and governance
Shared public capabilitiesCommon standards, registries, trust, knowledge and verification
Person and authorized care teamAccess appropriate information across services
A federation of independently governed services, not necessarily a national database. Exchange policies and law determine what may be disclosed.
This version foregrounds shared public capabilities and policy-governed exchange. The illustration foregrounds the person and the authority each organisation keeps over its own record. Compare both views side by side.
National and regional
Coordinate shared services, regulation and investments. Do not assume unrestricted access to every record.
Indigenous and community
Respect independent jurisdiction, collective data rights and community-defined protocols. No one governance model fits all peoples.
Institution, team and individual
Institutions steward information; authorized teams shape workflows. Patients have applicable rights to access, privacy and participation. Clinical autonomy is not ownership of patient data.
Local adaptations must remain possible
Language and terminology
Separate translatable interface text from versioned clinical codes and validated translations. Support right-to-left scripts, regional formats, language tags and locally governed terminology.
Law and community policy
Maintain jurisdiction-specific policy packages with source, effective date, owner and approval. Resolve overlapping authorities through agreed legal and governance processes, not blind inheritance.
Accessibility by default
Target WCAG 2.2 AA; critical clinical tasks should meet AAA where feasible. Design for invisible, temporary and situational disability—colour vision, hearing, glare, injury and cognitive load—and test with disabled people and assistive technologies, not only scanners.
Intelligence is an optional service
AI can help with bounded, evidence-grounded tasks, but care must work without it. Models use restricted interfaces and never define the clinical information architecture. Open the full-size diagram (SVG)Text description of this diagram
A person and healthcare team use an essential clinical application that continues to function without AI. The application can access authorized clinical services. An optional local or approved AI model accesses narrow governed APIs or MCP tools, with source authorization, data minimization and auditing. Authoritative information includes openEHR records, clinical models, terminology and approved local guidance. Structured retrieval and validation can improve evidence grounding but do not eliminate errors or hallucinations. AI does not receive unrestricted record access.
Simplified flow diagram: the AI request path
Clinical team or patientQuestion, task or configuration request
↕
Local or distributed AITask router · model selection · abstention
↕
Restricted APIs and MCP toolsAuthorization · purpose · minimum data · audit
↕
Clinical recordAQL / FHIR
Clinical knowledgeApproved models and guidance
Local policyVersioned legislation and permissions
TerminologyCodes and reviewed translations
Use authoritative data and deterministic services where possible. A model may assist with retrieval or structured drafting, but cannot become the clinical or legal authority.
This version makes the request path and the four knowledge sources explicit. The illustration makes clear that essential care continues when AI is switched off. Compare both views side by side.
Small language models may support local summarization, translation and drafting with appropriate validation. Distributed inference, federated learning and federated retrieval are different techniques. Prioritize local or independently hosted task-specific models, and keep all essential care functional with AI disabled.
MCP standardizes tool access, not clinical semantics, authorization or truth. Constrain tools, verify returned evidence, use deterministic validation, handle missing evidence and require human review. Hallucinations cannot be guaranteed away.