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="Primitives5to4B"/>
<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/Primitives5to4B'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Primitives5to4B'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'Primitive Transforms: R5 to R4B'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'draft'</span>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/base64Binary<span style="color: navy">" </span><b>alias </b>base64BinaryR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/base64Binary<span style="color: navy">" </span><b>alias </b>base64BinaryR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/boolean<span style="color: navy">" </span><b>alias </b>booleanR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/boolean<span style="color: navy">" </span><b>alias </b>booleanR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/canonical<span style="color: navy">" </span><b>alias </b>canonicalR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/canonical<span style="color: navy">" </span><b>alias </b>canonicalR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/code<span style="color: navy">" </span><b>alias </b>codeR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/code<span style="color: navy">" </span><b>alias </b>codeR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/date<span style="color: navy">" </span><b>alias </b>dateR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/date<span style="color: navy">" </span><b>alias </b>dateR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/dateTime<span style="color: navy">" </span><b>alias </b>dateTimeR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/dateTime<span style="color: navy">" </span><b>alias </b>dateTimeR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/decimal<span style="color: navy">" </span><b>alias </b>decimalR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/decimal<span style="color: navy">" </span><b>alias </b>decimalR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/id<span style="color: navy">" </span><b>alias </b>idR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/id<span style="color: navy">" </span><b>alias </b>idR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/instant<span style="color: navy">" </span><b>alias </b>instantR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/instant<span style="color: navy">" </span><b>alias </b>instantR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/integer<span style="color: navy">" </span><b>alias </b>integerR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/integer<span style="color: navy">" </span><b>alias </b>integerR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/integer64<span style="color: navy">" </span><b>alias </b>integer64R5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/markdown<span style="color: navy">" </span><b>alias </b>markdownR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/markdown<span style="color: navy">" </span><b>alias </b>markdownR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/oid<span style="color: navy">" </span><b>alias </b>oidR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/oid<span style="color: navy">" </span><b>alias </b>oidR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/positiveInt<span style="color: navy">" </span><b>alias </b>positiveIntR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/positiveInt<span style="color: navy">" </span><b>alias </b>positiveIntR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/string<span style="color: navy">" </span><b>alias </b>stringR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/string<span style="color: navy">" </span><b>alias </b>stringR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/time<span style="color: navy">" </span><b>alias </b>timeR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/time<span style="color: navy">" </span><b>alias </b>timeR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/unsignedInt<span style="color: navy">" </span><b>alias </b>unsignedIntR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/unsignedInt<span style="color: navy">" </span><b>alias </b>unsignedIntR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/uri<span style="color: navy">" </span><b>alias </b>uriR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/uri<span style="color: navy">" </span><b>alias </b>uriR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/url<span style="color: navy">" </span><b>alias </b>urlR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/url<span style="color: navy">" </span><b>alias </b>urlR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/uuid<span style="color: navy">" </span><b>alias </b>uuidR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/uuid<span style="color: navy">" </span><b>alias </b>uuidR4B <b>as </b><b>target</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/xhtml<span style="color: navy">" </span><b>alias </b>xhtmlR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/xhtml<span style="color: navy">" </span><b>alias </b>xhtmlR4B <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/extensions/1.0.0/StructureMap-Element5to4B.html" title="FML Conversion for Element: R5 to R4B">http://hl7.org/fhir/StructureMap/Element5to4B</a><span style="color: navy">"
</span>
<b>group </b>base64Binary<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>base64BinaryR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>base64BinaryR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"base64BinaryValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>boolean<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>booleanR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>booleanR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"booleanValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>canonical<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>canonicalR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>canonicalR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"canonicalValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>canonical2uri<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>canonicalR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>uriR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"canonical2uriValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>code<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>codeR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>codeR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"codeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>code2id<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>codeR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>idR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"code2idValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>code2string<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>codeR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>stringR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"code2stringValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>code2uri<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>codeR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>uriR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"code2uriValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>date<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>dateR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>dateR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"dateValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>date2dateTime<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>dateR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>dateTimeR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"date2dateTimeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>dateTime<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>dateTimeR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>dateTimeR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"dateTimeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>dateTime2date<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>dateTimeR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>dateR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"dateTime2dateValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>decimal<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>decimalR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>decimalR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"decimalValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>id<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>idR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>idR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"idValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>id2Code<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>idR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>codeR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"id2CodeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>id2string<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>idR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>stringR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"id2stringValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>instant<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>instantR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>instantR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"instantValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>integer<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>integerR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>integerR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"integerValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>integer64<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>integer64R5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>integerR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"integer64Value"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>integer642string<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>integer64R5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>stringR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"integer642stringValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>markdown<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>markdownR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>markdownR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"markdownValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>markdown2string<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>markdownR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>stringR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"markdown2stringValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>oid<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>oidR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>oidR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"oidValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>positiveInt<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>positiveIntR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>positiveIntR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"positiveIntValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>string<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>stringR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>stringR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"stringValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>string2markdown<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>stringR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>markdownR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"string2markdownValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>string2id<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>stringR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>idR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"string2idValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>string2code<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>stringR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>codeR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"string2codeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>time<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>timeR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>timeR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"timeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>unsignedInt<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>unsignedIntR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>unsignedIntR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"unsignedIntValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>unsignedInt<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>integer64R5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>unsignedIntR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"unsignedIntValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>uri<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>uriR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>uriR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"uriValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>uri2canonical<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>uriR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>canonicalR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"uri2canonicalValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>uri2code<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>uriR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>codeR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<types>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"uri2codeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>url<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>urlR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>urlR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"urlValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>uuid<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>uuidR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>uuidR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"uuidValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>xhtml<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>xhtmlR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>xhtmlR4B<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.value = <span style="color: maroon">v</span> <i>"xhtmlValue"</i><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/Primitives5to4B"/>
<version value="0.1.0"/>
<name value="Primitives5to4B"/>
<title value="Primitive Transforms: R5 to R4B"/>
<status value="draft"/>
<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="PrimitiveTransformsR5toR4B"/>
<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/5.0/base64Binary"/>
<mode value="source"/>
<alias value="base64BinaryR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/base64Binary"/>
<mode value="target"/>
<alias value="base64BinaryR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/boolean"/>
<mode value="source"/>
<alias value="booleanR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/boolean"/>
<mode value="target"/>
<alias value="booleanR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/canonical"/>
<mode value="source"/>
<alias value="canonicalR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/canonical"/>
<mode value="target"/>
<alias value="canonicalR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/code"/>
<mode value="source"/>
<alias value="codeR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/code"/>
<mode value="target"/>
<alias value="codeR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/date"/>
<mode value="source"/>
<alias value="dateR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/date"/>
<mode value="target"/>
<alias value="dateR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/dateTime"/>
<mode value="source"/>
<alias value="dateTimeR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/dateTime"/>
<mode value="target"/>
<alias value="dateTimeR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/decimal"/>
<mode value="source"/>
<alias value="decimalR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/decimal"/>
<mode value="target"/>
<alias value="decimalR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/id"/>
<mode value="source"/>
<alias value="idR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/id"/>
<mode value="target"/>
<alias value="idR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/instant"/>
<mode value="source"/>
<alias value="instantR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/instant"/>
<mode value="target"/>
<alias value="instantR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/integer"/>
<mode value="source"/>
<alias value="integerR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/integer"/>
<mode value="target"/>
<alias value="integerR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/integer64"/>
<mode value="source"/>
<alias value="integer64R5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/markdown"/>
<mode value="source"/>
<alias value="markdownR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/markdown"/>
<mode value="target"/>
<alias value="markdownR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/oid"/>
<mode value="source"/>
<alias value="oidR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/oid"/>
<mode value="target"/>
<alias value="oidR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/positiveInt"/>
<mode value="source"/>
<alias value="positiveIntR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/positiveInt"/>
<mode value="target"/>
<alias value="positiveIntR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/string"/>
<mode value="source"/>
<alias value="stringR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/string"/>
<mode value="target"/>
<alias value="stringR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/time"/>
<mode value="source"/>
<alias value="timeR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/time"/>
<mode value="target"/>
<alias value="timeR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/unsignedInt"/>
<mode value="source"/>
<alias value="unsignedIntR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/unsignedInt"/>
<mode value="target"/>
<alias value="unsignedIntR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/uri"/>
<mode value="source"/>
<alias value="uriR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/uri"/>
<mode value="target"/>
<alias value="uriR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/url"/>
<mode value="source"/>
<alias value="urlR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/url"/>
<mode value="target"/>
<alias value="urlR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/uuid"/>
<mode value="source"/>
<alias value="uuidR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/uuid"/>
<mode value="target"/>
<alias value="uuidR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/5.0/xhtml"/>
<mode value="source"/>
<alias value="xhtmlR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/xhtml"/>
<mode value="target"/>
<alias value="xhtmlR4B"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/Element5to4B"/>
<group>
<name value="base64Binary"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="base64BinaryR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="base64BinaryR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="base64BinaryValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="boolean"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="booleanR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="booleanR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="booleanValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="canonical"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="canonicalR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="canonicalR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="canonicalValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="canonical2uri"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="canonicalR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="uriR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="canonical2uriValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="code"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="codeR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="codeR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="codeValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="code2id"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="codeR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="idR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="code2idValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="code2string"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="codeR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="stringR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="code2stringValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="code2uri"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="codeR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="uriR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="code2uriValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="date"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="dateR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="dateR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="dateValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="date2dateTime"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="dateR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="dateTimeR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="date2dateTimeValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="dateTime"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="dateTimeR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="dateTimeR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="dateTimeValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="dateTime2date"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="dateTimeR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="dateR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="dateTime2dateValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="decimal"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="decimalR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="decimalR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="decimalValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="id"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="idR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="idR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="idValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="id2Code"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="idR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="codeR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="id2CodeValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="id2string"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="idR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="stringR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="id2stringValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="instant"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="instantR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="instantR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="instantValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="integer"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="integerR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="integerR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="integerValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="integer64"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="integer64R5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="integerR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="integer64Value"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="integer642string"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="integer64R5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="stringR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="integer642stringValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="markdown"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="markdownR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="markdownR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="markdownValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="markdown2string"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="markdownR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="stringR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="markdown2stringValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="oid"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="oidR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="oidR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="oidValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="positiveInt"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="positiveIntR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="positiveIntR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="positiveIntValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="string"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="stringR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="stringR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="stringValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="string2markdown"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="stringR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="markdownR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="string2markdownValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="string2id"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="stringR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="idR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="string2idValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="string2code"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="stringR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="codeR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="string2codeValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="time"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="timeR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="timeR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="timeValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="unsignedInt"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="unsignedIntR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="unsignedIntR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="unsignedIntValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="unsignedInt"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="integer64R5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="unsignedIntR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="unsignedIntValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="uri"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="uriR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="uriR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="uriValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="uri2canonical"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="uriR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="canonicalR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="uri2canonicalValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="uri2code"/>
<extends value="Element"/>
<typeMode value="types"/>
<input>
<name value="src"/>
<type value="uriR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="codeR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="uri2codeValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="url"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="urlR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="urlR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="urlValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="uuid"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="uuidR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="uuidR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="uuidValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="xhtml"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="xhtmlR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="xhtmlR4B"/>
<mode value="target"/>
</input>
<rule>
<name value="xhtmlValue"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</group>
</StructureMap>