FHIR Extensions Pack
1.0.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: FML Conversion for MedicinalProductDefinition: R4 to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/medicinalproduct.html" title="MedicinalProduct">http://hl7.org/fhir/4.0/StructureDefinition/MedicinalProduct</a><span style="color: navy">&quot; </span><b>alias </b>MedicinalProductR4 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/medicinalproductdefinition.html" title="MedicinalProductDefinition">http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition</a><span style="color: navy">&quot; </span><b>alias </b>MedicinalProductDefinitionR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<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>MedicinalProductR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>MedicinalProductDefinitionR5<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> <span style="color: navy">// </span><span style="color: green">src.version -&gt; tgt.version;</span>
  src.legalStatusOfSupply<span style="color: navy"><b> -&gt; </b></span>tgt.legalStatusOfSupply<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.route -&gt; tgt.route;</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.paediatricUseIndicator<span style="color: navy"><b> -&gt; </b></span>tgt.pediatricUseIndicator<span style="color: navy">;</span>
  src.productClassification<span style="color: navy"><b> -&gt; </b></span>tgt.classification<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> <span style="color: navy">// </span><span style="color: green">src.packagedMedicinalProduct -&gt; tgt.packagedMedicinalProduct;</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<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.contact = <span style="color: maroon">s</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> <span style="color: navy">// </span><span style="color: green">src.code -&gt; tgt.code;</span>
  src.manufacturingBusinessOperation<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>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: green">src.crossReference as s -&gt; tgt.crossReference as t then MedicinalProductDefinitionCrossReference(s,t);</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.namePart<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.part<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> <span style="color: navy">// </span><span style="color: green">src.type -&gt; tgt.type;</span>
  src.countryLanguage<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.usage<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.operationType<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.effectiveDate<span style="color: navy"> : </span>dateTime<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.effectiveDate<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.start = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.manufacturer<span style="color: navy"><b> -&gt; </b></span>tgt.organization<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-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/MedicinalProductDefinition4to5"/>
  <version value="1.0.0"/>
  <name value="MedicinalProductDefinition4to5"/>
  <title value="FML Conversion for MedicinalProductDefinition: R4 to R5"/>
  <status value="active"/>
  <date value="2023-03-26T08:47:34+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/fhir-i"/>
    </telecom>
  </contact>
  <description value="FMLConversionforMedicinalProductDefinitionR4toR5"/>
  <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/4.0/StructureDefinition/MedicinalProduct"/>
    <mode value="source"/>
    <alias value="MedicinalProductR4"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
    <mode value="target"/>
    <alias value="MedicinalProductDefinitionR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to5"/>
  <group>
    <name value="MedicinalProductDefinition"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="MedicinalProductR4"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="MedicinalProductDefinitionR5"/>
      <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>
      <documentation value="src.version -&gt; tgt.version;"/>
    </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>
      <documentation value="src.route -&gt; tgt.route;"/>
    </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="paediatricUseIndicator"/>
      <source>
        <context value="src"/>
        <element value="paediatricUseIndicator"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="pediatricUseIndicator"/>
        <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="productClassification"/>
      <source>
        <context value="src"/>
        <element value="productClassification"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="classification"/>
        <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>
      <documentation
                     value="src.packagedMedicinalProduct -&gt; tgt.packagedMedicinalProduct;"/>
    </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"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="contact"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </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>
      <documentation value="src.code -&gt; tgt.code;"/>
    </rule>
    <rule>
      <name value="manufacturingBusinessOperation"/>
      <source>
        <context value="src"/>
        <element value="manufacturingBusinessOperation"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="operation"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MedicinalProductDefinitionOperation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.crossReference as s -&gt; tgt.crossReference as t then MedicinalProductDefinitionCrossReference(s,t);"/>
    </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="namePart"/>
      <source>
        <context value="src"/>
        <element value="namePart"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="part"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MedicinalProductDefinitionNamePart"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation value="src.type -&gt; tgt.type;"/>
    </rule>
    <rule>
      <name value="countryLanguage"/>
      <source>
        <context value="src"/>
        <element value="countryLanguage"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="usage"/>
        <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="operationType"/>
      <source>
        <context value="src"/>
        <element value="operationType"/>
        <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="effectiveDateDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="effectiveDate"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="effectiveDate"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="start"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="manufacturer"/>
      <source>
        <context value="src"/>
        <element value="manufacturer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="organization"/>
        <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>