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/Observation4Bto5 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Observation4Bto5 |
ObservationTransformsR4BtoR5
/// url = 'http://hl7.org/fhir/StructureMap/Observation4Bto5' /// name = 'Observation4Bto5' /// title = 'Observation Transforms: R4B to R5' /// status = 'active' uses "http://hl7.org/fhir/4.3/Observation" alias ObservationR4B as source uses "http://hl7.org/fhir/5.0/Observation" alias ObservationR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group Observation(source src : ObservationR4B, target tgt : ObservationR5) 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/ObservationB.status-R4BtoR5', '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; }