FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

: FML Conversion for CapabilityStatement: R5 to R4B - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="CapabilityStatement5to4B"/>
  <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/CapabilityStatement5to4B'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'CapabilityStatement5to4B'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for CapabilityStatement: R5 to R4B'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>conceptmap</b><span style="color: navy"> &quot;</span>CapabilityStatementKind<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-capability-statement-kind.html" title="Capability Statement Kind">http://hl7.org/fhir/capability-statement-kind</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-capability-statement-kind.html" title="CapabilityStatementKind">http://hl7.org/fhir/4.3/capability-statement-kind</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>instance <b>-</b> t<span style="color: navy">:</span>instance
  s<span style="color: navy">:</span>capability <b>-</b> t<span style="color: navy">:</span>capability
  s<span style="color: navy">:</span>requirements <b>-</b> t<span style="color: navy">:</span>requirements
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ConditionalDeleteStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-conditional-delete-status.html" title="Conditional Delete Status">http://hl7.org/fhir/conditional-delete-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-conditional-delete-status.html" title="ConditionalDeleteStatus">http://hl7.org/fhir/4.3/conditional-delete-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>&quot;not-supported&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>not-supported<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>single <b>-</b> t<span style="color: navy">:</span>single
  s<span style="color: navy">:</span>multiple <b>-</b> t<span style="color: navy">:</span>multiple
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ConditionalReadStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-conditional-read-status.html" title="Conditional Read Status">http://hl7.org/fhir/conditional-read-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-conditional-read-status.html" title="ConditionalReadStatus">http://hl7.org/fhir/4.3/conditional-read-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>&quot;not-supported&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>not-supported<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;modified-since&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>modified-since<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;not-match&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>not-match<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;full-support&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>full-support<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>DocumentMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-document-mode.html" title="Document Mode">http://hl7.org/fhir/document-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-document-mode.html" title="DocumentMode">http://hl7.org/fhir/4.3/document-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>producer <b>-</b> t<span style="color: navy">:</span>producer
  s<span style="color: navy">:</span>consumer <b>-</b> t<span style="color: navy">:</span>consumer
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>EventCapabilityMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-event-capability-mode.html" title="Event Capability Mode">http://hl7.org/fhir/event-capability-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-event-capability-mode.html" title="EventCapabilityMode">http://hl7.org/fhir/4.3/event-capability-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>sender <b>-</b> t<span style="color: navy">:</span>sender
  s<span style="color: navy">:</span>receiver <b>-</b> t<span style="color: navy">:</span>receiver
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>PublicationStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/publication-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.3/publication-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
  s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
  s<span style="color: navy">:</span>retired <b>-</b> t<span style="color: navy">:</span>retired
  s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ReferenceHandlingPolicy<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-reference-handling-policy.html" title="Reference Handling Policy">http://hl7.org/fhir/reference-handling-policy</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-reference-handling-policy.html" title="ReferenceHandlingPolicy">http://hl7.org/fhir/4.3/reference-handling-policy</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>literal <b>-</b> t<span style="color: navy">:</span>literal
  s<span style="color: navy">:</span>logical <b>-</b> t<span style="color: navy">:</span>logical
  s<span style="color: navy">:</span>resolves <b>-</b> t<span style="color: navy">:</span>resolves
  s<span style="color: navy">:</span>enforced <b>-</b> t<span style="color: navy">:</span>enforced
  s<span style="color: navy">:</span>local <b>-</b> t<span style="color: navy">:</span>local
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ResourceVersionPolicy<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-versioning-policy.html" title="Resource Version Policy">http://hl7.org/fhir/versioning-policy</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-versioning-policy.html" title="ResourceVersionPolicy">http://hl7.org/fhir/4.3/versioning-policy</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>&quot;no-version&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>no-version<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>versioned <b>-</b> t<span style="color: navy">:</span>versioned
  s<span style="color: navy">:</span>&quot;versioned-update&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>versioned-update<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>RestfulCapabilityMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-restful-capability-mode.html" title="Restful Capability Mode">http://hl7.org/fhir/restful-capability-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-restful-capability-mode.html" title="RestfulCapabilityMode">http://hl7.org/fhir/4.3/restful-capability-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>client <b>-</b> t<span style="color: navy">:</span>client
  s<span style="color: navy">:</span>server <b>-</b> t<span style="color: navy">:</span>server
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>SearchParamType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-search-param-type.html" title="SearchParamType">http://hl7.org/fhir/search-param-type</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-search-param-type.html" title="SearchParamType">http://hl7.org/fhir/4.3/search-param-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>number <b>-</b> t<span style="color: navy">:</span>number
  s<span style="color: navy">:</span>date <b>-</b> t<span style="color: navy">:</span>date
  s<span style="color: navy">:</span>string <b>-</b> t<span style="color: navy">:</span>string
  s<span style="color: navy">:</span>token <b>-</b> t<span style="color: navy">:</span>token
  s<span style="color: navy">:</span>reference <b>-</b> t<span style="color: navy">:</span>reference
  s<span style="color: navy">:</span>composite <b>-</b> t<span style="color: navy">:</span>composite
  s<span style="color: navy">:</span>quantity <b>-</b> t<span style="color: navy">:</span>quantity
  s<span style="color: navy">:</span>uri <b>-</b> t<span style="color: navy">:</span>uri
  s<span style="color: navy">:</span>special <b>-</b> t<span style="color: navy">:</span>special
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/capabilitystatement.html" title="CapabilityStatement">http://hl7.org/fhir/StructureDefinition/CapabilityStatement</a><span style="color: navy">&quot; </span><b>alias </b>CapabilityStatementR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/capabilitystatement.html" title="CapabilityStatement">http://hl7.org/fhir/4.3/StructureDefinition/CapabilityStatement</a><span style="color: navy">&quot; </span><b>alias </b>CapabilityStatementR4B <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4B<span style="color: navy">&quot;
</span>
<b>group </b>CapabilityStatement<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>CapabilityStatementR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>CapabilityStatementR4B<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.identifier -&gt; tgt.identifier;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#PublicationStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.experimental<span style="color: navy"><b> -&gt; </b></span>tgt.experimental<span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.publisher<span style="color: navy"><b> -&gt; </b></span>tgt.publisher<span style="color: navy">;</span>
  src.contact<span style="color: navy"><b> -&gt; </b></span>tgt.contact<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.useContext<span style="color: navy"><b> -&gt; </b></span>tgt.useContext<span style="color: navy">;</span>
  src.jurisdiction<span style="color: navy"><b> -&gt; </b></span>tgt.jurisdiction<span style="color: navy">;</span>
  src.purpose<span style="color: navy"><b> -&gt; </b></span>tgt.purpose<span style="color: navy">;</span>
  src.copyright<span style="color: navy"><b> -&gt; </b></span>tgt.copyright<span style="color: navy">;</span>
  src.kind<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.kind = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#CapabilityStatementKind'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -&gt; tgt.copyrightLabel;</span>
  src.instantiates<span style="color: navy"><b> -&gt; </b></span>tgt.instantiates<span style="color: navy">;</span>
  src.imports<span style="color: navy"><b> -&gt; </b></span>tgt.imports<span style="color: navy">;</span>
  src.software<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.software<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementSoftware<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.implementation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.implementation<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementImplementation<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.fhirVersion<span style="color: navy"><b> -&gt; </b></span>tgt.fhirVersion<span style="color: navy">;</span>
  src.format<span style="color: navy"><b> -&gt; </b></span>tgt.format<span style="color: navy">;</span>
  src.patchFormat<span style="color: navy"><b> -&gt; </b></span>tgt.patchFormat<span style="color: navy">;</span>
  src.implementationGuide<span style="color: navy"><b> -&gt; </b></span>tgt.implementationGuide<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.acceptLanguage -&gt; tgt.acceptLanguage;</span>
  src.rest<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.rest<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementRest<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.messaging<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.messaging<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementMessaging<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.document<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.document<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementDocument<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementSoftware<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span>
  src.releaseDate<span style="color: navy"><b> -&gt; </b></span>tgt.releaseDate<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementImplementation<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.custodian<span style="color: navy"><b> -&gt; </b></span>tgt.custodian<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementRest<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.mode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.mode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#RestfulCapabilityMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
  src.security<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.security<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementRestSecurity<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.resource<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.resource<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementRestResource<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.interaction<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.interaction<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementRestInteraction<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.compartment<span style="color: navy"><b> -&gt; </b></span>tgt.compartment<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementRestSecurity<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.cors<span style="color: navy"><b> -&gt; </b></span>tgt.cors<span style="color: navy">;</span>
  src.service<span style="color: navy"><b> -&gt; </b></span>tgt.service<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementRestResource<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.type<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.type = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'http://hl7.org/fhir/interversion/types5to4b'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.profile<span style="color: navy">;</span>
  src.supportedProfile<span style="color: navy"><b> -&gt; </b></span>tgt.supportedProfile<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
  src.interaction<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.interaction<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementRestResourceInteraction<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.versioning<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.versioning = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ResourceVersionPolicy'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.readHistory<span style="color: navy"><b> -&gt; </b></span>tgt.readHistory<span style="color: navy">;</span>
  src.updateCreate<span style="color: navy"><b> -&gt; </b></span>tgt.updateCreate<span style="color: navy">;</span>
  src.conditionalCreate<span style="color: navy"><b> -&gt; </b></span>tgt.conditionalCreate<span style="color: navy">;</span>
  src.conditionalRead<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.conditionalRead = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ConditionalReadStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.conditionalUpdate<span style="color: navy"><b> -&gt; </b></span>tgt.conditionalUpdate<span style="color: navy">;</span>
  src.conditionalDelete<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.conditionalDelete = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ConditionalDeleteStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.conditionalPatch -&gt; tgt.conditionalPatch;</span>
  src.referencePolicy<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.referencePolicy = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ReferenceHandlingPolicy'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.searchInclude<span style="color: navy"><b> -&gt; </b></span>tgt.searchInclude<span style="color: navy">;</span>
  src.searchRevInclude<span style="color: navy"><b> -&gt; </b></span>tgt.searchRevInclude<span style="color: navy">;</span>
  src.searchParam<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.searchParam<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementRestResourceSearchParam<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.operation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.operation<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementRestResourceOperation<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementRestResourceInteraction<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementRestResourceSearchParam<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.definition<span style="color: navy"><b> -&gt; </b></span>tgt.definition<span style="color: navy">;</span>
  src.type<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.type = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SearchParamType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementRestResourceOperation<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.definition<span style="color: navy"><b> -&gt; </b></span>tgt.definition<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementRestInteraction<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementMessaging<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.endpoint<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.endpoint<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementMessagingEndpoint<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.reliableCache<span style="color: navy"><b> -&gt; </b></span>tgt.reliableCache<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
  src.supportedMessage<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.supportedMessage<b> as </b><span style="color: maroon">t</span><b> then </b>CapabilityStatementMessagingSupportedMessage<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementMessagingEndpoint<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.protocol<span style="color: navy"><b> -&gt; </b></span>tgt.protocol<span style="color: navy">;</span>
  src.address<span style="color: navy"><b> -&gt; </b></span>tgt.address<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementMessagingSupportedMessage<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.mode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.mode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#EventCapabilityMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.definition<span style="color: navy"><b> -&gt; </b></span>tgt.definition<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CapabilityStatementDocument<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.mode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.mode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#DocumentMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.profile<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="CapabilityStatementKind"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/capability-statement-kind"/>
        <target value="http://hl7.org/fhir/4.3/capability-statement-kind"/>
        <element>
          <code value="instance"/>
          <target>
            <code value="instance"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="capability"/>
          <target>
            <code value="capability"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="requirements"/>
          <target>
            <code value="requirements"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="ConditionalDeleteStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/conditional-delete-status"/>
        <target value="http://hl7.org/fhir/4.3/conditional-delete-status"/>
        <element>
          <code value="not-supported"/>
          <target>
            <code value="not-supported"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="single"/>
          <target>
            <code value="single"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="multiple"/>
          <target>
            <code value="multiple"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="ConditionalReadStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/conditional-read-status"/>
        <target value="http://hl7.org/fhir/4.3/conditional-read-status"/>
        <element>
          <code value="not-supported"/>
          <target>
            <code value="not-supported"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="modified-since"/>
          <target>
            <code value="modified-since"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="not-match"/>
          <target>
            <code value="not-match"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="full-support"/>
          <target>
            <code value="full-support"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="DocumentMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/document-mode"/>
        <target value="http://hl7.org/fhir/4.3/document-mode"/>
        <element>
          <code value="producer"/>
          <target>
            <code value="producer"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="consumer"/>
          <target>
            <code value="consumer"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="EventCapabilityMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/event-capability-mode"/>
        <target value="http://hl7.org/fhir/4.3/event-capability-mode"/>
        <element>
          <code value="sender"/>
          <target>
            <code value="sender"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="receiver"/>
          <target>
            <code value="receiver"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/publication-status"/>
        <target value="http://hl7.org/fhir/4.3/publication-status"/>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="retired"/>
          <target>
            <code value="retired"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="ReferenceHandlingPolicy"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/reference-handling-policy"/>
        <target value="http://hl7.org/fhir/4.3/reference-handling-policy"/>
        <element>
          <code value="literal"/>
          <target>
            <code value="literal"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="logical"/>
          <target>
            <code value="logical"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="resolves"/>
          <target>
            <code value="resolves"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="enforced"/>
          <target>
            <code value="enforced"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="local"/>
          <target>
            <code value="local"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="ResourceVersionPolicy"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/versioning-policy"/>
        <target value="http://hl7.org/fhir/4.3/versioning-policy"/>
        <element>
          <code value="no-version"/>
          <target>
            <code value="no-version"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="versioned"/>
          <target>
            <code value="versioned"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="versioned-update"/>
          <target>
            <code value="versioned-update"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="RestfulCapabilityMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/restful-capability-mode"/>
        <target value="http://hl7.org/fhir/4.3/restful-capability-mode"/>
        <element>
          <code value="client"/>
          <target>
            <code value="client"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="server"/>
          <target>
            <code value="server"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="SearchParamType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/search-param-type"/>
        <target value="http://hl7.org/fhir/4.3/search-param-type"/>
        <element>
          <code value="number"/>
          <target>
            <code value="number"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="date"/>
          <target>
            <code value="date"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="string"/>
          <target>
            <code value="string"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="token"/>
          <target>
            <code value="token"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="reference"/>
          <target>
            <code value="reference"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="composite"/>
          <target>
            <code value="composite"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="quantity"/>
          <target>
            <code value="quantity"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="uri"/>
          <target>
            <code value="uri"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="special"/>
          <target>
            <code value="special"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <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.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/CapabilityStatement5to4B"/>
  <version value="5.1.0"/>
  <name value="CapabilityStatement5to4B"/>
  <title value="FML Conversion for CapabilityStatement: R5 to R4B"/>
  <status value="active"/>
  <date value="2024-04-27T18:54:50+10: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="FMLConversionforCapabilityStatementR5toR4B"/>
  <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/StructureDefinition/CapabilityStatement"/>
    <mode value="source"/>
    <alias value="CapabilityStatementR5"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/4.3/StructureDefinition/CapabilityStatement"/>
    <mode value="target"/>
    <alias value="CapabilityStatementR4B"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4B"/>
  <group>
    <name value="CapabilityStatement"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="CapabilityStatementR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="CapabilityStatementR4B"/>
      <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="version"/>
      <source>
        <context value="src"/>
        <element value="version"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="version"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.identifier -&gt; tgt.identifier;"/>
    </rule>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;"/>
    </rule>
    <rule>
      <name value="title"/>
      <source>
        <context value="src"/>
        <element value="title"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="title"/>
        <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="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#PublicationStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="experimental"/>
      <source>
        <context value="src"/>
        <element value="experimental"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="experimental"/>
        <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="date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <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="publisher"/>
      <source>
        <context value="src"/>
        <element value="publisher"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="publisher"/>
        <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="contact"/>
      <source>
        <context value="src"/>
        <element value="contact"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contact"/>
        <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="description"/>
      <source>
        <context value="src"/>
        <element value="description"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <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="useContext"/>
      <source>
        <context value="src"/>
        <element value="useContext"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="useContext"/>
        <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="jurisdiction"/>
      <source>
        <context value="src"/>
        <element value="jurisdiction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="jurisdiction"/>
        <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="purpose"/>
      <source>
        <context value="src"/>
        <element value="purpose"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="purpose"/>
        <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="copyright"/>
      <source>
        <context value="src"/>
        <element value="copyright"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="copyright"/>
        <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="kind"/>
      <source>
        <context value="src"/>
        <element value="kind"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="kind"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#CapabilityStatementKind"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
      <documentation value="src.copyrightLabel -&gt; tgt.copyrightLabel;"/>
    </rule>
    <rule>
      <name value="instantiates"/>
      <source>
        <context value="src"/>
        <element value="instantiates"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiates"/>
        <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="imports"/>
      <source>
        <context value="src"/>
        <element value="imports"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="imports"/>
        <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="software"/>
      <source>
        <context value="src"/>
        <element value="software"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="software"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementSoftware"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="implementation"/>
      <source>
        <context value="src"/>
        <element value="implementation"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="implementation"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementImplementation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="fhirVersion"/>
      <source>
        <context value="src"/>
        <element value="fhirVersion"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fhirVersion"/>
        <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="format"/>
      <source>
        <context value="src"/>
        <element value="format"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="format"/>
        <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="patchFormat"/>
      <source>
        <context value="src"/>
        <element value="patchFormat"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="patchFormat"/>
        <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="implementationGuide"/>
      <source>
        <context value="src"/>
        <element value="implementationGuide"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="implementationGuide"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.acceptLanguage -&gt; tgt.acceptLanguage;"/>
    </rule>
    <rule>
      <name value="rest"/>
      <source>
        <context value="src"/>
        <element value="rest"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rest"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementRest"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="messaging"/>
      <source>
        <context value="src"/>
        <element value="messaging"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="messaging"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementMessaging"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="document"/>
      <source>
        <context value="src"/>
        <element value="document"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="document"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementDocument"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementSoftware"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <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="version"/>
      <source>
        <context value="src"/>
        <element value="version"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="version"/>
        <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="releaseDate"/>
      <source>
        <context value="src"/>
        <element value="releaseDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="releaseDate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementImplementation"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="description"/>
      <source>
        <context value="src"/>
        <element value="description"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <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="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="custodian"/>
      <source>
        <context value="src"/>
        <element value="custodian"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="custodian"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementRest"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="mode"/>
      <source>
        <context value="src"/>
        <element value="mode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#RestfulCapabilityMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="security"/>
      <source>
        <context value="src"/>
        <element value="security"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="security"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementRestSecurity"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="resource"/>
      <source>
        <context value="src"/>
        <element value="resource"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementRestResource"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="interaction"/>
      <source>
        <context value="src"/>
        <element value="interaction"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="interaction"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementRestInteraction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="compartment"/>
      <source>
        <context value="src"/>
        <element value="compartment"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="compartment"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementRestSecurity"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="cors"/>
      <source>
        <context value="src"/>
        <element value="cors"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="cors"/>
        <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="service"/>
      <source>
        <context value="src"/>
        <element value="service"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="service"/>
        <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="description"/>
      <source>
        <context value="src"/>
        <element value="description"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementRestResource"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="http://hl7.org/fhir/interversion/types5to4b"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="profile"/>
      <source>
        <context value="src"/>
        <element value="profile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="profile"/>
        <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="supportedProfile"/>
      <source>
        <context value="src"/>
        <element value="supportedProfile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supportedProfile"/>
        <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="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="interaction"/>
      <source>
        <context value="src"/>
        <element value="interaction"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="interaction"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementRestResourceInteraction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="versioning"/>
      <source>
        <context value="src"/>
        <element value="versioning"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="versioning"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ResourceVersionPolicy"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="readHistory"/>
      <source>
        <context value="src"/>
        <element value="readHistory"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="readHistory"/>
        <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="updateCreate"/>
      <source>
        <context value="src"/>
        <element value="updateCreate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="updateCreate"/>
        <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="conditionalCreate"/>
      <source>
        <context value="src"/>
        <element value="conditionalCreate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="conditionalCreate"/>
        <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="conditionalRead"/>
      <source>
        <context value="src"/>
        <element value="conditionalRead"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="conditionalRead"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ConditionalReadStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="conditionalUpdate"/>
      <source>
        <context value="src"/>
        <element value="conditionalUpdate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="conditionalUpdate"/>
        <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="conditionalDelete"/>
      <source>
        <context value="src"/>
        <element value="conditionalDelete"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="conditionalDelete"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ConditionalDeleteStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
      <documentation
                     value="src.conditionalPatch -&gt; tgt.conditionalPatch;"/>
    </rule>
    <rule>
      <name value="referencePolicy"/>
      <source>
        <context value="src"/>
        <element value="referencePolicy"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="referencePolicy"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ReferenceHandlingPolicy"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="searchInclude"/>
      <source>
        <context value="src"/>
        <element value="searchInclude"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="searchInclude"/>
        <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="searchRevInclude"/>
      <source>
        <context value="src"/>
        <element value="searchRevInclude"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="searchRevInclude"/>
        <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="searchParam"/>
      <source>
        <context value="src"/>
        <element value="searchParam"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="searchParam"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementRestResourceSearchParam"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="operation"/>
      <source>
        <context value="src"/>
        <element value="operation"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="operation"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementRestResourceOperation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementRestResourceInteraction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <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="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementRestResourceSearchParam"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <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="definition"/>
      <source>
        <context value="src"/>
        <element value="definition"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="definition"/>
        <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="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SearchParamType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementRestResourceOperation"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <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="definition"/>
      <source>
        <context value="src"/>
        <element value="definition"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="definition"/>
        <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="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementRestInteraction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <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="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementMessaging"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="endpoint"/>
      <source>
        <context value="src"/>
        <element value="endpoint"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="endpoint"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementMessagingEndpoint"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="reliableCache"/>
      <source>
        <context value="src"/>
        <element value="reliableCache"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reliableCache"/>
        <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="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="supportedMessage"/>
      <source>
        <context value="src"/>
        <element value="supportedMessage"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supportedMessage"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CapabilityStatementMessagingSupportedMessage"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementMessagingEndpoint"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="protocol"/>
      <source>
        <context value="src"/>
        <element value="protocol"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="protocol"/>
        <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="address"/>
      <source>
        <context value="src"/>
        <element value="address"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="address"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementMessagingSupportedMessage"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="mode"/>
      <source>
        <context value="src"/>
        <element value="mode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#EventCapabilityMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="definition"/>
      <source>
        <context value="src"/>
        <element value="definition"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="definition"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CapabilityStatementDocument"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="mode"/>
      <source>
        <context value="src"/>
        <element value="mode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#DocumentMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="profile"/>
      <source>
        <context value="src"/>
        <element value="profile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="profile"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>