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/RequestOrchestration4to5 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: RequestOrchestration4to5 |
RequestOrchestrationTransformsR4toR5
/// url = 'http://hl7.org/fhir/StructureMap/RequestOrchestration4to5' /// name = 'RequestOrchestration4to5' /// title = 'RequestOrchestration Transforms: R4 to R5' /// status = 'active' uses "http://hl7.org/fhir/4.0/RequestGroup" alias RequestGroupR4 as source uses "http://hl7.org/fhir/5.0/RequestOrchestration" alias RequestOrchestrationR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group RequestOrchestration(source src : RequestGroupR4, target tgt : RequestOrchestrationR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.instantiatesCanonical -> tgt.instantiatesCanonical; src.instantiatesUri -> tgt.instantiatesUri; src.basedOn -> tgt.basedOn; src.replaces -> tgt.replaces; src.groupIdentifier -> tgt.groupIdentifier; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.status-R4toR5', 'code'); src.intent as v -> tgt.intent = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.intent-R4toR5', 'code'); src.priority as v -> tgt.priority = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.priority-R4toR5', 'code'); src.code -> tgt.code; src.subject -> tgt.subject; src.encounter -> tgt.encounter; src.authoredOn -> tgt.authoredOn; src.author -> tgt.author; src.reasonCode : CodeableConcept -> tgt.reason; src.reasonReference : Reference -> tgt.reason; src.note -> tgt.note; src.action as s -> tgt.action as t then RequestOrchestrationAction(s, t); } group RequestOrchestrationAction(source src, target tgt) extends BackboneElement { src.prefix -> tgt.prefix; src.title -> tgt.title; src.description -> tgt.description; src.textEquivalent -> tgt.textEquivalent; src.priority as v -> tgt.priority = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.priority-R4toR5', 'code'); src.code -> tgt.code; src.documentation -> tgt.documentation; src.condition as s -> tgt.condition as t then RequestOrchestrationActionCondition(s, t); src.relatedAction as s -> tgt.relatedAction as t then RequestOrchestrationActionRelatedAction(s, t); src.timing : dateTime -> tgt.timing; src.timing : Age -> tgt.timing; src.timing : Period -> tgt.timing; src.timing : Duration -> tgt.timing; src.timing : Range -> tgt.timing; src.timing : Timing -> tgt.timing; src.participant : Reference as s -> tgt.participant as t, t.actor = s; src.type -> tgt.type; src.groupingBehavior as v -> tgt.groupingBehavior = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.groupingBehavior-R4toR5', 'code'); src.selectionBehavior as v -> tgt.selectionBehavior = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.selectionBehavior-R4toR5', 'code'); src.requiredBehavior as v -> tgt.requiredBehavior = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.requiredBehavior-R4toR5', 'code'); src.precheckBehavior as v -> tgt.precheckBehavior = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.precheckBehavior-R4toR5', 'code'); src.cardinalityBehavior as v -> tgt.cardinalityBehavior = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.cardinalityBehavior-R4toR5', 'code'); src.resource -> tgt.resource; } group RequestOrchestrationActionCondition(source src, target tgt) extends BackboneElement { src.kind as v -> tgt.kind = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.condition.kind-R4toR5', 'code'); src.expression -> tgt.expression; } // group RequestOrchestrationActionInput(source src, target tgt) extends BackboneElement { // src.title -> tgt.title; // src.requirement -> tgt.requirement; // src.relatedData -> tgt.relatedData; // } // group RequestOrchestrationActionOutput(source src, target tgt) extends BackboneElement { // src.title -> tgt.title; // src.requirement -> tgt.requirement; // src.relatedData -> tgt.relatedData; // } group RequestOrchestrationActionRelatedAction(source src, target tgt) extends BackboneElement { src.actionId -> tgt.targetId; src.relationship as v -> tgt.relationship = translate(v, 'http://hl7.org/fhir/ConceptMap/RequestGroup.action.relatedAction.relationship-R4toR5', 'code'); src.offset : Duration -> tgt.offset; src.offset : Range -> tgt.offset; }