This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. 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="MedicationKnowledge4to5"/>
<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/MedicationKnowledge4to5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'MedicationKnowledge4to5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for MedicationKnowledge: R4 to R5'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>conceptmap</b><span style="color: navy"> "</span>MedicationKnowledgeStatus<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://terminology.hl7.org/5.3.0/CodeSystem-medicationknowledge-status.html" title="MedicationKnowledge Status Codes">http://terminology.hl7.org/CodeSystem/medicationknowledge-status</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-medicationknowledge-status.html" title="MedicationKnowledge Status Codes">http://hl7.org/fhir/CodeSystem/medicationknowledge-status</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
s<span style="color: navy">:</span>"entered-in-error" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>entered-in-error<span style="color: navy">"</span>
s<span style="color: navy">:</span>inactive <b>-</b> t<span style="color: navy">:</span>inactive
<span style="color: navy">}
</span><b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4/medicationknowledge.html" title="MedicationKnowledge">http://hl7.org/fhir/4.0/StructureDefinition/MedicationKnowledge</a><span style="color: navy">" </span><b>alias </b>MedicationKnowledgeR4 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/medicationknowledge.html" title="MedicationKnowledge">http://hl7.org/fhir/StructureDefinition/MedicationKnowledge</a><span style="color: navy">" </span><b>alias </b>MedicationKnowledgeR5 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style="color: navy">"
</span>
<b>group </b>MedicationKnowledge<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>MedicationKnowledgeR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>MedicationKnowledgeR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.identifier -> tgt.identifier;</span>
src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#MedicationKnowledgeStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.synonym<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.author -> tgt.author;</span>
src.relatedMedicationKnowledge<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.relatedMedicationKnowledge<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeRelatedMedicationKnowledge<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.associatedMedication<span style="color: navy"><b> -> </b></span>tgt.associatedMedication<span style="color: navy">;</span>
src.productType<span style="color: navy"><b> -> </b></span>tgt.productType<span style="color: navy">;</span>
src.monograph<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.monograph<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeMonograph<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.preparationInstruction<span style="color: navy"><b> -> </b></span>tgt.preparationInstruction<span style="color: navy">;</span>
src.cost<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.cost<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeCost<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.monitoringProgram<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.monitoringProgram<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeMonitoringProgram<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.administrationGuidelines<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.indicationGuideline<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeIndicationGuideline<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.medicineClassification<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.medicineClassification<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeMedicineClassification<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.regulatory<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.regulatory<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeRegulatory<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.packaging as s -> tgt.packaging as t then MedicationKnowledgePackaging(s,t);</span>
src.drugCharacteristic<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.definitional<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeDefinitional<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>MedicationKnowledgeRelatedMedicationKnowledge<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.type<span style="color: navy">;</span>
src.reference<span style="color: navy"><b> -> </b></span>tgt.reference<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>MedicationKnowledgeMonograph<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.type<span style="color: navy">;</span>
src.source<span style="color: navy"><b> -> </b></span>tgt.source<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>MedicationKnowledgeCost<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.type<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.effectiveDate -> tgt.effectiveDate;</span>
src.source<span style="color: navy"><b> -> </b></span>tgt.source<span style="color: navy">;</span>
src.cost<span style="color: navy"> : </span>Money<span style="color: navy"><b> -> </b></span>tgt.cost<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>MedicationKnowledgeMonitoringProgram<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.type<span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>MedicationKnowledgeIndicationGuideline<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.indication<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -> </b></span>tgt.indication<span style="color: navy">;</span>
src.indication<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -> </b></span>tgt.indication<span style="color: navy">;</span>
src.dosage<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.dosingGuideline<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.dosage = <b>create</b><span style="color: navy">(</span><span style="color: blue">'BackboneElement'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">td</span><b> then </b>MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">td</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.dosingGuideline as s -> tgt.dosingGuideline as t then MedicationKnowledgeIndicationGuidelineDosingGuideline(s,t);</span>
src.patientCharacteristics<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.dosingGuideline<b> as </b><span style="color: maroon">t</span><b> then</b><span style="color: navy"> {
</span> s.value<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span> t.patientCharacteristic<b> as </b><span style="color: maroon">tp</span><span style="color: navy">, </span> tp.type = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.text = <span style="color: maroon">v</span><span style="color: navy">;</span>
s.characteristic<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span> t.patientCharacteristic<b> as </b><span style="color: maroon">tp</span><span style="color: navy">, </span> tp.value = <span style="color: maroon">v</span><span style="color: navy">;</span>
s.characteristic<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span> t.patientCharacteristic<b> as </b><span style="color: maroon">tp</span><span style="color: navy">, </span> tp.value = <span style="color: maroon">v</span><span style="color: navy">;</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 MedicationKnowledgeIndicationGuidelineDosingGuideline(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.treatmentIntent -> tgt.treatmentIntent;</span>
<span style="color: navy">// </span><span style="color: green">src as s -> tgt.dosage as t then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s,t);</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.administrationTreatment -> tgt.administrationTreatment;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.patientCharacteristic as s -> tgt.patientCharacteristic as t then MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(s,t);</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage<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.type<span style="color: navy">;</span>
src.dosage<span style="color: navy"><b> -> </b></span>tgt.dosage<span style="color: navy">;</span>
<span style="color: navy">}
</span><span style="color: navy">// </span><span style="color: green">group MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(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.value : CodeableConcept -> tgt.value;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.value : Quantity -> tgt.value;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.value : Range -> tgt.value;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>MedicationKnowledgeMedicineClassification<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.type<span style="color: navy">;</span>
src.classification<span style="color: navy"><b> -> </b></span>tgt.classification<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.source : string -> tgt.source;</span>
<span style="color: navy">}
</span><span style="color: navy">// </span><span style="color: green">group MedicationKnowledgePackaging(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.packagedProduct -> tgt.packagedProduct;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<span style="color: navy">// </span><span style="color: green">group MedicationKnowledgeStorageGuideline(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.reference -> tgt.reference;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.note -> tgt.note;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.stabilityDuration -> tgt.stabilityDuration;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.environmentalSetting as s -> tgt.environmentalSetting as t then MedicationKnowledgeStorageGuidelineEnvironmentalSetting(s,t);</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<span style="color: navy">// </span><span style="color: green">group MedicationKnowledgeStorageGuidelineEnvironmentalSetting(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.value : Quantity -> tgt.value;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.value : Range -> tgt.value;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.value : CodeableConcept -> tgt.value;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>MedicationKnowledgeRegulatory<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.regulatoryAuthority<span style="color: navy"><b> -> </b></span>tgt.regulatoryAuthority<span style="color: navy">;</span>
src.substitution<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.substitution<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeRegulatorySubstitution<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.schedule<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.schedule = <span style="color: maroon">s.schedule</span><span style="color: navy">;</span>
src.maxDispense<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.maxDispense<b> as </b><span style="color: maroon">t</span><b> then </b>MedicationKnowledgeRegulatoryMaxDispense<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>MedicationKnowledgeRegulatorySubstitution<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.type<span style="color: navy">;</span>
src.allowed<span style="color: navy"><b> -> </b></span>tgt.allowed<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>MedicationKnowledgeRegulatoryMaxDispense<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.quantity<span style="color: navy"><b> -> </b></span>tgt.quantity<span style="color: navy">;</span>
src.period<span style="color: navy"><b> -> </b></span>tgt.period<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>MedicationKnowledgeDefinitional<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.type<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.type = <span style="color: maroon">s</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.definition -> tgt.definition;</span>
src.value<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>string<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>base64Binary<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.drugCharacteristic<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<contained>
<ConceptMap>
<id value="MedicationKnowledgeStatus"/>
<status value="active"/>
<group>
<source
value="http://terminology.hl7.org/CodeSystem/medicationknowledge-status"/>
<target
value="http://hl7.org/fhir/CodeSystem/medicationknowledge-status"/>
<element>
<code value="active"/>
<target>
<code value="active"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="entered-in-error"/>
<target>
<code value="entered-in-error"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="inactive"/>
<target>
<code value="inactive"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
</extension>
</valueInteger>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
</extension>
</valueCode>
</extension>
<url value="http://hl7.org/fhir/StructureMap/MedicationKnowledge4to5"/>
<version value="5.1.0-snapshot1"/>
<name value="MedicationKnowledge4to5"/>
<title value="FML Conversion for MedicationKnowledge: R4 to R5"/>
<status value="active"/>
<date value="2024-03-12T13:30:10+11: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="FMLConversionforMedicationKnowledgeR4toR5"/>
<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/MedicationKnowledge"/>
<mode value="source"/>
<alias value="MedicationKnowledgeR4"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/MedicationKnowledge"/>
<mode value="target"/>
<alias value="MedicationKnowledgeR5"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*4to5"/>
<group>
<name value="MedicationKnowledge"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="MedicationKnowledgeR4"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="MedicationKnowledgeR5"/>
<mode value="target"/>
</input>
<rule>
<name value="code"/>
<source>
<context value="src"/>
<element value="code"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="code"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.identifier -> tgt.identifier;"/>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="status"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#MedicationKnowledgeStatus"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="synonym"/>
<source>
<context value="src"/>
<element value="synonym"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.author -> tgt.author;"/>
</rule>
<rule>
<name value="relatedMedicationKnowledge"/>
<source>
<context value="src"/>
<element value="relatedMedicationKnowledge"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="relatedMedicationKnowledge"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeRelatedMedicationKnowledge"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="associatedMedication"/>
<source>
<context value="src"/>
<element value="associatedMedication"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="associatedMedication"/>
<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="productType"/>
<source>
<context value="src"/>
<element value="productType"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="productType"/>
<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="monograph"/>
<source>
<context value="src"/>
<element value="monograph"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="monograph"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeMonograph"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="preparationInstruction"/>
<source>
<context value="src"/>
<element value="preparationInstruction"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="preparationInstruction"/>
<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="cost"/>
<source>
<context value="src"/>
<element value="cost"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="cost"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeCost"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="monitoringProgram"/>
<source>
<context value="src"/>
<element value="monitoringProgram"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="monitoringProgram"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeMonitoringProgram"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="administrationGuidelines"/>
<source>
<context value="src"/>
<element value="administrationGuidelines"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="indicationGuideline"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeIndicationGuideline"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="medicineClassification"/>
<source>
<context value="src"/>
<element value="medicineClassification"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="medicineClassification"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeMedicineClassification"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="regulatory"/>
<source>
<context value="src"/>
<element value="regulatory"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="regulatory"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeRegulatory"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
<documentation
value="src.packaging as s -> tgt.packaging as t then MedicationKnowledgePackaging(s,t);"/>
</rule>
<rule>
<name value="drugCharacteristic"/>
<source>
<context value="src"/>
<element value="drugCharacteristic"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="definitional"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeDefinitional"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="MedicationKnowledgeRelatedMedicationKnowledge"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="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="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>
</group>
<group>
<name value="MedicationKnowledgeMonograph"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="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="source"/>
<source>
<context value="src"/>
<element value="source"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="source"/>
<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="MedicationKnowledgeCost"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="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>
<documentation value="src.effectiveDate -> tgt.effectiveDate;"/>
</rule>
<rule>
<name value="source"/>
<source>
<context value="src"/>
<element value="source"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="source"/>
<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="costMoney"/>
<source>
<context value="src"/>
<type value="Money"/>
<element value="cost"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="cost"/>
<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="MedicationKnowledgeMonitoringProgram"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="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="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>
</group>
<group>
<name value="MedicationKnowledgeIndicationGuideline"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="indicationCodeableConcept"/>
<source>
<context value="src"/>
<type value="CodeableConcept"/>
<element value="indication"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="indication"/>
<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="indicationReference"/>
<source>
<context value="src"/>
<type value="Reference"/>
<element value="indication"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="indication"/>
<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="dosage"/>
<source>
<context value="src"/>
<element value="dosage"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="dosingGuideline"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="dosage"/>
<variable value="td"/>
<transform value="create"/>
<parameter>
<valueString value="BackboneElement"/>
</parameter>
</target>
<dependent>
<name
value="MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="td"/>
</parameter>
</dependent>
<documentation
value="src.dosingGuideline as s -> tgt.dosingGuideline as t then MedicationKnowledgeIndicationGuidelineDosingGuideline(s,t);"/>
</rule>
<rule>
<name value="patientCharacteristics"/>
<source>
<context value="src"/>
<element value="patientCharacteristics"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="dosingGuideline"/>
<variable value="t"/>
</target>
<rule>
<name value="value"/>
<source>
<context value="s"/>
<element value="value"/>
<variable value="v"/>
</source>
<target>
<context value="t"/>
<element value="patientCharacteristic"/>
<variable value="tp"/>
</target>
<target>
<context value="tp"/>
<element value="type"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="text"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
<rule>
<name value="characteristicCodeableConcept"/>
<source>
<context value="s"/>
<type value="CodeableConcept"/>
<element value="characteristic"/>
<variable value="v"/>
</source>
<target>
<context value="t"/>
<element value="patientCharacteristic"/>
<variable value="tp"/>
</target>
<target>
<context value="tp"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
<rule>
<name value="characteristicQuantity"/>
<source>
<context value="s"/>
<type value="Quantity"/>
<element value="characteristic"/>
<variable value="v"/>
</source>
<target>
<context value="t"/>
<element value="patientCharacteristic"/>
<variable value="tp"/>
</target>
<target>
<context value="tp"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
</rule>
</group>
<group>
<name
value="MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage"/>
<extends value="BackboneElement"/>
<documentation
value="group MedicationKnowledgeIndicationGuidelineDosingGuideline(source src, target tgt) extends BackboneElement {
src.treatmentIntent -> tgt.treatmentIntent;
src as s -> tgt.dosage as t then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s,t);
src.administrationTreatment -> tgt.administrationTreatment;
src.patientCharacteristic as s -> tgt.patientCharacteristic as t then MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(s,t);
}"/>
<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="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="dosage"/>
<source>
<context value="src"/>
<element value="dosage"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="dosage"/>
<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="MedicationKnowledgeMedicineClassification"/>
<extends value="BackboneElement"/>
<documentation
value="group MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(source src, target tgt) extends BackboneElement {
src.type -> tgt.type;
src.value : CodeableConcept -> tgt.value;
src.value : Quantity -> tgt.value;
src.value : Range -> tgt.value;
}"/>
<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="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="classification"/>
<source>
<context value="src"/>
<element value="classification"/>
<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>
<documentation value="src.source : string -> tgt.source;"/>
</rule>
</group>
<group>
<name value="MedicationKnowledgeRegulatory"/>
<extends value="BackboneElement"/>
<documentation
value="group MedicationKnowledgePackaging(source src, target tgt) extends BackboneElement {
src.packagedProduct -> tgt.packagedProduct;
}
group MedicationKnowledgeStorageGuideline(source src, target tgt) extends BackboneElement {
src.reference -> tgt.reference;
src.note -> tgt.note;
src.stabilityDuration -> tgt.stabilityDuration;
src.environmentalSetting as s -> tgt.environmentalSetting as t then MedicationKnowledgeStorageGuidelineEnvironmentalSetting(s,t);
}
group MedicationKnowledgeStorageGuidelineEnvironmentalSetting(source src, target tgt) extends BackboneElement {
src.type -> tgt.type;
src.value : Quantity -> tgt.value;
src.value : Range -> tgt.value;
src.value : CodeableConcept -> tgt.value;
}"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="regulatoryAuthority"/>
<source>
<context value="src"/>
<element value="regulatoryAuthority"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="regulatoryAuthority"/>
<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="substitution"/>
<source>
<context value="src"/>
<element value="substitution"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="substitution"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeRegulatorySubstitution"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="schedule"/>
<source>
<context value="src"/>
<element value="schedule"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="schedule"/>
<transform value="copy"/>
<parameter>
<valueId value="s.schedule"/>
</parameter>
</target>
</rule>
<rule>
<name value="maxDispense"/>
<source>
<context value="src"/>
<element value="maxDispense"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="maxDispense"/>
<variable value="t"/>
</target>
<dependent>
<name value="MedicationKnowledgeRegulatoryMaxDispense"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="MedicationKnowledgeRegulatorySubstitution"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="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="allowed"/>
<source>
<context value="src"/>
<element value="allowed"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="allowed"/>
<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="MedicationKnowledgeRegulatoryMaxDispense"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="quantity"/>
<source>
<context value="src"/>
<element value="quantity"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="quantity"/>
<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="period"/>
<source>
<context value="src"/>
<element value="period"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="period"/>
<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="MedicationKnowledgeDefinitional"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="drugCharacteristic"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="type"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
<documentation value="src.definition -> tgt.definition;"/>
</rule>
<rule>
<name value="valueCodeableConcept"/>
<source>
<context value="src"/>
<type value="CodeableConcept"/>
<element value="value"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="drugCharacteristic"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
<rule>
<name value="valueString"/>
<source>
<context value="src"/>
<type value="string"/>
<element value="value"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="drugCharacteristic"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
<rule>
<name value="valueQuantity"/>
<source>
<context value="src"/>
<type value="Quantity"/>
<element value="value"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="drugCharacteristic"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
<rule>
<name value="valueBase64Binary"/>
<source>
<context value="src"/>
<type value="base64Binary"/>
<element value="value"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="drugCharacteristic"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
</group>
</StructureMap>