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/PlanDefinition3to4 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: PlanDefinition3to4 |
PlanDefinitionTransformsR3toR4
/// url = 'http://hl7.org/fhir/StructureMap/PlanDefinition3to4' /// name = 'PlanDefinition3to4' /// title = 'PlanDefinition Transforms: R3 to R4' /// status = 'active' uses "http://hl7.org/fhir/3.0/PlanDefinition" alias PlanDefinitionR3 as source uses "http://hl7.org/fhir/4.0/PlanDefinition" alias PlanDefinition as target imports "http://hl7.org/fhir/StructureMap/*3to4" group PlanDefinition(source src : PlanDefinitionR3, target tgt : PlanDefinition) extends DomainResource <<type+>> { src.url -> tgt.url; src.identifier -> tgt.identifier; src.version -> tgt.version; src.name -> tgt.name; src.title -> tgt.title; src.type -> tgt.type; src.status -> tgt.status; src.experimental -> tgt.experimental; src.date -> tgt.date; src.publisher -> tgt.publisher; src.description -> tgt.description; src.purpose -> tgt.purpose; src.usage -> tgt.usage; src.approvalDate -> tgt.approvalDate; src.lastReviewDate -> tgt.lastReviewDate; src.effectivePeriod -> tgt.effectivePeriod; src.useContext -> tgt.useContext; src.jurisdiction -> tgt.jurisdiction; src.topic -> tgt.topic; src.contributor as vs where type = 'author' -> tgt.author as vt then Contributor(vs, vt); src.contributor as vs where type = 'editor' -> tgt.editor as vt then Contributor(vs, vt); src.contributor as vs where type = 'reviewer' -> tgt.reviewer as vt then Contributor(vs, vt); src.contributor as vs where type = 'endorser' -> tgt.endorser as vt then Contributor(vs, vt); src.contact -> tgt.contact; src.copyright -> tgt.copyright; src.relatedArtifact -> tgt.relatedArtifact; src.library -> tgt.library; src.goal as vs0 -> tgt.goal as vt0 then goal(vs0, vt0); src.action as vs0 -> tgt.action as vt0 then action(vs0, vt0); } group goal(source src, target tgt) extends BackboneElement { src.category -> tgt.category; src.description -> tgt.description; src.priority -> tgt.priority; src.start -> tgt.start; src.addresses -> tgt.addresses; src.documentation -> tgt.documentation; src.target as vs0 -> tgt.target as vt0 then target(vs0, vt0); } group target(source src, target tgt) extends BackboneElement { src.measure -> tgt.measure; src.detail -> tgt.detail; src.due -> tgt.due; } group action(source src, target tgt) extends BackboneElement { src.label -> tgt.prefix; src.title -> tgt.title; src.description -> tgt.description; src.textEquivalent -> tgt.textEquivalent; src.code -> tgt.code; src.reason -> tgt.reason; src.documentation -> tgt.documentation; src.goalId -> tgt.goalId; src.triggerDefinition -> tgt.trigger; src.condition as vs0 -> tgt.condition as vt0 then condition(vs0, vt0); src.input -> tgt.input; src.output -> tgt.output; src.relatedAction as vs0 -> tgt.relatedAction as vt0 then relatedAction(vs0, vt0); 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.type -> tgt.type; src.groupingBehavior -> tgt.groupingBehavior; src.selectionBehavior -> tgt.selectionBehavior; src.requiredBehavior -> tgt.requiredBehavior; src.precheckBehavior -> tgt.precheckBehavior; src.cardinalityBehavior -> tgt.cardinalityBehavior; src.definition -> src.definition; src.transform -> src.transform; src.dynamicValue as vs0 -> tgt.dynamicValue as vt0 then dynamicValue(vs0, vt0); src.action as vs0 -> tgt.action as vt0 then action(vs0, vt0); } group condition(source src, target tgt) extends BackboneElement { src.kind -> tgt.kind; src.description as v -> tgt.expression as e, e.description = v; src.language as v -> tgt.expression as e, e.language = v; src.expression as v -> tgt.expression as e, e.expression = v; } 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); } group dynamicValue(source src, target tgt) extends BackboneElement { src.path -> tgt.path; src.description as v -> tgt.expression as e, e.description = v; src.language as v -> tgt.expression as e, e.language = v; src.expression as v -> tgt.expression as e, e.expression = v; }