FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/Observation5to4 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Observation5to4 |
ObservationTransformsR5toR4
/// url = 'http://hl7.org/fhir/StructureMap/Observation5to4' /// name = 'Observation5to4' /// title = 'Observation Transforms: R5 to R4' /// status = 'active' uses "http://hl7.org/fhir/5.0/Observation" alias ObservationR5 as source uses "http://hl7.org/fhir/4.0/Observation" alias ObservationR4 as target imports "http://hl7.org/fhir/StructureMap/*5to4" group Observation(source src : ObservationR5, target tgt : ObservationR4) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.basedOn -> tgt.basedOn; src.partOf -> tgt.partOf; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/Observation.status-R5toR4', 'code'); src.category -> tgt.category; src.code -> tgt.code; src.subject -> tgt.subject; src.focus -> tgt.focus; src.encounter -> tgt.encounter; src.effective : dateTime -> tgt.effective; src.effective : Period -> tgt.effective; src.effective : Timing -> tgt.effective; src.effective : instant -> tgt.effective; src.issued -> tgt.issued; src.performer -> tgt.performer; src.value : Quantity -> tgt.value; src.value : CodeableConcept -> tgt.value; src.value : string -> tgt.value; src.value : boolean -> tgt.value; src.value : integer -> tgt.value; src.value : Range -> tgt.value; src.value : Ratio -> tgt.value; src.value : SampledData -> tgt.value; src.value : time -> tgt.value; src.value : dateTime -> tgt.value; src.value : Period -> tgt.value; src.dataAbsentReason -> tgt.dataAbsentReason; src.interpretation -> tgt.interpretation; src.note -> tgt.note; src.bodySite -> tgt.bodySite; src.method -> tgt.method; src.specimen -> tgt.specimen; src.device -> tgt.device; src.referenceRange as s -> tgt.referenceRange as t then ObservationReferenceRange(s, t); src.hasMember -> tgt.hasMember; src.derivedFrom -> tgt.derivedFrom; src.component as s -> tgt.component as t then ObservationComponent(s, t); } // group ObservationTriggeredBy(source src, target tgt) extends BackboneElement { // src.observation -> tgt.observation; // src.type as v -> tgt.type = translate(v, '#TriggeredByType', 'code'); // src.reason -> tgt.reason; // } group ObservationReferenceRange(source src, target tgt) extends BackboneElement { src.low -> tgt.low; src.high -> tgt.high; src.type -> tgt.type; src.appliesTo -> tgt.appliesTo; src.age -> tgt.age; src.text -> tgt.text; } group ObservationComponent(source src, target tgt) extends BackboneElement { src.code -> tgt.code; src.value : Quantity -> tgt.value; src.value : CodeableConcept -> tgt.value; src.value : string -> tgt.value; src.value : boolean -> tgt.value; src.value : integer -> tgt.value; src.value : Range -> tgt.value; src.value : Ratio -> tgt.value; src.value : SampledData -> tgt.value; src.value : time -> tgt.value; src.value : dateTime -> tgt.value; src.value : Period -> tgt.value; src.dataAbsentReason -> tgt.dataAbsentReason; src.interpretation -> tgt.interpretation; }