DISCUSSION DRAFT · Not a product or certificationFeedback via GitHub issues
Open Care CommonsCare first. Choice always.

Home / Sandbox

Open Care Commons / Sandbox

What would a real swap look like?

This is a design sandbox, not a deployed clinical system. Compare implementations that preserve the required openEHR clinical foundation. The planner does not offer a switch to another clinical data architecture.

Terminology comparison, without live calls

Documented capability is not tested conformance. OCL and Snowstorm overlap, but they are not interchangeable.

This table records what upstream documentation says. No terminology server was called and no OCC test was executed. Versions: OCL API 2.3.282, Snowstorm 11.0.0, both checked 2026-12-04.

OCL and Snowstorm: documented capabilities, not conformance evidence
CapabilityOpen Concept LabSnowstorm
Collaborative dictionary managementDocumentedNot its primary purpose
Cross-terminology mappingDocumented (ConceptMap, $translate)Unknown
FHIR terminology APIDocumented, betaDocumented, read-only
SNOMED CT-specific servicesUnknownDocumented (ECL, branches, editions)
Value set expansionDocumentedDocumented
SubsumptionUnknownSpecialist API documented; FHIR $subsumes not verified
Self-hostingDocumentedDocumented (Docker, Elasticsearch)
AI / MCPOCL Mapper, betasnowstorm-mcp-server
Offline operationUnknownUnknown

Neither product is interchangeable with the other. See the terminology profile for deployment models and failure handling.

Interactive substitution planner

No live clinical systems are connected. This planner generates a proposed test plan. It does not execute a conformance test or certify a product. Fixed foundation: openEHR clinical information, with FHIR exchange and SNOMED CT terminology as complementary standards.

Five candidate replacement scenarios

Two proposed experiments replace clinical application A with B or compare HAPI FHIR with Medplum, while preserving the openEHR foundation.
Two ways to preserve choice: replace a clinical application without changing the underlying repository, or test alternative FHIR services against the same required operations. Neither experiment is claimed as validated. Open the full-size diagram (SVG)
Text description of this diagram

Two proposed substitution experiments. In experiment A, clinical application A is replaced with application B, while the same openEHR repository and clinical models remain. In experiment B, a FHIR service such as HAPI FHIR is compared with Medplum for a defined overlapping set of FHIR profiles and operations; the openEHR foundation remains unchanged. Both experiments require testing and may need adapters or configuration changes. Compare data, semantics, workflows, access controls, operational continuity and rollback; do not assume a drop-in replacement.

openEHR repository implementation

Same required openEHR clinical model, independent repository products

EHRbaseImplementation A
CaboLabs EHRServerImplementation B
Shared contractRequired OCC foundation: pinned openEHR RM, ADL/OPT, REST API and AQL; preserve clinical models and SNOMED CT bindings. FHIR profiles support exchange at the boundary.
Candidate comparison, not a validated swap.

Verification: Load the same templates, execute common AQL queries, preserve composition identifiers, versions and provenance through migration; check authorization and downtime. Do not replace openEHR with a different clinical architecture.

Candidate replacement only. Swap repository products, never the openEHR clinical foundation. API versions and full-history migration may differ.

Block: Lifelong health record · Software: EHRbase vs CaboLabs EHRServer · Evidence: none recorded.

FHIR service

One FHIR exchange profile, two servers; openEHR remains the clinical foundation

HAPI FHIRImplementation A
MedplumImplementation B
Shared contractFHIR R4 or another pinned version, CapabilityStatement, named profiles, SMART/OAuth authorization and agreed search and transaction behaviour.
Candidate comparison, not a validated swap.

Verification: Repeat a referral, lab result exchange, search and denied access against each server; compare supported profiles and operations. Check that the originating openEHR clinical record and terminology bindings are preserved.

Candidate replacement only. Server capabilities, search behaviour and operational features differ.

Block: Health information exchange · Software: HAPI FHIR vs Medplum · Evidence: none recorded.

Terminology server

Same licensed SNOMED CT edition and bindings, independent services

SnowstormImplementation A
Open Concept LabImplementation B
Shared contractMinimum: code-system and version metadata, lookup, validate-code, value-set validation and expansion, stable stored identifiers and a documented outage fallback. Optional: subsumption, ECL, reference sets, translation, authoring and offline caching. Governance: edition approval, clinical review, deprecation, translation approval and audit. Licensed content: full SNOMED CT relationships and hierarchies; GPS does not include them.
Candidate comparison, not a validated swap.

Verification: Run lookup, validate-code and expand on the same licensed edition and value sets through each candidate service; record versions and differences.

Overlap in operations, not full interchangeability. Keep clinical codes and meaning; verify legal access to content and licences.

Block: Terminology services · Software: Snowstorm vs Open Concept Lab · Evidence: none recorded.

Identity provider

Same application sign-in, different providers

KeycloakImplementation A
AuthentikImplementation B
Shared contractOIDC/OAuth 2.0 discovery and tokens; separate clinical policy decision contract and audit events.
Candidate comparison, not a validated swap.

Verification: Swap identity provider for representative OIDC flows, map claims consistently, revoke access; independently test clinical policies and break-glass procedures.

Protocol-level candidate. A login provider does not enforce health-data permissions.

Block: Authentication and authorization · Software: Keycloak vs Authentik · Evidence: none recorded.

Optional inference

Same bounded assistance task, alternate runtime

llama.cppImplementation A
LocalAIImplementation B
Shared contractRestricted task-specific APIs and MCP where appropriate; pinned inference API, model/knowledge versions, structured outputs and evaluation suite.
Candidate comparison, not a validated swap.

Verification: Replace model/runtime for a bounded summarization task, test source attribution, abstention, data leakage and forbidden tool calls; run the workflow without AI.

Inference interface compatibility is not model equivalence or clinical approval.

Block: Optional AI and knowledge access · Software: llama.cpp vs LocalAI · Evidence: none recorded.

First end-to-end demonstrator: maternal and community care

Extend GovStack’s postpartum and infant care use case (HLTC-1) with a longitudinal clinical record and federated governance. Use synthetic patients only. Co-design any real pilot with participating healthcare teams and communities.

  1. Community enrolmentLocal identity, appropriate authorization and patient preferences.
  2. Offline visitCapture observations using a governed clinical template; secure local storage.
  3. Record and reconcileStore validated openEHR compositions in the community repository and reconcile the offline queue; preserve clinical terminology bindings.
  4. ReferralSend a limited FHIR referral and relevant information to an independently governed hospital.
  5. Specialist careUse a different clinical workspace and preserve relevant clinical provenance.
  6. Return to communityExchange an authorized follow-up summary. Reject an unrelated request for information.
  7. SubstitutionReplace one service, repeat the same journey, test failure and rollback.

GovStack HLTC-1 · Synthea synthetic patient generator

What the sandbox should become

A future reproducible sandbox should pin software versions and clinical artifacts, provide synthetic records and mock interfaces, execute independent tests and publish evidence of success, failure, incompatible combinations and known limitations.

Explore the evidence framework