This page is part of the FHIR Specification v4.3.0-snapshot1: R4B Snapshot to support the Jan 2022 Connectathon. About the R4B version of FHIR. The current officially released version is 4.3.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; }; }