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/ImplementationGuide4to5 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: ImplementationGuide4to5 |
ImplementationGuideTransformsR4toR5
/// url = 'http://hl7.org/fhir/StructureMap/ImplementationGuide4to5' /// name = 'ImplementationGuide4to5' /// title = 'ImplementationGuide Transforms: R4 to R5' /// status = 'active' uses "http://hl7.org/fhir/4.0/ImplementationGuide" alias ImplementationGuideR4 as source uses "http://hl7.org/fhir/5.0/ImplementationGuide" alias ImplementationGuideR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group ImplementationGuide(source src : ImplementationGuideR4, target tgt : ImplementationGuideR5) extends DomainResource <<type+>> { src.url -> tgt.url; src.version -> tgt.version; src.name -> tgt.name; src.title -> tgt.title; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/ImplementationGuide.status-R4toR5', 'code'); src.experimental -> tgt.experimental; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.useContext -> tgt.useContext; src.jurisdiction -> tgt.jurisdiction; src.copyright -> tgt.copyright; src.packageId -> tgt.packageId; src.license as v -> tgt.license = translate(v, 'http://hl7.org/fhir/ConceptMap/ImplementationGuide.license-R4toR5', 'code'); src.fhirVersion -> tgt.fhirVersion; src.dependsOn as s -> tgt.dependsOn as t then ImplementationGuideDependsOn(s, t); src.global as s -> tgt.global as t then ImplementationGuideGlobal(s, t); src.definition as s -> tgt.definition as t then ImplementationGuideDefinition(s, t); src.manifest as s -> tgt.manifest as t then ImplementationGuideManifest(s, t); } group ImplementationGuideDependsOn(source src, target tgt) extends BackboneElement { src.uri -> tgt.uri; src.packageId -> tgt.packageId; src.version -> tgt.version; } group ImplementationGuideGlobal(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.profile -> tgt.profile; } group ImplementationGuideDefinition(source src, target tgt) extends BackboneElement { src.grouping as s -> tgt.grouping as t then ImplementationGuideDefinitionGrouping(s, t); src.resource as s -> tgt.resource as t then ImplementationGuideDefinitionResource(s, t); src.page as s -> tgt.page as t then ImplementationGuideDefinitionPage(s, t); src.parameter as s -> tgt.parameter as t then ImplementationGuideDefinitionParameter(s, t); src.template as s -> tgt.template as t then ImplementationGuideDefinitionTemplate(s, t); } group ImplementationGuideDefinitionGrouping(source src, target tgt) extends BackboneElement { src.name -> tgt.name; src.description -> tgt.description; } group ImplementationGuideDefinitionResource(source src, target tgt) extends BackboneElement { src.reference -> tgt.reference; src.fhirVersion as v -> tgt.fhirVersion = translate(v, '#FHIRVersion', 'code'); src.name -> tgt.name; src.description -> tgt.description; src.example : boolean -> tgt.isExample; src.example : canonical -> tgt.profile; src.groupingId -> tgt.groupingId; } group ImplementationGuideDefinitionPage(source src, target tgt) extends BackboneElement { src.name : url -> tgt.source; src.name : url -> tgt.name; src.title -> tgt.title; src.generation as v -> tgt.generation = translate(v, 'http://hl7.org/fhir/ConceptMap/ImplementationGuide.definition.page.generation-R4toR5', 'code'); src.page as s -> tgt.page as t then ImplementationGuideDefinitionPage(s, t); } group ImplementationGuideDefinitionParameter(source src, target tgt) extends BackboneElement { src.code as s -> tgt.code as t, t.system = 'http://hl7.org/fhir/guide-parameter-code', t.code = s; src.value -> tgt.value; } group ImplementationGuideDefinitionTemplate(source src, target tgt) extends BackboneElement { src.code -> tgt.code; src.source -> tgt.source; src.scope -> tgt.scope; } group ImplementationGuideManifest(source src, target tgt) extends BackboneElement { src.rendering -> tgt.rendering; src.resource as s -> tgt.resource as t then ImplementationGuideManifestResource(s, t); src.page as s -> tgt.page as t then ImplementationGuideManifestPage(s, t); src.image -> tgt.image; src.other -> tgt.other; } group ImplementationGuideManifestResource(source src, target tgt) extends BackboneElement { src.reference -> tgt.reference; src.example : boolean -> tgt.isExample; src.example : canonical -> tgt.profile; src.relativePath -> tgt.relativePath; } group ImplementationGuideManifestPage(source src, target tgt) extends BackboneElement { src.name -> tgt.name; src.title -> tgt.title; src.anchor -> tgt.anchor; }