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

XIB Reference

Intent

XIB means Experimentele Informatie Bouwblokken. In this service, XIB is a local draft R4 specialization family for additional Dutch and legacy semantics. It is not an implicit GIM; its role is an explicitly registered source or target profile family.

The profile family is generated from repository FSH and is used only through explicit registered translation routes. XIB is not a generic converter mode and is not inferred from resource type.

XIB uses generic Dutch building-block names. PZP contributes supported source data points, but PZP-specific labels are not the intended public XIB concept model.

Transition to GBB

GBBs progressively take over the role of XIBs as equivalent published building blocks become available and their exact routes are verified.

  • Prefer GBB when the published GBB covers the required semantics and a registered route exists.
  • Keep XIB for explicit local additions. Eleven XIB profiles already derive from the ten published GBB resource profiles; this is inheritance, not removal of those XIB contracts.
  • Migrate remaining concepts individually. Until an equivalent GBB exists, their reviewed EU/Base-FHIR parent and local XIB contract remain in place. Existing canonicals are not silently renamed or retagged.

Use the review to inspect each XIB route and its actual parent basis. Additional local semantics must be mapped and validated before replacing an XIB route with a GBB route.

Parent Policy

Matching XIB profiles derive from the official GBB 1.0.0-alpha.2 resource profiles. Their local version is 0.3.0; existing canonical identities remain stable while GBB constraints apply. Remaining concepts retain their reviewed EU Base/Core or base-R4 parents. Required identifiers or clinical codes are not fabricated; missing required data rejects the route input. Imposed EU Patient birthDate and Procedure performed requirements are enforced without inventing values. DeviceUse uses Period natively and retains legacy timing through the explicit MedicalDeviceDetails extension.

Current XIB Profiles

XIB profile Title Parent choice Main source semantics
xib-Patient XIB Patient GBB Patient patient data points from BgZ, nl-core, and currently supported PZP routes
xib-Problem XIB Problem GBB Condition BgZ/nl-core problem data points
xib-Procedure XIB Procedure GBB Procedure procedure data points, including advance-care-planning procedure specializations
xib-FunctionalOrMentalStatus XIB Functional Or Mental Status EU Base medical test result BgZ/nl-core functional or mental status data points
xib-AllergyIntolerance XIB AllergyIntolerance GBB AllergyIntolerance zib/nl-core allergy intolerance data points
xib-Encounter XIB Encounter plain R4 Encounter encounter data points from zib/nl-core and currently supported PZP routes
xib-CareTeam XIB CareTeam plain R4 CareTeam nl-core care team data points
xib-Appointment XIB Appointment plain R4 Appointment eAfspraak appointment data points
xib-MedicationRequest XIB MedicationRequest EU Base MedicationRequest medication agreement data points
xib-MedicationStatement XIB MedicationStatement EU Base MedicationStatement medication use data points
xib-MedicationDispense XIB MedicationDispense plain R4 MedicationDispense administration agreement data points
xib-Provenance XIB Provenance plain R4 Provenance BgZ metadata data points
xib-AdvanceDirective XIB Advance Directive plain R4 Consent care-directive specialization
xib-TreatmentDirective XIB Treatment Directive plain R4 Consent care-directive specialization
xib-ContactPerson XIB Contact Person plain R4 RelatedPerson contact-person data points
xib-Practitioner XIB Practitioner GBB Practitioner health-professional practitioner data points
xib-PractitionerRole XIB PractitionerRole GBB PractitionerRole health-professional role data points
xib-InformRelativesRequest XIB Inform Relatives Request plain R4 CommunicationRequest inform-relatives request data points
xib-MedicalDeviceProduct XIB Medical Device Product GBB Device medical device product data points
xib-MedicalDevice XIB Medical Device GBB DeviceUse medical device use data points
xib-MedicalPolicyGoal XIB Medical Policy Goal plain R4 Goal medical policy goal data points
xib-OrganDonationChoiceRegistration XIB Organ Donation Choice Registration plain R4 Observation care-preference observation specialization
xib-PositionRegardingEuthanasia XIB Position Regarding Euthanasia plain R4 Observation care-preference observation specialization
xib-PreferredPlaceOfDeath XIB Preferred Place Of Death plain R4 Observation care-preference observation specialization
xib-SenseOfPurpose XIB Sense Of Purpose plain R4 Observation care-preference observation specialization
xib-SpecificCareWishes XIB Specific Care Wishes plain R4 Observation care-preference observation specialization
xib-Condition XIB Condition GBB Condition generic nl-core Condition profiles that are not specifically nl-core-Problem
xib-Observation XIB Observation plain R4 Observation generic nl-core Observation profiles without a more specific XIB observation profile
xib-Flag XIB Flag EU Base Flag alert and contraindication flags
xib-EpisodeOfCare XIB EpisodeOfCare plain R4 EpisodeOfCare episode-of-care data points
xib-Organization XIB Organization GBB Organization healthcare-provider and payer organization data points
xib-Location XIB Location GBB Location healthcare-provider location data points
xib-CarePlan XIB CarePlan plain R4 CarePlan help-from-others and nursing-intervention care-plan data points
xib-Specimen XIB Specimen plain R4 Specimen laboratory specimen data points
xib-NutritionOrder XIB NutritionOrder plain R4 NutritionOrder nutrition-advice data points
xib-Coverage XIB Coverage plain R4 Coverage payer and insurance coverage data points
xib-Medication XIB Medication EU Base Medication pharmaceutical product data points
xib-ServiceRequest XIB ServiceRequest plain R4 ServiceRequest procedure-request data points
xib-Composition XIB Composition EU Base Composition SOAP report data points
xib-Media XIB Media plain R4 Media visual-result media data points
xib-DiagnosticReport XIB DiagnosticReport EU Base DiagnosticReport text-result report data points
xib-Immunization XIB Immunization EU Base Immunization vaccination-event data points
xib-ImmunizationRecommendation XIB ImmunizationRecommendation plain R4 ImmunizationRecommendation vaccination-request data points
xib-DocumentReference XIB DocumentReference plain R4 DocumentReference wound image document-reference data points

