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/Extension2to3 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Extension2to3 |
ExtensionTransformsR2toR3
/// url = 'http://hl7.org/fhir/StructureMap/Extension2to3' /// name = 'Extension2to3' /// title = 'Extension Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/Extension" alias ExtensionR2 as source uses "http://hl7.org/fhir/3.0/Extension" alias Extension as target imports "http://hl7.org/fhir/StructureMap/primitives2to3" imports "http://hl7.org/fhir/StructureMap/Element2to3" imports "http://hl7.org/fhir/StructureMap/Meta2to3" imports "http://hl7.org/fhir/StructureMap/Address2to3" imports "http://hl7.org/fhir/StructureMap/Attachment2to3" imports "http://hl7.org/fhir/StructureMap/HumanName2to3" imports "http://hl7.org/fhir/StructureMap/ContactPoint2to3" imports "http://hl7.org/fhir/StructureMap/Identifier2to3" imports "http://hl7.org/fhir/StructureMap/Coding2to3" imports "http://hl7.org/fhir/StructureMap/SampledData2to3" imports "http://hl7.org/fhir/StructureMap/Ratio2to3" imports "http://hl7.org/fhir/StructureMap/Reference2to3" imports "http://hl7.org/fhir/StructureMap/Quantity2to3" imports "http://hl7.org/fhir/StructureMap/QuantityM2to3" imports "http://hl7.org/fhir/StructureMap/Period2to3" imports "http://hl7.org/fhir/StructureMap/Range2to3" imports "http://hl7.org/fhir/StructureMap/Annotation2to3" imports "http://hl7.org/fhir/StructureMap/Signature2to3" imports "http://hl7.org/fhir/StructureMap/Timing2to3" imports "http://hl7.org/fhir/StructureMap/CodeableConcept2to3" group Extension(source src : ExtensionR2, target tgt : Extension) extends Element <<type+>> { src.url -> tgt.url "Extension-url"; src.value : boolean as vs -> tgt.value = create('boolean') as vt then boolean(vs, vt) "Extension-value-boolean"; src.value : integer as vs -> tgt.value = create('integer') as vt then integer(vs, vt) "Extension-value-integer"; src.value : decimal as vs -> tgt.value = create('decimal') as vt then decimal(vs, vt) "Extension-value-decimal"; src.value : base64Binary as vs -> tgt.value = create('base64Binary') as vt then base64Binary(vs, vt) "Extension-value-base64Binary"; src.value : instant as vs -> tgt.value = create('instant') as vt then instant(vs, vt) "Extension-value-instant"; src.value : string as vs -> tgt.value = create('string') as vt then string(vs, vt) "Extension-value-string"; src.value : uri as vs -> tgt.value = create('uri') as vt then uri(vs, vt) "Extension-value-uri"; src.value : date as vs -> tgt.value = create('date') as vt then date(vs, vt) "Extension-value-date"; src.value : dateTime as vs -> tgt.value = create('dateTime') as vt then dateTime(vs, vt) "Extension-value-dateTime"; src.value : time as vs -> tgt.value = create('time') as vt then time(vs, vt) "Extension-value-time"; src.value : code as vs -> tgt.value = create('code') as vt then code(vs, vt) "Extension-value-code"; src.value : oid as vs -> tgt.value = create('oid') as vt then oid(vs, vt) "Extension-value-oid"; src.value : id as vs -> tgt.value = create('id') as vt then id(vs, vt) "Extension-value-id"; src.value : unsignedInt as vs -> tgt.value = create('unsignedInt') as vt then unsignedInt(vs, vt) "Extension-value-unsignedInt"; src.value : positiveInt as vs -> tgt.value = create('positiveInt') as vt then positiveInt(vs, vt) "Extension-value-positiveInt"; src.value : markdown as vs -> tgt.value = create('markdown') as vt then markdown(vs, vt) "Extension-value-markdown"; src.value : Annotation as vs -> tgt.value = create('Annotation') as vt then Annotation(vs, vt) "Extension-value-Annotation"; src.value : Attachment as vs -> tgt.value = create('Attachment') as vt then Attachment(vs, vt) "Extension-value-Attachment"; src.value : Identifier as vs -> tgt.value = create('Identifier') as vt then Identifier(vs, vt) "Extension-value-Identifier"; src.value : CodeableConcept as vs -> tgt.value = create('CodeableConcept') as vt then CodeableConcept(vs, vt) "Extension-value-CodeableConcept"; src.value : Coding as vs -> tgt.value = create('Coding') as vt then Coding(vs, vt) "Extension-value-Coding"; src.value : Quantity as vs -> tgt.value = create('Quantity') as vt then Quantity(vs, vt) "Extension-value-Quantity"; src.value : Range as vs -> tgt.value = create('Range') as vt then Range(vs, vt) "Extension-value-Range"; src.value : Period as vs -> tgt.value = create('Period') as vt then Period(vs, vt) "Extension-value-Period"; src.value : Ratio as vs -> tgt.value = create('Ratio') as vt then Ratio(vs, vt) "Extension-value-Ratio"; src.value : SampledData as vs -> tgt.value = create('SampledData') as vt then SampledData(vs, vt) "Extension-value-SampledData"; src.value : Signature as vs -> tgt.value = create('Signature') as vt then Signature(vs, vt) "Extension-value-Signature"; src.value : HumanName as vs -> tgt.value = create('HumanName') as vt then HumanName(vs, vt) "Extension-value-HumanName"; src.value : Address as vs -> tgt.value = create('Address') as vt then Address(vs, vt) "Extension-value-Address"; src.value : ContactPoint as vs -> tgt.value = create('ContactPoint') as vt then ContactPoint(vs, vt) "Extension-value-ContactPoint"; src.value : Timing as vs -> tgt.value = create('Timing') as vt then Timing(vs, vt) "Extension-value-Timing"; src.value : Reference as vs -> tgt.value = create('Reference') as vt then Reference(vs, vt) "Extension-value-Reference"; src.value : Meta as vs -> tgt.value = create('Meta') as vt then Meta(vs, vt) "Extension-value-Meta"; }