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/RequestGroup4to3 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: RequestGroup4to3 |
RequestGroupTransformsR4toR3
/// url = 'http://hl7.org/fhir/StructureMap/RequestGroup4to3' /// name = 'RequestGroup4to3' /// title = 'RequestGroup Transforms: R4 to R3' /// status = 'active' uses "http://hl7.org/fhir/4.0/RequestGroup" alias RequestGroup as source uses "http://hl7.org/fhir/3.0/RequestGroup" alias RequestGroupR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group RequestGroup(source src : RequestGroupR3, target tgt : RequestGroup) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.instantiatesCanonical -> tgt.definition; src.basedOn -> tgt.basedOn; src.replaces -> tgt.replaces; src.groupIdentifier -> tgt.groupIdentifier; src.status -> tgt.status; src.intent -> tgt.intent; src.priority -> tgt.priority; src.subject -> tgt.subject; src.encounter -> tgt.context; src.authoredOn -> tgt.authoredOn; src.author -> tgt.author; src.reasonCode as vs -> tgt.reason = create('CodeableConcept') as vt then CodeableConcept(vs, vt); src.reasonReference as vs -> tgt.reason = create('Reference') as vt then Reference(vs, vt); src.note -> tgt.note; src.action as vs -> tgt.action as vt then action(vs, vt); } group action(source src, target tgt) extends BackboneElement { src.prefix -> tgt.label; src.title -> tgt.title; src.description -> tgt.description; src.textEquivalent -> tgt.textEquivalent; src.code -> tgt.code; src.documentation -> tgt.documentation; src.condition as s -> tgt.condition as t then condition(s, t); src.relatedAction as s -> tgt.relatedAction as t then relatedAction(s, t); src.timing : dateTime as vs -> tgt.timing = create('dateTime') as vt then dateTime(vs, vt); src.timing : Period as vs -> tgt.timing = create('Period') as vt then Period(vs, vt); src.timing : Duration as vs -> tgt.timing = create('Duration') as vt then Duration(vs, vt); src.timing : Range as vs -> tgt.timing = create('Range') as vt then Range(vs, vt); src.timing : Timing as vs -> tgt.timing = create('Timing') as vt then Timing(vs, vt); src.participant -> tgt.participant; src.type -> tgt.type; src.groupingBehavior -> tgt.groupingBehavior; src.selectionBehavior -> tgt.selectionBehavior; src.requiredBehavior -> tgt.requiredBehavior; src.precheckBehavior -> tgt.precheckBehavior; src.cardinalityBehavior -> tgt.cardinalityBehavior; src.resource -> tgt.resource; src.action as vs -> tgt.action as vt then action(vs, vt); } group condition(source src, target tgt) extends BackboneElement { src.kind -> tgt.kind; src.expression as e then { e.description -> tgt.description; e.language -> tgt.language; e.expression -> tgt.expression; }; } group relatedAction(source src, target tgt) extends BackboneElement { src.actionId -> tgt.actionId; src.relationship -> tgt.relationship; src.offset : Duration as vs -> tgt.offset = create('Duration') as vt then Duration(vs, vt); src.offset : Range as vs -> tgt.offset = create('Range') as vt then Range(vs, vt); }