This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
<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">'FML Conversion for MedicinalProductDefinition: 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"> "</span><a href="http://hl7.org/fhir/R5/medicinalproductdefinition.html" title="MedicinalProductDefinition">http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition</a><span style="color: navy">" </span><b>alias </b>MedicinalProductDefinitionR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</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">" </span><b>alias </b>MedicinalProductR4 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">"
</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> <<type+>></b><span style="color: navy"> {
</span> src.identifier<span style="color: navy"><b> -> </b></span>tgt.identifier<span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.domain<span style="color: navy"><b> -> </b></span>tgt.domain<span style="color: navy">;</span>
src.combinedPharmaceuticalDoseForm<span style="color: navy"><b> -> </b></span>tgt.combinedPharmaceuticalDoseForm<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.version -> tgt.version;</span>
src.legalStatusOfSupply<span style="color: navy"><b> -> </b></span>tgt.legalStatusOfSupply<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.route -> tgt.route;</span>
src.additionalMonitoringIndicator<span style="color: navy"><b> -> </b></span>tgt.additionalMonitoringIndicator<span style="color: navy">;</span>
src.specialMeasures<span style="color: navy"><b> -> </b></span>tgt.specialMeasures<span style="color: navy">;</span>
src.pediatricUseIndicator<span style="color: navy"><b> -> </b></span>tgt.paediatricUseIndicator<span style="color: navy">;</span>
src.classification<span style="color: navy"><b> -> </b></span>tgt.productClassification<span style="color: navy">;</span>
src.marketingStatus<span style="color: navy"><b> -> </b></span>tgt.marketingStatus<span style="color: navy">;</span>
src.attachedDocument<span style="color: navy"><b> -> </b></span>tgt.attachedDocument<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.packagedMedicinalProduct -> tgt.packagedMedicinalProduct;</span>
src.masterFile<span style="color: navy"><b> -> </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> -> </b></span>tgt.contact = <span style="color: maroon">s.contact</span><span style="color: navy">;</span>
src.clinicalTrial<span style="color: navy"><b> -> </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> -> </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 -> tgt.code;</span>
src.operation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </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: green">src.crossReference as s -> 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 -> tgt.type;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.contact -> 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> -> </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> -> </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> <span style="color: navy">// </span><span style="color: green">src.type -> tgt.type;</span>
src.usage<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </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> -> </b></span>tgt.part<span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </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> -> </b></span>tgt.country<span style="color: navy">;</span>
src.jurisdiction<span style="color: navy"><b> -> </b></span>tgt.jurisdiction<span style="color: navy">;</span>
src.language<span style="color: navy"><b> -> </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 -> tgt.product;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type -> 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> -> </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> -> </b></span>tgt.effectiveDate = <span style="color: maroon">s.start</span><span style="color: navy">;</span>
src.organization<span style="color: navy"><b> -> </b></span>tgt.manufacturer<span style="color: navy">;</span>
src.confidentialityIndicator<span style="color: navy"><b> -> </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.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/MedicinalProductDefinition5to4"/>
<version value="5.1.0"/>
<name value="MedicinalProductDefinition5to4"/>
<title value="FML Conversion for MedicinalProductDefinition: R5 to R4"/>
<status value="active"/>
<date value="2024-04-27T18:54:50+10:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<description value="FMLConversionforMedicinalProductDefinitionR5toR4"/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
</coding>
</jurisdiction>
<structure>
<url
value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
<mode value="source"/>
<alias value="MedicinalProductDefinitionR5"/>
</structure>
<structure>
<url
value="http://hl7.org/fhir/4.0/StructureDefinition/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>
<documentation value="src.version -> 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 -> 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="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>
<documentation
value="src.packagedMedicinalProduct -> 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"/>
<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>
<documentation value="src.code -> tgt.code;"/>
</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>
<documentation
value="src.crossReference as s -> 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 -> tgt.type;
src.contact -> 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>
<documentation value="src.type -> tgt.type;"/>
</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 -> tgt.product;
src.type -> 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>