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

Target Profiles

Why Target Profiles Matter

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-Patient
  • BgZ-Patient -> http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient
  • BgZ-Patient -> patient-eu-core
  • BgZ-Patient -> patient-eu-eps
  • BgZ-Patient -> xib-Patient
  • ACP-Patient -> ACP-Patient in PZP 2020
  • patient-eu-eps -> BgZ-Patient
  • nl-core-Patient -> patient-eu-core

Different target families have different profile rules, extensions, slicing, and terminology expectations.

Output Families

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

How To Choose

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.

Current Shape By Source Family

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

Important Boundaries

  • Outside the PZP source family, only explicitly registered pairs target PZP ACP profiles: 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.
  • PZP targets are not inferred from generic BgZ semantics.
  • PZP 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.
  • PZP health-professional Practitioner and PractitionerRole can target EU Base Practitioner and PractitionerRole because those shared logical models validate against the installed EU Base profiles.
  • XIB profiles are accepted as source profiles only where explicit xib-to-logical maps and registry routes exist.
  • EPS document Bundle support is a Bundle-level contract, not just a row in the single-resource matrix.
  • Base R4 targets are explicit route choices, not accidental fallback behavior.

Validation

Validation uses the same target profile selected for translation.

That means:

  • GBB and NL Patient Summary output use their exact pinned profiles; NLPS additionally imposes EPS Composition.
  • nl-core output is validated against the requested nl-core profile
  • eu-base output is validated against the requested EU profile
  • EPS output is validated against the requested EPS profile or document Bundle profile
  • PZP output is validated against the requested PZP 2020 profile
  • XIB output is validated against generated local draft XIB profiles when transform-time validation is enabled. Matching profiles derive from the pinned official GBB alpha basis; other concepts retain their reviewed EU Base/Core or base-R4 parent. Additional local semantics use explicit slices and XIB extension definitions.
  • base R4 output is validated against the base R4 StructureDefinition selected by the route

Pinned profile contracts

These 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.