FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | 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 "MedicationOrder2to3"] ; # 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/MedicationOrder2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MedicationOrder2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'MedicationOrder Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/MedicationOrder<span style=\"color: navy\">" </span><b>alias </b>MedicationOrderR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/MedicationRequest<span style=\"color: navy\">" </span><b>alias </b>MedicationRequest <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>MedicationOrder<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>MedicationOrderR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>MedicationRequest<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span>tgt.intent = <span style=\"color: blue\">'order'</span> <i>"MedicationOrder-intent"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"MedicationOrder-identifier"</i><span style=\"color: navy\">;</span>\r\n src.dateWritten<span style=\"color: navy\"><b> -> </b></span>tgt.authoredOn <i>"MedicationOrder-dateWritten"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"MedicationOrder-status"</i><span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"MedicationOrder-patient"</i><span style=\"color: navy\">;</span>\r\n src<b> where </b>prescriber.exists()<span style=\"color: navy\"><b> -> </b></span>tgt.requester<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>medRequestor<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"MedicationOrder-prescriber"</i><span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.context <i>"MedicationOrder-encounter"</i><span style=\"color: navy\">;</span>\r\n src.reason<b> where </b>$this is CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.reasonCode <i>"MedicationOrder-reasonCode"</i><span style=\"color: navy\">;</span>\r\n src.reason<b> where </b>$this is Reference<span style=\"color: navy\"><b> -> </b></span>tgt.reasonReference <i>"MedicationOrder-reasonCode"</i><span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.note <i>"MedicationOrder-note"</i><span style=\"color: navy\">;</span>\r\n src.medication<span style=\"color: navy\"><b> -> </b></span>tgt.medication <i>"MedicationOrder-medication"</i><span style=\"color: navy\">;</span>\r\n src.dosageInstruction<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.dosageInstruction<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>medDosageInstruction<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"MedicationOrder-dosageInstruction"</i><span style=\"color: navy\">;</span>\r\n src.dispenseRequest<b> as </b><span style=\"color: maroon\">vs</span><b> check </b>medication.empty()<span style=\"color: navy\"><b> -> </b></span>tgt.dispenseRequest<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>medDispenseRequest<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"MedicationOrder-dispenseRequest"</i><span style=\"color: navy\">;</span>\r\n src.substitution<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.substitution<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>medSubstitution<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"MedicationOrder-substitution"</i><span style=\"color: navy\">;</span>\r\n src.priorPrescription<span style=\"color: navy\"><b> -> </b></span>tgt.priorPrescription <i>"MedicationOrder-priorPrescription"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>medDosageInstruction<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>Element<span style=\"color: navy\"> {\r\n</span> src.text<span style=\"color: navy\"><b> -> </b></span>tgt.text <i>"dosage-text"</i><span style=\"color: navy\">;</span>\r\n src.additionalInstructions<span style=\"color: navy\"><b> -> </b></span>tgt.additionalInstruction <i>"dosage-additionalInstructions"</i><span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"><b> -> </b></span>tgt.timing <i>"dosage-timing"</i><span style=\"color: navy\">;</span>\r\n src.asNeeded<span style=\"color: navy\"><b> -> </b></span>tgt.asNeeded <i>"dosage-asNeeded"</i><span style=\"color: navy\">;</span>\r\n src.site<b> where </b>$this is CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.site <i>"dosage-site"</i><span style=\"color: navy\">;</span>\r\n src.route<span style=\"color: navy\"><b> -> </b></span>tgt.route <i>"dosage-route"</i><span style=\"color: navy\">;</span>\r\n src.method<span style=\"color: navy\"><b> -> </b></span>tgt.method <i>"dosage-method"</i><span style=\"color: navy\">;</span>\r\n src.dose<span style=\"color: navy\"><b> -> </b></span>tgt.dose <i>"dosage-dose"</i><span style=\"color: navy\">;</span>\r\n src.rate<span style=\"color: navy\"><b> -> </b></span>tgt.rate <i>"dosage-rate"</i><span style=\"color: navy\">;</span>\r\n src.maxDosePerPeriod<span style=\"color: navy\"><b> -> </b></span>tgt.maxDosePerPeriod <i>"dosage-maxDosePerPeriod"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>medDispenseRequest<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.validityPeriod<span style=\"color: navy\"><b> -> </b></span>tgt.validityPeriod <i>"dispenseRequest-validityPeriod"</i><span style=\"color: navy\">;</span>\r\n src.numberOfRepeatsAllowed<span style=\"color: navy\"><b> -> </b></span>tgt.numberOfRepeatsAllowed <i>"dispenseRequest-numberOfRepeatsAllowed"</i><span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity <i>"dispenseRequest-quantity"</i><span style=\"color: navy\">;</span>\r\n src.expectedSupplyDuration<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.expectedSupplyDuration<b> as </b><span style=\"color: maroon\">d</span><b> then </b>QuantityToDuration<span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">d</span><span style=\"color: navy\">)</span> <i>"dispenseRequest-expectedSupplyDuration"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>medSubstitution<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.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason <i>"substitution-reason"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>medRequestor<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><span style=\"color: navy\"> {\r\n</span> src.prescriber<span style=\"color: navy\"><b> -> </b></span>tgt.agent <i>"MedicationOrder-prescriber2"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>" ] ; # 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.xver"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ; fhir:value [ fhir:v "draft" ; ( 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.xver"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/MedicationOrder2to3"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "MedicationOrder2to3"] ; # fhir:title [ fhir:v "MedicationOrder Transforms: R2 to R3"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2024-02-22T03:16:50+00: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 "MedicationOrderTransformsR2toR3"] ; # 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/1.0/MedicationOrder"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/1.0/MedicationOrder> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "MedicationOrderR2" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/3.0/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/3.0/MedicationRequest> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "MedicationRequest" ] ] ) ; # fhir:import ( [ fhir:v "http://hl7.org/fhir/StructureMap/*2to3"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureMap/*2to3> ] ) ; # fhir:group ( [ fhir:name [ fhir:v "MedicationOrder" ] ; fhir:extends [ fhir:v "DomainResource" ] ; fhir:typeMode [ fhir:v "type-and-types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "MedicationOrderR2" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "MedicationRequest" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "MedicationOrder-intent" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "intent" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "order" ] ] ) ] ) ] [ fhir:name [ fhir:v "MedicationOrder-identifier" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "identifier" ] ; 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 "MedicationOrder-dateWritten" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dateWritten" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "authoredOn" ] ; 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 "MedicationOrder-status" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "status" ] ; 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 "MedicationOrder-patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "patient" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "subject" ] ; 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 "MedicationOrder-prescriber" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:condition [ fhir:v "prescriber.exists()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "requester" ] ; fhir:variable [ fhir:v "vt" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "medRequestor" ] ; ( fhir:parameter [ fhir:value [ fhir:v "src" ] ] [ fhir:value [ fhir:v "vt" ] ] ) ] ) ] [ fhir:name [ fhir:v "MedicationOrder-encounter" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "context" ] ; 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 "MedicationOrder-reasonCode" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "reason" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:condition [ fhir:v "$this is CodeableConcept" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "reasonCode" ] ; 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 "MedicationOrder-reasonCode" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "reason" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:condition [ fhir:v "$this is Reference" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "reasonReference" ] ; 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 "MedicationOrder-note" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "note" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "note" ] ; 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 "MedicationOrder-medication" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "medication" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "medication" ] ; 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 "MedicationOrder-dosageInstruction" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dosageInstruction" ] ; fhir:variable [ fhir:v "vs" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dosageInstruction" ] ; fhir:variable [ fhir:v "vt" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "medDosageInstruction" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs" ] ] [ fhir:value [ fhir:v "vt" ] ] ) ] ) ] [ fhir:name [ fhir:v "MedicationOrder-dispenseRequest" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dispenseRequest" ] ; fhir:variable [ fhir:v "vs" ] ; fhir:check [ fhir:v "medication.empty()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dispenseRequest" ] ; fhir:variable [ fhir:v "vt" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "medDispenseRequest" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs" ] ] [ fhir:value [ fhir:v "vt" ] ] ) ] ) ] [ fhir:name [ fhir:v "MedicationOrder-substitution" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "substitution" ] ; fhir:variable [ fhir:v "vs" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "substitution" ] ; fhir:variable [ fhir:v "vt" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "medSubstitution" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs" ] ] [ fhir:value [ fhir:v "vt" ] ] ) ] ) ] [ fhir:name [ fhir:v "MedicationOrder-priorPrescription" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "priorPrescription" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "priorPrescription" ] ; 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 "medDosageInstruction" ] ; fhir:extends [ fhir:v "Element" ] ; ( 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 "dosage-text" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "text" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "text" ] ; 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-additionalInstructions" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "additionalInstructions" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "additionalInstruction" ] ; 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-timing" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "timing" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "timing" ] ; 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-asNeeded" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "asNeeded" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "asNeeded" ] ; 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-site" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "site" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:condition [ fhir:v "$this is CodeableConcept" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "site" ] ; 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-route" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "route" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "route" ] ; 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-method" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "method" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "method" ] ; 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-dose" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dose" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dose" ] ; 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-rate" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "rate" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "rate" ] ; 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-maxDosePerPeriod" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "maxDosePerPeriod" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "maxDosePerPeriod" ] ; 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 "medDispenseRequest" ] ; 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 "dispenseRequest-validityPeriod" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "validityPeriod" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "validityPeriod" ] ; 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 "dispenseRequest-numberOfRepeatsAllowed" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "numberOfRepeatsAllowed" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "numberOfRepeatsAllowed" ] ; 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 "dispenseRequest-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 "dispenseRequest-expectedSupplyDuration" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "expectedSupplyDuration" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "expectedSupplyDuration" ] ; fhir:variable [ fhir:v "d" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "QuantityToDuration" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "d" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "medSubstitution" ] ; 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 "substitution-reason" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "reason" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "reason" ] ; 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 "medRequestor" ] ; ( 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 "MedicationOrder-prescriber2" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "prescriber" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "agent" ] ; 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" ] ] ) ] ) ] ) ] ) . #
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.xver#0.1.0 based on FHIR 5.0.0. Generated 2024-02-22
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change