FHIR Cross-Version Mapping Pack
0.1.0 - Ballot for Release 5.1.0 International flag

FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions

: AuditEvent Transforms: R3 to R2 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="AuditEvent3to2"/>
  <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/AuditEvent3to2'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'AuditEvent3to2'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'AuditEvent Transforms: R3 to R2'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/3.0/AuditEvent<span style="color: navy">&quot; </span><b>alias </b>AuditEvent <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/1.0/AuditEvent<span style="color: navy">&quot; </span><b>alias </b>AuditEventR2 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*3to2<span style="color: navy">&quot;
</span>
<b>group </b>AuditEvent<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>AuditEvent, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>AuditEventR2<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src<span style="color: navy"><b> -&gt; </b></span>tgt.event<b> as </b><span style="color: maroon">ev</span><b> then</b><span style="color: navy"> {
</span>    src.type<span style="color: navy"><b> -&gt; </b></span>ev.type <i>&quot;AuditEvent-type&quot;</i><span style="color: navy">;</span>
    src.subtype<span style="color: navy"><b> -&gt; </b></span>ev.subtype <i>&quot;AuditEvent-subtype&quot;</i><span style="color: navy">;</span>
    src.action<span style="color: navy"><b> -&gt; </b></span>ev.action <i>&quot;AuditEvent-action&quot;</i><span style="color: navy">;</span>
    src.recorded<span style="color: navy"><b> -&gt; </b></span>ev.dateTime <i>&quot;AuditEvent-recorded&quot;</i><span style="color: navy">;</span>
    src.outcome<span style="color: navy"><b> -&gt; </b></span>ev.outcome <i>&quot;AuditEvent-outcome&quot;</i><span style="color: navy">;</span>
    src.outcomeDesc<span style="color: navy"><b> -&gt; </b></span>ev.outcomeDesc <i>&quot;AuditEvent-outcomeDesc&quot;</i><span style="color: navy">;</span>
    src.purposeOfEvent<span style="color: navy"><b> -&gt; </b></span>ev.purposeOfEvent <i>&quot;AuditEvent-purposeOfEvent&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;AuditEvent-event&quot;</i><span style="color: navy">;</span>
  src.agent<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.participant<b> as </b><span style="color: maroon">vt0</span><b> then </b>agent<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;AuditEvent-agent&quot;</i><span style="color: navy">;</span>
  src.source<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.source<b> as </b><span style="color: maroon">vt0</span><b> then </b>source<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;AuditEvent-source&quot;</i><span style="color: navy">;</span>
  src.entity<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.object<b> as </b><span style="color: maroon">vt0</span><b> then </b>entity<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;AuditEvent-entity&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>agent<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.role<span style="color: navy"><b> -&gt; </b></span>tgt.role <i>&quot;agent-role&quot;</i><span style="color: navy">;</span>
  src.reference<span style="color: navy"><b> -&gt; </b></span>tgt.reference <i>&quot;agent-reference&quot;</i><span style="color: navy">;</span>
  src.userId<span style="color: navy"><b> -&gt; </b></span>tgt.userId <i>&quot;agent-userId&quot;</i><span style="color: navy">;</span>
  src.altId<span style="color: navy"><b> -&gt; </b></span>tgt.altId <i>&quot;agent-altId&quot;</i><span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name <i>&quot;agent-name&quot;</i><span style="color: navy">;</span>
  src.requestor<span style="color: navy"><b> -&gt; </b></span>tgt.requestor <i>&quot;agent-requestor&quot;</i><span style="color: navy">;</span>
  src.location<span style="color: navy"><b> -&gt; </b></span>tgt.location <i>&quot;agent-location&quot;</i><span style="color: navy">;</span>
  src.policy<span style="color: navy"><b> -&gt; </b></span>tgt.policy <i>&quot;agent-policy&quot;</i><span style="color: navy">;</span>
  src.media<span style="color: navy"><b> -&gt; </b></span>tgt.media <i>&quot;agent-media&quot;</i><span style="color: navy">;</span>
  src.network<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.network<b> as </b><span style="color: maroon">vt</span><b> then </b>network<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;agent-network&quot;</i><span style="color: navy">;</span>
  src.purposeOfUse<span style="color: navy"><b> -&gt; </b></span>tgt.purposeOfUse <i>&quot;AuditEvent-purposeOfUse&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>network<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.address<span style="color: navy"><b> -&gt; </b></span>tgt.address <i>&quot;network-address&quot;</i><span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type <i>&quot;network-type&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>source<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.site<span style="color: navy"><b> -&gt; </b></span>tgt.site <i>&quot;source-site&quot;</i><span style="color: navy">;</span>
  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier <i>&quot;source-identifier&quot;</i><span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type <i>&quot;source-type&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>entity<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.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier <i>&quot;entity-identifier&quot;</i><span style="color: navy">;</span>
  src.reference<span style="color: navy"><b> -&gt; </b></span>tgt.reference <i>&quot;entity-reference&quot;</i><span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type <i>&quot;entity-type&quot;</i><span style="color: navy">;</span>
  src.role<span style="color: navy"><b> -&gt; </b></span>tgt.role <i>&quot;entity-role&quot;</i><span style="color: navy">;</span>
  src.lifecycle<span style="color: navy"><b> -&gt; </b></span>tgt.lifecycle <i>&quot;entity-lifecycle&quot;</i><span style="color: navy">;</span>
  src.securityLabel<span style="color: navy"><b> -&gt; </b></span>tgt.securityLabel <i>&quot;entity-securityLabel&quot;</i><span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name <i>&quot;entity-name&quot;</i><span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description <i>&quot;entity-description&quot;</i><span style="color: navy">;</span>
  src.query<span style="color: navy"><b> -&gt; </b></span>tgt.query <i>&quot;entity-query&quot;</i><span style="color: navy">;</span>
  src.detail<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.detail<b> as </b><span style="color: maroon">vt</span><b> then </b>detail<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;entity-detail&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>detail<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<span style="color: navy"><b> -&gt; </b></span>tgt.type <i>&quot;detail-type&quot;</i><span style="color: navy">;</span>
  src.value<span style="color: navy"><b> -&gt; </b></span>tgt.value <i>&quot;value-type&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/AuditEvent3to2"/>
  <version value="0.1.0"/>
  <name value="AuditEvent3to2"/>
  <title value="AuditEvent Transforms: R3 to R2"/>
  <status value="active"/>
  <date value="2024-02-22T03:16:50+00:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="AuditEventTransformsR3toR2"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/3.0/AuditEvent"/>
    <mode value="source"/>
    <alias value="AuditEvent"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/1.0/AuditEvent"/>
    <mode value="target"/>
    <alias value="AuditEventR2"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*3to2"/>
  <group>
    <name value="AuditEvent"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="AuditEvent"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="AuditEventR2"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="AuditEvent-event"/>
      <source>
        <context value="src"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="event"/>
        <variable value="ev"/>
      </target>
      <rule>
        <name value="AuditEvent-type"/>
        <source>
          <context value="src"/>
          <element value="type"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ev"/>
          <element value="type"/>
          <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="AuditEvent-subtype"/>
        <source>
          <context value="src"/>
          <element value="subtype"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ev"/>
          <element value="subtype"/>
          <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="AuditEvent-action"/>
        <source>
          <context value="src"/>
          <element value="action"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ev"/>
          <element value="action"/>
          <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="AuditEvent-recorded"/>
        <source>
          <context value="src"/>
          <element value="recorded"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ev"/>
          <element value="dateTime"/>
          <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="AuditEvent-outcome"/>
        <source>
          <context value="src"/>
          <element value="outcome"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ev"/>
          <element value="outcome"/>
          <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="AuditEvent-outcomeDesc"/>
        <source>
          <context value="src"/>
          <element value="outcomeDesc"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ev"/>
          <element value="outcomeDesc"/>
          <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="AuditEvent-purposeOfEvent"/>
        <source>
          <context value="src"/>
          <element value="purposeOfEvent"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ev"/>
          <element value="purposeOfEvent"/>
          <variable value="vvv"/>
          <transform value="create"/>
        </target>
        <dependent>
          <name value="DefaultMappingGroupAnonymousAlias"/>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
        </dependent>
      </rule>
    </rule>
    <rule>
      <name value="AuditEvent-agent"/>
      <source>
        <context value="src"/>
        <element value="agent"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="participant"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="agent"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="AuditEvent-source"/>
      <source>
        <context value="src"/>
        <element value="source"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="source"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="source"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="AuditEvent-entity"/>
      <source>
        <context value="src"/>
        <element value="entity"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="object"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="entity"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="agent"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="agent-role"/>
      <source>
        <context value="src"/>
        <element value="role"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="role"/>
        <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="agent-reference"/>
      <source>
        <context value="src"/>
        <element value="reference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reference"/>
        <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="agent-userId"/>
      <source>
        <context value="src"/>
        <element value="userId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="userId"/>
        <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="agent-altId"/>
      <source>
        <context value="src"/>
        <element value="altId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="altId"/>
        <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="agent-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="agent-requestor"/>
      <source>
        <context value="src"/>
        <element value="requestor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requestor"/>
        <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="agent-location"/>
      <source>
        <context value="src"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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="agent-policy"/>
      <source>
        <context value="src"/>
        <element value="policy"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="policy"/>
        <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="agent-media"/>
      <source>
        <context value="src"/>
        <element value="media"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="media"/>
        <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="agent-network"/>
      <source>
        <context value="src"/>
        <element value="network"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="network"/>
        <variable value="vt"/>
      </target>
      <dependent>
        <name value="network"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="AuditEvent-purposeOfUse"/>
      <source>
        <context value="src"/>
        <element value="purposeOfUse"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="purposeOfUse"/>
        <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="network"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="network-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>
    <rule>
      <name value="network-type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <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="source"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="source-site"/>
      <source>
        <context value="src"/>
        <element value="site"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="site"/>
        <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="source-identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <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="source-type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <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="entity"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="entity-identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <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="entity-reference"/>
      <source>
        <context value="src"/>
        <element value="reference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reference"/>
        <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="entity-type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <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="entity-role"/>
      <source>
        <context value="src"/>
        <element value="role"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="role"/>
        <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="entity-lifecycle"/>
      <source>
        <context value="src"/>
        <element value="lifecycle"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="lifecycle"/>
        <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="entity-securityLabel"/>
      <source>
        <context value="src"/>
        <element value="securityLabel"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="securityLabel"/>
        <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="entity-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="entity-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="entity-query"/>
      <source>
        <context value="src"/>
        <element value="query"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="query"/>
        <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="entity-detail"/>
      <source>
        <context value="src"/>
        <element value="detail"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <variable value="vt"/>
      </target>
      <dependent>
        <name value="detail"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="detail"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="detail-type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <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="value-type"/>
      <source>
        <context value="src"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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>