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/Media3to4 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Media3to4 |
MediaTransformsR3toR4
/// url = 'http://hl7.org/fhir/StructureMap/Media3to4' /// name = 'Media3to4' /// title = 'Media Transforms: R3 to R4' /// status = 'active' uses "http://hl7.org/fhir/3.0/Media" alias MediaR3 as source uses "http://hl7.org/fhir/4.0/Media" alias Media as target imports "http://hl7.org/fhir/StructureMap/*3to4" group Media(source src : MediaR3, target tgt : Media) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.basedOn -> tgt.basedOn; src.type as vs0 -> tgt.type as vt0, vt0.coding as c, c.system = 'http://terminology.hl7.org/CodeSystem/media-type', c.code = vs0; src.subtype -> tgt.modality; src.view -> tgt.view; src.subject -> tgt.subject; src.context -> tgt.encounter; src.occurrence : dateTime as vs -> tgt.created = create('dateTime') as vt then dateTime(vs, vt); src.occurrence : Period as vs -> tgt.created = create('Period') as vt then Period(vs, vt); src.operator -> tgt.operator; src.reasonCode -> tgt.reasonCode; src.bodySite -> tgt.bodySite; src.device -> tgt.device; src.height -> tgt.height; src.width -> tgt.width; src.frames -> tgt.frames; src.duration -> tgt.duration; src.content -> tgt.content; src.note -> tgt.note; }