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
The endpoint fixes the translation direction. Within that direction, the target profile and sourceProfile select the exact registered route.
The service does not translate "Patient to Patient". It translates a registered source profile to a registered target profile, for example:
BgZ-Patient -> nl-core-PatientBgZ-Patient -> http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PatientBgZ-Patient -> patient-eu-coreBgZ-Patient -> patient-eu-epsBgZ-Patient -> xib-PatientACP-Patient -> ACP-Patient in PZP 2020patient-eu-eps -> BgZ-Patientnl-core-Patient -> patient-eu-coreDifferent target families have different profile rules, extensions, slicing, and terminology expectations.
| Family | Meaning | Examples |
|---|---|---|
| GBB | Official generic building blocks, alpha 1.0.0-alpha.2 | http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient |
| NL Patient Summary | Summary Composition, or document assembly from a STU3/R4 Bundle with explicit context | http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary; no NLPS Bundle canonical |
nl-core |
Dutch R4 output based on installed nl-core 2020 profiles |
nl-core-Patient, nl-core-Problem, nl-core-Procedure-event |
eu-base |
European R4 base/core profile output | patient-eu-core, condition-eu-core, procedure-eu-core |
| EPS | European Patient Summary resource profiles or document Bundle | patient-eu-eps, condition-obl-eu-eps, bundle-eu-eps |
| PZP 2020 ACP | Matching R4 ACP target for PZP 2017 ACP input | ACP-Patient, ACP-AdvanceDirective, ACP-TreatmentDirective |
| XIB | Local draft R4 profile family generated by this project; accepted as source only through explicit xib-to-logical maps |
xib-Patient, xib-Problem, xib-AdvanceDirective |
| base R4 | Plain R4 resource contract where explicitly registered | Patient, Appointment, MedicationDispense, Provenance |
| Choose | When |
|---|---|
| GBB | the equivalent published building block covers the required semantics and an exact route exists; preferred Dutch R4 basis |
| NL Patient Summary | the receiver expects an NLPS Composition, or an NLPS document assembled from supplied registered components and explicit document context |
nl-core |
the receiver explicitly expects the separate legacy nl-core 2020 contract |
eu-base |
the receiver expects European base/core output |
| EPS resource profile | the receiver expects a Patient Summary resource profile |
| EPS document Bundle | the receiver expects a Patient Summary document |
| PZP 2020 ACP | the source is a supported PZP ACP profile and the receiver expects the matching ACP target |
| XIB | explicit local semantics beyond GBB are needed, or an equivalent GBB is not yet available; see XIB → GBB |
| base R4 | the receiver expects base FHIR and the exact route is registered, including where a separate higher-profile target also exists |
After choosing the family, check Translation Matrix and the direction-specific live index for the exact pair.
The matrix summarizes families and lists the complete GBB/NLPS subset. Use the live translation index for the full exact matrix, and the component inventory for NLPS assembly.
For an EPS resource, use the normal single-resource Transform contract. For the EPS document Bundle target, follow Bundle Translation and then the additional EPS Document Output requirements.
| Source family | Typical targets |
|---|---|
| BgZ package-local profiles | GBB, legacy nl-core, eu-base, EPS, XIB, or base R4 where registered for the concept |
| BgZ exchange dependent Dutch STU3 profiles | GBB, legacy nl-core, eu-base, EPS, XIB, or base R4 where registered for the concept |
| PZP 2017 ACP profiles | matching PZP 2020 ACP, GBB where registered, supported generic parent targets, selected EU Base targets, selected EPS targets, and XIB |
| PZP 2020 ACP R4 profiles | XIB, GBB where registered, matching PZP 2020 ACP, supported generic parent targets, selected EU Base targets, and selected EPS targets |
| GBB R4 resource profiles | matching GBB and XIB contracts, plus the selected European targets published by the exact route index |
| NL Patient Summary and EPS Composition | explicit NLPS, EPS Composition, EU Composition and XIB Composition pairs for an already assembled summary |
| R4 source profiles | Dutch STU3 targets for reverse routes, or supported R4 target families for R4-to-R4 routes |
| PZP ACP QuestionnaireResponses | extracted PZP 2020 resources and version-labelled original source Binary in an R4 Bundle; non-materialized answers are diagnosed |
BgZ-Patient and dependent zib-Encounter can target their matching ACP profiles. The registry also exposes nl-core-Patient, nl-core-Encounter, and nl-core-Procedure-event to their matching ACP profiles; Procedure requires an ACP value-set code.ACP-Procedure can target nl-core-Procedure-event; EU Base/EPS Procedure pairs remain unregistered pending exact route and missing-data policy evidence. Explicit absent-time representation on existing EU/EPS routes does not create new PZP routes.xib-to-logical maps and registry routes exist.Validation uses the same target profile selected for translation.
That means:
nl-core output is validated against the requested nl-core profileeu-base output is validated against the requested EU profileThese are the current workspace contracts; older transitive dependencies retain their own exact versions and do not replace the primary owners.
| Contract | Version |
|---|---|
| FHIR STU3 / R4 | 3.0.2 / 4.0.1 |
| GBB | 1.0.0-alpha.2 |
| NL Patient Summary | 1.0.0-alpha.2, with its declared GBB alpha.2 and terminology 7.5.0 dependencies |
| Legacy nl-core / zib2020 | 0.12.1-beta.1 |
| BgZ / zib2017 / eAfspraak | 2.0.3 / 2.4.0 / 1.0.6 |
| PZP STU3 / R4 | 1.0.0 |
| EU Base / EPS / EU Lab | 2.0.1 / 1.0.0-ballot / 2.1.0 |
| UV / EU extensions | 5.3.0 / 1.3.1 |
| GBB-derived local XIB resource profiles | 0.3.0, retaining their existing canonicals |
GBB and its corresponding XIB targets enforce imposed EU constraints, including supplied Patient birthDate or an explicit absence reason and supplied Procedure performed data. DeviceUse retains Period natively; dateTime/Timing legacy values use the declared MedicalDeviceDetails carrier. Conflicting native/legacy values fail explicitly.
Published alpha defects remain visible. GBB PractitionerRole's organization target names an absent nl-core-HealthcareProvider-Organization profile; a populated document reference can therefore fail validation. Its preferred-binding specialty discriminator is also unevaluable for populated specialties: GBB maps reject these, while the explicit XIB specialization uses an enumerated required C80 slice with an open remainder. NLPS's relative section note extension URL remains invalid when supplied. No alias, fabricated value or broad relaxation repairs these contracts.
Native STU3 source validation can also expose upstream snapshot issues, including BgZ Patient's lifeStance typed-choice slice and PZP TreatmentDirective verification slices. Such definition/slicing failures remain blocking in enforce mode and visible in report evidence. Cold and prepared validator diagnostics can differ; a route's registration is not a guarantee that every source instance passes validation. The repository's docs/FHIR_PACKAGES.md records exact diagnostics, affected versions, test-only evidence policies and removal conditions.