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
Page standards status: Draft | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="Extension3to4"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://hl7.org/fhir/StructureMap/Extension3to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Extension3to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'Extension Transforms: R3 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/3.0/Extension<span style="color: navy">" </span><b>alias </b>ExtensionR3 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/Extension<span style="color: navy">" </span><b>alias </b>Extension <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*3to4<span style="color: navy">"
</span>
<b>group </b>Extension<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ExtensionR3, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>Extension<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.url<span style="color: navy"><b> -> </b></span>tgt.url<span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>base64Binary<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'base64Binary'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>base64Binary<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>boolean<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'boolean'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>boolean<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>code<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'code'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>code<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>date<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'date'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>date<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>dateTime<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'dateTime'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>dateTime<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>decimal<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'decimal'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>decimal<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>id<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'id'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>id<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>instant<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'instant'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>instant<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'integer'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>integer<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>markdown<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'markdown'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>markdown<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>oid<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'oid'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>oid<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>positiveInt<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'positiveInt'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>positiveInt<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>string<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>string<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>time<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'time'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>time<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>unsignedInt<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'unsignedInt'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>unsignedInt<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>uri<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'uri'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>uri<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Address<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Address'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Address<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Age<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Age'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Age<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Annotation<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Annotation'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Annotation<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Attachment<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Attachment'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Attachment<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>CodeableConcept<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Coding<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Coding<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>ContactPoint<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'ContactPoint'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>ContactPoint<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Count<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Count'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Count<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Distance<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Distance'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Distance<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Duration<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Duration'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Duration<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>HumanName<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'HumanName'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>HumanName<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Identifier<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Identifier'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Identifier<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Money<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Money'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Money<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Period<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Period'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Period<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Quantity'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Quantity<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Range<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Range'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Range<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Ratio<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Ratio'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Ratio<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Reference'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Reference<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>SampledData<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'SampledData'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>SampledData<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Signature<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Signature'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Signature<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Timing<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Timing'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Timing<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
</extension>
</valueInteger>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="draft">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
</extension>
</valueCode>
</extension>
<url value="http://hl7.org/fhir/StructureMap/Extension3to4"/>
<version value="0.1.0"/>
<name value="Extension3to4"/>
<title value="Extension Transforms: R3 to R4"/>
<status value="active"/>
<date value="2024-02-22T03:16:50+00:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<description value="ExtensionTransformsR3toR4"/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
</coding>
</jurisdiction>
<structure>
<url value="http://hl7.org/fhir/3.0/Extension"/>
<mode value="source"/>
<alias value="ExtensionR3"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/Extension"/>
<mode value="target"/>
<alias value="Extension"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*3to4"/>
<group>
<name value="Extension"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="ExtensionR3"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="Extension"/>
<mode value="target"/>
</input>
<rule>
<name value="url"/>
<source>
<context value="src"/>
<element value="url"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="url"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueBase64Binary"/>
<source>
<context value="src"/>
<type value="base64Binary"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="base64Binary"/>
</parameter>
</target>
<dependent>
<name value="base64Binary"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueBoolean"/>
<source>
<context value="src"/>
<type value="boolean"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="boolean"/>
</parameter>
</target>
<dependent>
<name value="boolean"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueCode"/>
<source>
<context value="src"/>
<type value="code"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="code"/>
</parameter>
</target>
<dependent>
<name value="code"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueDate"/>
<source>
<context value="src"/>
<type value="date"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="date"/>
</parameter>
</target>
<dependent>
<name value="date"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueDateTime"/>
<source>
<context value="src"/>
<type value="dateTime"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="dateTime"/>
</parameter>
</target>
<dependent>
<name value="dateTime"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueDecimal"/>
<source>
<context value="src"/>
<type value="decimal"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="decimal"/>
</parameter>
</target>
<dependent>
<name value="decimal"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueId"/>
<source>
<context value="src"/>
<type value="id"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="id"/>
</parameter>
</target>
<dependent>
<name value="id"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueInstant"/>
<source>
<context value="src"/>
<type value="instant"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="instant"/>
</parameter>
</target>
<dependent>
<name value="instant"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueInteger"/>
<source>
<context value="src"/>
<type value="integer"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="integer"/>
</parameter>
</target>
<dependent>
<name value="integer"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueMarkdown"/>
<source>
<context value="src"/>
<type value="markdown"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="markdown"/>
</parameter>
</target>
<dependent>
<name value="markdown"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueOid"/>
<source>
<context value="src"/>
<type value="oid"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="oid"/>
</parameter>
</target>
<dependent>
<name value="oid"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valuePositiveInt"/>
<source>
<context value="src"/>
<type value="positiveInt"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="positiveInt"/>
</parameter>
</target>
<dependent>
<name value="positiveInt"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueString"/>
<source>
<context value="src"/>
<type value="string"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="string"/>
</parameter>
</target>
<dependent>
<name value="string"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueTime"/>
<source>
<context value="src"/>
<type value="time"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="time"/>
</parameter>
</target>
<dependent>
<name value="time"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueUnsignedInt"/>
<source>
<context value="src"/>
<type value="unsignedInt"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="unsignedInt"/>
</parameter>
</target>
<dependent>
<name value="unsignedInt"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueUri"/>
<source>
<context value="src"/>
<type value="uri"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="uri"/>
</parameter>
</target>
<dependent>
<name value="uri"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueAddress"/>
<source>
<context value="src"/>
<type value="Address"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Address"/>
</parameter>
</target>
<dependent>
<name value="Address"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueAge"/>
<source>
<context value="src"/>
<type value="Age"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Age"/>
</parameter>
</target>
<dependent>
<name value="Age"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueAnnotation"/>
<source>
<context value="src"/>
<type value="Annotation"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Annotation"/>
</parameter>
</target>
<dependent>
<name value="Annotation"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueAttachment"/>
<source>
<context value="src"/>
<type value="Attachment"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Attachment"/>
</parameter>
</target>
<dependent>
<name value="Attachment"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueCodeableConcept"/>
<source>
<context value="src"/>
<type value="CodeableConcept"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<dependent>
<name value="CodeableConcept"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueCoding"/>
<source>
<context value="src"/>
<type value="Coding"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<dependent>
<name value="Coding"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueContactPoint"/>
<source>
<context value="src"/>
<type value="ContactPoint"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="ContactPoint"/>
</parameter>
</target>
<dependent>
<name value="ContactPoint"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueCount"/>
<source>
<context value="src"/>
<type value="Count"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Count"/>
</parameter>
</target>
<dependent>
<name value="Count"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueDistance"/>
<source>
<context value="src"/>
<type value="Distance"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Distance"/>
</parameter>
</target>
<dependent>
<name value="Distance"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueDuration"/>
<source>
<context value="src"/>
<type value="Duration"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Duration"/>
</parameter>
</target>
<dependent>
<name value="Duration"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueHumanName"/>
<source>
<context value="src"/>
<type value="HumanName"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="HumanName"/>
</parameter>
</target>
<dependent>
<name value="HumanName"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueIdentifier"/>
<source>
<context value="src"/>
<type value="Identifier"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Identifier"/>
</parameter>
</target>
<dependent>
<name value="Identifier"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueMoney"/>
<source>
<context value="src"/>
<type value="Money"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Money"/>
</parameter>
</target>
<dependent>
<name value="Money"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valuePeriod"/>
<source>
<context value="src"/>
<type value="Period"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Period"/>
</parameter>
</target>
<dependent>
<name value="Period"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueQuantity"/>
<source>
<context value="src"/>
<type value="Quantity"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Quantity"/>
</parameter>
</target>
<dependent>
<name value="Quantity"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Range"/>
</parameter>
</target>
<dependent>
<name value="Range"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueRatio"/>
<source>
<context value="src"/>
<type value="Ratio"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Ratio"/>
</parameter>
</target>
<dependent>
<name value="Ratio"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueReference"/>
<source>
<context value="src"/>
<type value="Reference"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<dependent>
<name value="Reference"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueSampledData"/>
<source>
<context value="src"/>
<type value="SampledData"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="SampledData"/>
</parameter>
</target>
<dependent>
<name value="SampledData"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueSignature"/>
<source>
<context value="src"/>
<type value="Signature"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Signature"/>
</parameter>
</target>
<dependent>
<name value="Signature"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="valueTiming"/>
<source>
<context value="src"/>
<type value="Timing"/>
<element value="value"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Timing"/>
</parameter>
</target>
<dependent>
<name value="Timing"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
</group>
</StructureMap>