This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Orders and Observations Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Patient |
R2 : R3 Converson maps for BodySite.
Functional status for this map: 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)
map "http://hl7.org/fhir/StructureMap/BodySite2to3" = "R2 to R3 Conversions for BodySite" uses "http://hl7.org/fhir/DSTU2/StructureDefinition/BodySite" alias BodySiteR2 as source uses "http://hl7.org/fhir/StructureDefinition/BodySite" alias BodySite as target imports "http://hl7.org/fhir/StructureMap/primitives2to3" imports "http://hl7.org/fhir/StructureMap/DomainResource2to3" imports "http://hl7.org/fhir/StructureMap/Attachment2to3" imports "http://hl7.org/fhir/StructureMap/Identifier2to3" imports "http://hl7.org/fhir/StructureMap/Reference2to3" imports "http://hl7.org/fhir/StructureMap/CodeableConcept2to3" group for type+types BodySite extends DomainResource input src : BodySiteR2 as source input tgt : BodySite as target "BodySite-patient" : for src.patient make tgt.patient "BodySite-identifier" : for src.identifier make tgt.identifier "BodySite-code" : for src.code make tgt.code "BodySite-modifier" : for src.modifier make tgt.qualifier "BodySite-description" : for src.description make tgt.description "BodySite-image" : for src.image make tgt.image endgroup
map "http://hl7.org/fhir/StructureMap/BodySite3to2" = "R3 to R2 Conversion for BodySite" uses "http://hl7.org/fhir/StructureDefinition/BodySite" alias BodySite as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/BodySite" alias BodySiteR2 as target imports "http://hl7.org/fhir/StructureMap/primitives3to2" imports "http://hl7.org/fhir/StructureMap/DomainResource3to2" imports "http://hl7.org/fhir/StructureMap/Attachment3to2" imports "http://hl7.org/fhir/StructureMap/Identifier3to2" imports "http://hl7.org/fhir/StructureMap/Reference3to2" imports "http://hl7.org/fhir/StructureMap/CodeableConcept3to2" group for type+types BodySite extends DomainResource input src : BodySite as source input tgt : BodySiteR2 as target "BodySite-patient" : for src.patient make tgt.patient "BodySite-identifier" : for src.identifier make tgt.identifier "BodySite-code" : for src.code make tgt.code "BodySite-modifier" : for src.qualifier make tgt.modifier "BodySite-description" : for src.description make tgt.description "BodySite-image" : for src.image make tgt.image endgroup