The current Consent and Observation specializations are intentionally grouped as generic care directives and care-preference observations in the translation review. They remain separate profiles while their code/category constraints and source wrapper maps are profile-specific. If those constraints converge, they should be collapsed into a shared XIB profile with subtype choices rather than kept as source-specific profiles. The advance-care-planning procedure specialization already uses the shared xib-Procedure profile.

Supplemental Local Extension Definitions

XIB-owned extensions carry explicit Dutch and legacy additions outside the selected parent. The source boundary translates supported nl-core/zib/PZP carriers to these local canonicals; XIB output does not retain a source-owned extension URL merely for convenience. The table lists representative definitions by their FHIR artifact id and exact canonical. See Artifacts for the full generated inventory.

Extension Canonical URL Used by
xib-preferred-pharmacy https://fhir.cumuluz.org/xib/StructureDefinition/xib-PreferredPharmacy xib-Patient
xib-patient-legal-status https://fhir.cumuluz.org/xib/StructureDefinition/xib-PatientLegalStatus xib-Patient
xib-life-stance https://fhir.cumuluz.org/xib/StructureDefinition/xib-LifeStance xib-Patient
xib-medicationrequest-requester-on-behalf-of https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationRequestRequesterOnBehalfOf xib-MedicationRequest
xib-medicationstatement-taken https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationStatementTaken xib-MedicationStatement
xib-MedicationStatementReasonNotTaken https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationStatementReasonNotTaken xib-MedicationStatement
xib-original-stu3-reference-type https://fhir.cumuluz.org/xib/StructureDefinition/xib-original-stu3-reference-type xib-MedicationRequest.basedOn, xib-MedicationStatement.basedOn
xib-medicationrequest-episode-of-care https://fhir.cumuluz.org/xib/StructureDefinition/xib-medicationrequest-episode-of-care xib-MedicationRequest
xib-medicationdispense-source-state https://fhir.cumuluz.org/xib/StructureDefinition/xib-medicationdispense-source-state xib-MedicationDispense
xib-medicationdispense-authored-on https://fhir.cumuluz.org/xib/StructureDefinition/xib-medicationdispense-authored-on xib-MedicationDispense
xib-medication-period-of-use https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationPeriodOfUse xib-MedicationDispense
xib-medication-use-duration https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationUseDuration xib-MedicationRequest, xib-MedicationStatement, xib-MedicationDispense
xib-medication-additional-information https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationAdditionalInformation xib-MedicationRequest, xib-MedicationDispense
xib-medication-treatment https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationTreatment xib-MedicationRequest, xib-MedicationStatement, xib-MedicationDispense
xib-medication-stop-type https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationStopType xib-MedicationRequest, xib-MedicationDispense
xib-medication-use-as-agreed-indicator https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationUseAsAgreedIndicator xib-MedicationStatement
xib-medication-use-prescriber https://fhir.cumuluz.org/xib/StructureDefinition/xib-MedicationUsePrescriber xib-MedicationStatement
xib-administration-agreement-reason https://fhir.cumuluz.org/xib/StructureDefinition/xib-AdministrationAgreementReason xib-MedicationDispense
xib-appointment-online-editable https://fhir.cumuluz.org/xib/StructureDefinition/xib-appointment-online-editable xib-Appointment

