This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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 R3
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
R3 : R4 Conversion maps for Bundle.
Functional status for this map: 28 tests that all execute ok. 28 fail round-trip testing and 28 r3 resources are invalid (0 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/Bundle3to4" = "R3 to R4 Conversions for Bundle" uses "http://hl7.org/fhir/3.0/StructureDefinition/Bundle" alias BundleR3 as source uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as target imports "http://hl7.org/fhir/StructureMap/*3to4" group Bundle extends Resource input src : BundleR3 as source input tgt : Bundle as target "Bundle.identifier" : for src.identifier as vs make tgt.identifier as vt "Bundle.type" : for src.type as vs make tgt.type as vt "Bundle.total" : for src.total as vs make tgt.total as vt "Bundle.link" : for src.link as vs0 make tgt.link as vt0 then { "Bundle.link.relation" : for vs0.relation as vs make vt0.relation as vt "Bundle.link.url" : for vs0.url as vs make vt0.url as vt } "Bundle.entry" : for src.entry as vs0 make tgt.entry as vt0 then { "Bundle.entry.fullUrl" : for vs0.fullUrl as vs make vt0.fullUrl as vt } "Bundle.signature" : for src.signature as vs make tgt.signature as vt endgroup
map "http://hl7.org/fhir/StructureMap/Bundle4to3" = "R4 to R3 Conversion for Bundle" uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as source uses "http://hl7.org/fhir/3.0/StructureDefinition/Bundle" alias BundleR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group Bundle extends Resource input src : Bundle as source input tgt : BundleR3 as target "Bundle.identifier" : for src.identifier as vs make tgt.identifier as vt "Bundle.type" : for src.type as vs make tgt.type as vt "Bundle.total" : for src.total as vs make tgt.total as vt "Bundle.link" : for src.link as vs0 make tgt.link as vt0 then { "Bundle.link.relation" : for vs0.relation as vs make vt0.relation as vt "Bundle.link.url" : for vs0.url as vs make vt0.url as vt } "Bundle.entry" : for src.entry as vs0 make tgt.entry as vt0 then { "Bundle.entry.fullUrl" : for vs0.fullUrl as vs make vt0.fullUrl as vt } "Bundle.signature" : for src.signature as vs make tgt.signature as vt endgroup