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

: MedicinalProductDefinition Transforms: R5 to R4 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="MedicinalProductDefinition5to4"/>
  <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/MedicinalProductDefinition5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'MedicinalProductDefinition5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'MedicinalProductDefinition Transforms: R5 to R4'</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/5.0/MedicinalProductDefinition<span style="color: navy">&quot; </span><b>alias </b>MedicinalProductDefinitionR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/4.0/MedicinalProduct<span style="color: navy">&quot; </span><b>alias </b>MedicinalProductR4 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">&quot;
</span>
<b>group </b>MedicinalProductDefinition<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>MedicinalProductDefinitionR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>MedicinalProductR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.domain<span style="color: navy"><b> -&gt; </b></span>tgt.domain<span style="color: navy">;</span>
  src.combinedPharmaceuticalDoseForm<span style="color: navy"><b> -&gt; </b></span>tgt.combinedPharmaceuticalDoseForm<span style="color: navy">;</span>
  src.legalStatusOfSupply<span style="color: navy"><b> -&gt; </b></span>tgt.legalStatusOfSupply<span style="color: navy">;</span>
  src.additionalMonitoringIndicator<span style="color: navy"><b> -&gt; </b></span>tgt.additionalMonitoringIndicator<span style="color: navy">;</span>
  src.specialMeasures<span style="color: navy"><b> -&gt; </b></span>tgt.specialMeasures<span style="color: navy">;</span>
  src.pediatricUseIndicator<span style="color: navy"><b> -&gt; </b></span>tgt.paediatricUseIndicator<span style="color: navy">;</span>
  src.classification<span style="color: navy"><b> -&gt; </b></span>tgt.productClassification<span style="color: navy">;</span>
  src.marketingStatus<span style="color: navy"><b> -&gt; </b></span>tgt.marketingStatus<span style="color: navy">;</span>
  src.attachedDocument<span style="color: navy"><b> -&gt; </b></span>tgt.attachedDocument<span style="color: navy">;</span>
  src.masterFile<span style="color: navy"><b> -&gt; </b></span>tgt.masterFile<span style="color: navy">;</span>
  src.contact<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.contact = <span style="color: maroon">s.contact</span><span style="color: navy">;</span>
  src.clinicalTrial<span style="color: navy"><b> -&gt; </b></span>tgt.clinicalTrial<span style="color: navy">;</span>
  src.name<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.name<b> as </b><span style="color: maroon">t</span><b> then </b>MedicinalProductDefinitionName<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.manufacturingBusinessOperation<b> as </b><span style="color: maroon">t</span><b> then </b>MedicinalProductDefinitionOperation<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><span style="color: navy">// </span><span style="color: green">group MedicinalProductDefinitionContact(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type -&gt; tgt.type;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.contact -&gt; tgt.contact;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>MedicinalProductDefinitionName<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.productName<span style="color: navy"><b> -&gt; </b></span>tgt.productName<span style="color: navy">;</span>
  src.part<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.namePart<b> as </b><span style="color: maroon">t</span><b> then </b>MedicinalProductDefinitionNamePart<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.usage<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.countryLanguage<b> as </b><span style="color: maroon">t</span><b> then </b>MedicinalProductDefinitionNameUsage<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>MedicinalProductDefinitionNamePart<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.part<span style="color: navy"><b> -&gt; </b></span>tgt.part<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>MedicinalProductDefinitionNameUsage<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.country<span style="color: navy"><b> -&gt; </b></span>tgt.country<span style="color: navy">;</span>
  src.jurisdiction<span style="color: navy"><b> -&gt; </b></span>tgt.jurisdiction<span style="color: navy">;</span>
  src.language<span style="color: navy"><b> -&gt; </b></span>tgt.language<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group MedicinalProductDefinitionCrossReference(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.product -&gt; tgt.product;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type -&gt; tgt.type;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>MedicinalProductDefinitionOperation<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.operationType<span style="color: navy">;</span>
  src.effectiveDate<span style="color: navy"> : </span>Period<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.effectiveDate = <span style="color: maroon">s.start</span><span style="color: navy">;</span>
  src.organization<span style="color: navy"><b> -&gt; </b></span>tgt.manufacturer<span style="color: navy">;</span>
  src.confidentialityIndicator<span style="color: navy"><b> -&gt; </b></span>tgt.confidentialityIndicator<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/MedicinalProductDefinition5to4"/>
  <version value="0.1.0"/>
  <name value="MedicinalProductDefinition5to4"/>
  <title value="MedicinalProductDefinition Transforms: R5 to R4"/>
  <status value="active"/>
  <date value="2024-02-22T03:16:50+00:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="MedicinalProductDefinitionTransformsR5toR4"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/5.0/MedicinalProductDefinition"/>
    <mode value="source"/>
    <alias value="MedicinalProductDefinitionR5"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/4.0/MedicinalProduct"/>
    <mode value="target"/>
    <alias value="MedicinalProductR4"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4"/>
  <group>
    <name value="MedicinalProductDefinition"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="MedicinalProductDefinitionR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="MedicinalProductR4"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="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="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="domain"/>
      <source>
        <context value="src"/>
        <element value="domain"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="domain"/>
        <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="combinedPharmaceuticalDoseForm"/>
      <source>
        <context value="src"/>
        <element value="combinedPharmaceuticalDoseForm"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="combinedPharmaceuticalDoseForm"/>
        <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="legalStatusOfSupply"/>
      <source>
        <context value="src"/>
        <element value="legalStatusOfSupply"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="legalStatusOfSupply"/>
        <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="additionalMonitoringIndicator"/>
      <source>
        <context value="src"/>
        <element value="additionalMonitoringIndicator"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="additionalMonitoringIndicator"/>
        <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="specialMeasures"/>
      <source>
        <context value="src"/>
        <element value="specialMeasures"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="specialMeasures"/>
        <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="pediatricUseIndicator"/>
      <source>
        <context value="src"/>
        <element value="pediatricUseIndicator"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="paediatricUseIndicator"/>
        <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="classification"/>
      <source>
        <context value="src"/>
        <element value="classification"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productClassification"/>
        <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="marketingStatus"/>
      <source>
        <context value="src"/>
        <element value="marketingStatus"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="marketingStatus"/>
        <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="attachedDocument"/>
      <source>
        <context value="src"/>
        <element value="attachedDocument"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="attachedDocument"/>
        <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="masterFile"/>
      <source>
        <context value="src"/>
        <element value="masterFile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="masterFile"/>
        <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="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contact"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.contact"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="clinicalTrial"/>
      <source>
        <context value="src"/>
        <element value="clinicalTrial"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="clinicalTrial"/>
        <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="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MedicinalProductDefinitionName"/>
        <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="manufacturingBusinessOperation"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MedicinalProductDefinitionOperation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="MedicinalProductDefinitionName"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group MedicinalProductDefinitionContact(source src, target tgt) extends BackboneElement {
src.type -&gt; tgt.type;
src.contact -&gt; tgt.contact;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="productName"/>
      <source>
        <context value="src"/>
        <element value="productName"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productName"/>
        <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="part"/>
      <source>
        <context value="src"/>
        <element value="part"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="namePart"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MedicinalProductDefinitionNamePart"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="usage"/>
      <source>
        <context value="src"/>
        <element value="usage"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="countryLanguage"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MedicinalProductDefinitionNameUsage"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="MedicinalProductDefinitionNamePart"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="part"/>
      <source>
        <context value="src"/>
        <element value="part"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="part"/>
        <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="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="MedicinalProductDefinitionNameUsage"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="country"/>
      <source>
        <context value="src"/>
        <element value="country"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="country"/>
        <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="language"/>
      <source>
        <context value="src"/>
        <element value="language"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="language"/>
        <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="MedicinalProductDefinitionOperation"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group MedicinalProductDefinitionCrossReference(source src, target tgt) extends BackboneElement {
src.product -&gt; tgt.product;
src.type -&gt; tgt.type;
}"/>
    <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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="operationType"/>
        <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="effectiveDatePeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="effectiveDate"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="effectiveDate"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.start"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="organization"/>
      <source>
        <context value="src"/>
        <element value="organization"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="manufacturer"/>
        <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="confidentialityIndicator"/>
      <source>
        <context value="src"/>
        <element value="confidentialityIndicator"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="confidentialityIndicator"/>
        <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>