This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: Anonymous | Compartments: Not linked to any defined compartments |
R3 : R4 Conversion maps for CompartmentDefinition.
Functional status for this map: 6 tests that all execute ok. 1 fail round-trip testing and 5 r3 resources are invalid (0 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/CompartmentDefinition3to4" = "R3 to R4 Conversions for CompartmentDefinition" uses "http://hl7.org/fhir/3.0/StructureDefinition/CompartmentDefinition" alias CompartmentDefinitionR3 as source uses "http://hl7.org/fhir/StructureDefinition/CompartmentDefinition" alias CompartmentDefinition as target imports "http://hl7.org/fhir/StructureMap/*3to4" group CompartmentDefinition(source src : CompartmentDefinitionR3, target tgt : CompartmentDefinition) extends DomainResource <<type+>> { src.url -> tgt.url; src.name -> tgt.name; src.status -> tgt.status; src.experimental -> tgt.experimental; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.purpose -> tgt.purpose; src.useContext -> tgt.useContext; src.code -> tgt.code; src.search -> tgt.search; src.resource as vs0 -> tgt.resource as vt0 then { vs0.code -> vt0.code; vs0.param -> vt0.param; vs0.documentation -> vt0.documentation; }; }
map "http://hl7.org/fhir/StructureMap/CompartmentDefinition4to3" = "R4 to R3 Conversion for CompartmentDefinition" uses "http://hl7.org/fhir/StructureDefinition/CompartmentDefinition" alias CompartmentDefinition as source uses "http://hl7.org/fhir/3.0/StructureDefinition/CompartmentDefinition" alias CompartmentDefinitionR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group CompartmentDefinition(source src : CompartmentDefinition, target tgt : CompartmentDefinitionR3) extends DomainResource <<type+>> { src.url -> tgt.url; src.name -> tgt.name; src.status -> tgt.status; src.experimental -> tgt.experimental; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.purpose -> tgt.purpose; src.useContext -> tgt.useContext; src.code -> tgt.code; src.search -> tgt.search; src.resource as vs0 -> tgt.resource as vt0 then { vs0.code -> vt0.code; vs0.param -> vt0.param; vs0.documentation -> vt0.documentation; }; }