This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) 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 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "MedicationKnowledge4to5"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/MedicationKnowledge4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MedicationKnowledge4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for MedicationKnowledge: R4 to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> "</span>MedicationKnowledgeStatus<span style=\"color: navy\">" {\r\n</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\">"\r\n</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\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n 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>\r\n s<span style=\"color: navy\">:</span>inactive <b>-</b> t<span style=\"color: navy\">:</span>inactive\r\n<span style=\"color: navy\">}\r\n\r\n</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>\r\n<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>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">"\r\n</span>\r\n<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\"> {\r\n</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>\r\n 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>\r\n 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>\r\n 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>\r\n src.associatedMedication<span style=\"color: navy\"><b> -> </b></span>tgt.associatedMedication<span style=\"color: navy\">;</span>\r\n src.productType<span style=\"color: navy\"><b> -> </b></span>tgt.productType<span style=\"color: navy\">;</span>\r\n 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>\r\n src.preparationInstruction<span style=\"color: navy\"><b> -> </b></span>tgt.preparationInstruction<span style=\"color: navy\">;</span>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.reference<span style=\"color: navy\"><b> -> </b></span>tgt.reference<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</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>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n src.cost<span style=\"color: navy\"> : </span>Money<span style=\"color: navy\"><b> -> </b></span>tgt.cost<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.indication<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.indication<span style=\"color: navy\">;</span>\r\n src.indication<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.indication<span style=\"color: navy\">;</span>\r\n 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>\r\n 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\"> {\r\n</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>\r\n 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>\r\n 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>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeIndicationGuidelineDosingGuideline(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.treatmentIntent -> tgt.treatmentIntent;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">src as s -> tgt.dosage as t then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s,t);</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.administrationTreatment -> tgt.administrationTreatment;</span>\r\n<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>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<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\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.dosage<span style=\"color: navy\"><b> -> </b></span>tgt.dosage<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : CodeableConcept -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Quantity -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Range -> tgt.value;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<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\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n 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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgePackaging(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.packagedProduct -> tgt.packagedProduct;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeStorageGuideline(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reference -> tgt.reference;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.note -> tgt.note;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.stabilityDuration -> tgt.stabilityDuration;</span>\r\n<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>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group MedicationKnowledgeStorageGuidelineEnvironmentalSetting(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Quantity -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : Range -> tgt.value;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value : CodeableConcept -> tgt.value;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<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\"> {\r\n</span> src.regulatoryAuthority<span style=\"color: navy\"><b> -> </b></span>tgt.regulatoryAuthority<span style=\"color: navy\">;</span>\r\n 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>\r\n 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>\r\n 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>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.allowed<span style=\"color: navy\"><b> -> </b></span>tgt.allowed<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>" ] ; # fhir:contained ( [ a fhir:ConceptMap ; fhir:id [ fhir:v "MedicationKnowledgeStatus" ] ; fhir:status [ fhir:v "active" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/CodeSystem/medicationknowledge-status"^^xsd:anyURI ; fhir:link <http://terminology.hl7.org/CodeSystem/medicationknowledge-status> ] ; fhir:target [ fhir:v "http://hl7.org/fhir/CodeSystem/medicationknowledge-status"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/CodeSystem/medicationknowledge-status> ] ; ( fhir:element [ fhir:code [ fhir:v "active" ] ; ( fhir:target [ fhir:code [ fhir:v "active" ] ; fhir:relationship [ fhir:v "related-to" ] ] ) ] [ fhir:code [ fhir:v "entered-in-error" ] ; ( fhir:target [ fhir:code [ fhir:v "entered-in-error" ] ; fhir:relationship [ fhir:v "related-to" ] ] ) ] [ fhir:code [ fhir:v "inactive" ] ; ( fhir:target [ fhir:code [ fhir:v "inactive" ] ; fhir:relationship [ fhir:v "related-to" ] ] ) ] ) ] ) ] ) ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ; fhir:value [ fhir:v "fhir" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ; fhir:value [ fhir:v "1"^^xsd:integer ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions> ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ; fhir:value [ fhir:v "trial-use" ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions> ] ] ) ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/MedicationKnowledge4to5"^^xsd:anyURI] ; # fhir:version [ fhir:v "5.1.0-ballot1"] ; # fhir:name [ fhir:v "MedicationKnowledge4to5"] ; # fhir:title [ fhir:v "FML Conversion for MedicationKnowledge: R4 to R5"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2023-12-19T08:40:03+11:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # fhir:contact ( [ ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] ) ; # fhir:description [ fhir:v "FMLConversionforMedicationKnowledgeR4toR5"] ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "001" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://hl7.org/fhir/4.0/StructureDefinition/MedicationKnowledge"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/4.0/StructureDefinition/MedicationKnowledge> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "MedicationKnowledgeR4" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationKnowledge"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationKnowledge> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "MedicationKnowledgeR5" ] ] ) ; # fhir:import ( [ fhir:v "http://hl7.org/fhir/StructureMap/*4to5"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureMap/*4to5> ] ) ; # fhir:group ( [ fhir:name [ fhir:v "MedicationKnowledge" ] ; fhir:extends [ fhir:v "DomainResource" ] ; fhir:typeMode [ fhir:v "type-and-types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "MedicationKnowledgeR4" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "MedicationKnowledgeR5" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.identifier -> tgt.identifier;" ] ] [ fhir:name [ fhir:v "status" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "#MedicationKnowledgeStatus" ] ] [ fhir:value [ fhir:v "code" ] ] ) ] ) ] [ fhir:name [ fhir:v "synonym" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "synonym" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.author -> tgt.author;" ] ] [ fhir:name [ fhir:v "relatedMedicationKnowledge" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "relatedMedicationKnowledge" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "relatedMedicationKnowledge" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeRelatedMedicationKnowledge" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] [ fhir:name [ fhir:v "associatedMedication" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "associatedMedication" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "associatedMedication" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "productType" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "productType" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "productType" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "monograph" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "monograph" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "monograph" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeMonograph" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] [ fhir:name [ fhir:v "preparationInstruction" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "preparationInstruction" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "preparationInstruction" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "cost" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "cost" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "cost" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeCost" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] [ fhir:name [ fhir:v "monitoringProgram" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "monitoringProgram" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "monitoringProgram" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeMonitoringProgram" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] [ fhir:name [ fhir:v "administrationGuidelines" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "administrationGuidelines" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "indicationGuideline" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeIndicationGuideline" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] [ fhir:name [ fhir:v "medicineClassification" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "medicineClassification" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "medicineClassification" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeMedicineClassification" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] [ fhir:name [ fhir:v "regulatory" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "regulatory" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "regulatory" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeRegulatory" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.packaging as s -> tgt.packaging as t then MedicationKnowledgePackaging(s,t);" ] ] [ fhir:name [ fhir:v "drugCharacteristic" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "drugCharacteristic" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "definitional" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeDefinitional" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeRelatedMedicationKnowledge" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "reference" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "reference" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "reference" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeMonograph" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "source" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "source" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "source" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeCost" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.effectiveDate -> tgt.effectiveDate;" ] ] [ fhir:name [ fhir:v "source" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "source" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "source" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "costMoney" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:type [ fhir:v "Money" ] ; fhir:element [ fhir:v "cost" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "cost" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeMonitoringProgram" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "name" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeIndicationGuideline" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "indicationCodeableConcept" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:type [ fhir:v "CodeableConcept" ] ; fhir:element [ fhir:v "indication" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "indication" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "indicationReference" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:type [ fhir:v "Reference" ] ; fhir:element [ fhir:v "indication" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "indication" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "dosage" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dosage" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dosingGuideline" ] ; fhir:variable [ fhir:v "t" ] ] [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "dosage" ] ; fhir:variable [ fhir:v "td" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "BackboneElement" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "td" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.dosingGuideline as s -> tgt.dosingGuideline as t then MedicationKnowledgeIndicationGuidelineDosingGuideline(s,t);" ] ] [ fhir:name [ fhir:v "patientCharacteristics" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "patientCharacteristics" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dosingGuideline" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "s" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "patientCharacteristic" ] ; fhir:variable [ fhir:v "tp" ] ] [ fhir:context [ fhir:v "tp" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "tc" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "tc" ] ; fhir:element [ fhir:v "text" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] ) ] ) ] [ fhir:name [ fhir:v "characteristicCodeableConcept" ] ; ( fhir:source [ fhir:context [ fhir:v "s" ] ; fhir:type [ fhir:v "CodeableConcept" ] ; fhir:element [ fhir:v "characteristic" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "patientCharacteristic" ] ; fhir:variable [ fhir:v "tp" ] ] [ fhir:context [ fhir:v "tp" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] ) ] ) ] [ fhir:name [ fhir:v "characteristicQuantity" ] ; ( fhir:source [ fhir:context [ fhir:v "s" ] ; fhir:type [ fhir:v "Quantity" ] ; fhir:element [ fhir:v "characteristic" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "patientCharacteristic" ] ; fhir:variable [ fhir:v "tp" ] ] [ fhir:context [ fhir:v "tp" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; fhir:documentation [ fhir:v "group MedicationKnowledgeIndicationGuidelineDosingGuideline(source src, target tgt) extends BackboneElement {\r\nsrc.treatmentIntent -> tgt.treatmentIntent;\r\nsrc as s -> tgt.dosage as t then MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage(s,t);\r\nsrc.administrationTreatment -> tgt.administrationTreatment;\r\nsrc.patientCharacteristic as s -> tgt.patientCharacteristic as t then MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(s,t);\r\n}" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "dosage" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dosage" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dosage" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeMedicineClassification" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; fhir:documentation [ fhir:v "group MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.value : CodeableConcept -> tgt.value;\r\nsrc.value : Quantity -> tgt.value;\r\nsrc.value : Range -> tgt.value;\r\n}" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "classification" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "classification" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "classification" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.source : string -> tgt.source;" ] ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeRegulatory" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; fhir:documentation [ fhir:v "group MedicationKnowledgePackaging(source src, target tgt) extends BackboneElement {\r\nsrc.packagedProduct -> tgt.packagedProduct;\r\n}\r\ngroup MedicationKnowledgeStorageGuideline(source src, target tgt) extends BackboneElement {\r\nsrc.reference -> tgt.reference;\r\nsrc.note -> tgt.note;\r\nsrc.stabilityDuration -> tgt.stabilityDuration;\r\nsrc.environmentalSetting as s -> tgt.environmentalSetting as t then MedicationKnowledgeStorageGuidelineEnvironmentalSetting(s,t);\r\n}\r\ngroup MedicationKnowledgeStorageGuidelineEnvironmentalSetting(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.value : Quantity -> tgt.value;\r\nsrc.value : Range -> tgt.value;\r\nsrc.value : CodeableConcept -> tgt.value;\r\n}" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "regulatoryAuthority" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "regulatoryAuthority" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "regulatoryAuthority" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "substitution" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "substitution" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "substitution" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeRegulatorySubstitution" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] [ fhir:name [ fhir:v "schedule" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "schedule" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "schedule" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s.schedule" ] ] ) ] ) ] [ fhir:name [ fhir:v "maxDispense" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "maxDispense" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "maxDispense" ] ; fhir:variable [ fhir:v "t" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MedicationKnowledgeRegulatoryMaxDispense" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] [ fhir:value [ fhir:v "t" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeRegulatorySubstitution" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "allowed" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "allowed" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "allowed" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeRegulatoryMaxDispense" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "quantity" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "quantity" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "quantity" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "period" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MedicationKnowledgeDefinitional" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "drugCharacteristic" ] ; fhir:variable [ fhir:v "t" ] ] [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "type" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.definition -> tgt.definition;" ] ] [ fhir:name [ fhir:v "valueCodeableConcept" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:type [ fhir:v "CodeableConcept" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "drugCharacteristic" ] ; fhir:variable [ fhir:v "t" ] ] [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] ) ] ) ] [ fhir:name [ fhir:v "valueString" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:type [ fhir:v "string" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "drugCharacteristic" ] ; fhir:variable [ fhir:v "t" ] ] [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] ) ] ) ] [ fhir:name [ fhir:v "valueQuantity" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:type [ fhir:v "Quantity" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "drugCharacteristic" ] ; fhir:variable [ fhir:v "t" ] ] [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] ) ] ) ] [ fhir:name [ fhir:v "valueBase64Binary" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:type [ fhir:v "base64Binary" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "drugCharacteristic" ] ; fhir:variable [ fhir:v "t" ] ] [ fhir:context [ fhir:v "t" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] ) ] ) ] ) ] ) . #
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#5.1.0-ballot1 based on FHIR 5.0.0. Generated 2023-12-19
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change