Cumuluz Translate Implementation Guide
0.1.0 - ci-build
Cumuluz Translate Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page defines the technical rules shared by every registered translation route. Integrators need these rules to decide whether a response may continue through their system. Mapping and clinical reviewers use them to connect an API execution to the exact profiles, artifacts, validation stages and governance decisions that produced it.
The service translates only an exact registered source-profile and target-profile pair. It supports registered STU3-to-R4, STU3-to-STU3, R4-to-STU3 and R4-to-R4 routes. A shared resource type, installed package, compatible base profile or logical model does not create a route.
The endpoint fixes the source and target FHIR versions. The normalized sourceProfile + targetProfile pair then selects one route. Unsupported or ambiguous pairs fail without resource-type fallback.
The service performs route selection, JSON parsing, explicit mapping, validation and route evidence. Transport security, authorization, filtering, persistence, pseudonymisation, orchestration and clinical acceptance belong to the integrating system.
One route consists of:
The executable flow is:
FHIR Parameters -> version-specific source parser -> exact registry route
-> source-profile validation -> source-to-logical StructureMap(s)
-> logical-model validation -> route governance/loss policy
-> logical-to-target StructureMap -> target-profile validation
-> version-correct FHIR response and route evidence
Shared StructureMap groups are rule reuse, not profile inheritance. Forward maps are never automatically inverted. QuestionnaireResponse extraction has a separate form-normalization and extraction contract.
CumuluZ specifications use a GIM as the conceptual semantic anchor. This implementation executes through local FHIR Logical* models:
registered source profile -> local Logical* model -> registered target profile
The models carry the semantics required by registered routes and are designed to align with relevant CumuluZ concepts. They are not asserted to be governed GIM definitions because the registry does not identify a verified GIM canonical and version for every route. See Mapping Model.
The TranslationRegistry is the executable route selector. The checked governance catalog is the policy source. The generated registry manifest joins the route, profile and mapping artifacts with versioned evidence. Translation-index endpoints project the executable pairs for clients; the Translation Matrix is their readable summary.
Each route has a stable routeId, routeVersion, manifest version, artifact identities, lifecycle and ownership metadata, validation policy, use contexts and loss decisions.
| Mode | Technical meaning |
|---|---|
enforce |
Blocks unrelaxed validation errors, fatal issues and blocked governance decisions. It is the only mode that can return a conformant execution. |
report |
Runs all stages and returns materialized output with diagnostics. The execution is always non-conformant. |
none |
Skips validation when explicitly operator-enabled. The execution is always non-conformant. |
R4-target routes return a translationReport. STU3-target routes carry equivalent route and stage evidence in their STU3 OperationOutcome. The mapped, changed, added and deleted groups compare payload values; they do not determine semantic loss.
Technical conformance means that the selected route passed its applicable technical gates in enforce mode. It does not mean clinical certification, fitness for every use context or clinical acceptance by the receiver.
targetProfile is the intended profile.OperationOutcome.issue is present.| Concern | Current service evidence |
|---|---|
| exact controlled route selection | translation indexes, TranslationRegistry, Translation Matrix |
| explicit intermediate semantics | Mapping Model and generated logical StructureDefinitions |
| versioned route governance | registry manifest and translation evidence |
| staged validation | response evidence and Validate |
| governed loss/use decision | exact-route governance record; separate from clinical acceptance |
| non-FHIR or query translation | outside the published service contract |