The original-reference marker is a valueCode required-bound to the local xib-original-stu3-reference-type value set, whose complete code system contains only ProcedureRequest and ReferralRequest. The dispense source-state extension separately records sourceStatusPresent, sourceStatus, notDonePresent, notDone, and the typed not-done reason so absence is not inferred from a normalized R4 status. New output always carries the explicit status-presence child; it remains optional so round-one instances with sourceStatus but no presence child validate and reverse as status-present. An explicit false presence child continues to mean that the STU3 status was absent.

The local Medication definitions also declare explicit legacy brand and non-prescription Booleans, images, product description and packaging under xib-MedicationProductIsBrand, xib-MedicationProductIsOverTheCounter, xib-MedicationProductImage, xib-MedicationProductDescription and xib-MedicationProductPackage. The package carrier retains its container, every coded or referenced content item with quantity, and every batch in source order; it does not choose a primary batch. LogicalMedicationLegacyPackage, LogicalMedicationLegacyContent and LogicalMedicationLegacyBatch describe that intermediate structure. These definitions do not by themselves register additional source/target pairs or establish translation-test acceptance.

XIB profiles do not inherit directly from nl-core or PZP profiles. Supported Dutch and source-specific data points outside the selected parent are represented as explicit XIB slices or local XIB extension definitions.

The current reviewed XIB target maps cover every non-internal logical dataelement that is populated by the registered source maps for the supported source-to-XIB routes. Internal transfer metadata such as sourceResourceType and targetResourceType remains part of the logical handoff and is not emitted as clinical XIB payload.

Mapping Model

All XIB translations keep the same logical handoff as the other target families:

source profile -> logical model -> XIB target profile

XIB source support uses the reverse path:

XIB source profile -> logical model -> target profile

The implementation uses:

  • logical-to-xib StructureMaps for target output
  • xib-to-logical StructureMaps for XIB input/source support
  • logical models as the semantic handoff point
  • ConceptMaps only where code translation is needed

The HTTP layer selects registered routes and returns FHIR resources. It does not contain XIB-specific semantic workarounds.

Source Support

XIB resources are accepted as source profiles only when a matching xib-to-logical StructureMap and registry route exist. This keeps source behavior profile-specific and hierarchy-aware.

The supported route pairs remain visible through the translation-index endpoints and the Translation Matrix.

Generated Artifacts

The generated XIB StructureDefinitions are included in the IG artifacts. The source FSH is copied into the IG build under input/fsh/xib so XIB appears as its own profile family rather than as part of the logical-model folder.

All installed nl-core R4 resource profiles are also visible as source candidates for XIB in the translation review and in /fhir/r4/translation-index. The current nl-core package contains 152 resource StructureDefinitions; each one has an explicit route to a XIB target through either a concept-specific source map or a generic resource-shape logical model.

Use Artifacts for the generated StructureDefinition details and Target Profiles for target-family selection rules.