This page is part of the US Core (v0.0.0: STU1 Ballot 1) based on FHIR v1.8.0. The current version which supercedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions
@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 ------------------------------------------------------------------- <StructureDefinition/us-core-medicationrequest> a fhir:StructureDefinition; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "us-core-medicationrequest"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest</a></p><p><b>name</b>: US Core Medication Request Profile</p><p><b>status</b>: DRAFT</p><p><b>date</b>: 01/08/2016</p><p><b>publisher</b>: Health Level Seven International (FHIR-Infrastructure)</p><p><b>contact</b>: </p><p><b>url</b>: <a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest</a></p><p><b>name</b>: US Core Medication Request Profile</p><p><b>status</b>: DRAFT</p><p><b>publisher</b>: Health Level Seven International (FHIR-Infrastructure)</p><p><b>contact</b>: </p><p><b>date</b>: 01/08/2016</p><blockquote><p><b>mapping</b></p><p><b>identity</b>: script10.6</p><p><b>uri</b>: <a href=\"http://ncpdp.org/SCRIPT10_6\">http://ncpdp.org/SCRIPT10_6</a></p><p><b>name</b>: Mapping to NCPDP SCRIPT 10.6</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: rim</p><p><b>uri</b>: <a href=\"http://hl7.org/v3\">http://hl7.org/v3</a></p><p><b>name</b>: RIM Mapping</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: w5</p><p><b>uri</b>: <a href=\"http://hl7.org/fhir/w5\">http://hl7.org/fhir/w5</a></p><p><b>name</b>: W5 Mapping</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: v2</p><p><b>uri</b>: <a href=\"http://hl7.org/v2\">http://hl7.org/v2</a></p><p><b>name</b>: HL7 v2 Mapping</p></blockquote><p><b>kind</b>: RESOURCE</p><p><b>abstract</b>: false</p><p><b>type</b>: MedicationRequest</p><p><b>baseDefinition</b>: <a href=\"http://hl7.org/fhir/StructureDefinition/MedicationRequest\">http://hl7.org/fhir/StructureDefinition/MedicationRequest</a></p><p><b>derivation</b>: CONSTRAINT</p><h3>Snapshots</h3><table class=\"grid\"><tr><td>-</td><td><b>Element</b></td></tr><tr><td>*</td><td>todo-bundle</td></tr></table><h3>Differentials</h3><table class=\"grid\"><tr><td>-</td><td><b>Element</b></td></tr><tr><td>*</td><td>todo-bundle</td></tr></table></div>" ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"]; fhir:StructureDefinition.name [ fhir:value "US Core Medication Request Profile"]; fhir:StructureDefinition.status [ fhir:value "draft"]; fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven International (FHIR-Infrastructure)"]; fhir:StructureDefinition.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://www.healthit.gov" ] ] ]; fhir:StructureDefinition.date [ fhir:value "2016-08-01"^^xsd:date]; fhir:StructureDefinition.mapping [ fhir:index 0; fhir:StructureDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://ncpdp.org/SCRIPT10_6" ]; fhir:StructureDefinition.mapping.name [ fhir:value "Mapping to NCPDP SCRIPT 10.6" ] ], [ fhir:index 1; fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ]; fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ] ], [ fhir:index 2; fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/w5" ]; fhir:StructureDefinition.mapping.name [ fhir:value "W5 Mapping" ] ], [ fhir:index 3; fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ]; fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ] ]; fhir:StructureDefinition.kind [ fhir:value "resource"]; fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; fhir:StructureDefinition.type [ fhir:value "MedicationRequest"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest"]; fhir:StructureDefinition.derivation [ fhir:value "constraint"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinition.snapshot.element [ fhir:index 0; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest" ]; fhir:ElementDefinition.sliceName [ fhir:value "USCoreMedicationRequest" ]; fhir:ElementDefinition.short [ fhir:value "US Core Medication Request Profile" ]; fhir:ElementDefinition.definition [ fhir:value "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements." ]; fhir:ElementDefinition.alias [ fhir:value "Prescription"; fhir:index 0 ], [ fhir:value "Order"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "dom-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain any narrative" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.text.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:text)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ], [ fhir:index 2; fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ], [ fhir:index 3; fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "CombinedMedicationRequest" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "clinical.medication" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.id" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.id" ]; fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ]; fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ]; fhir:ElementDefinition.comments [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "id" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.meta" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.meta" ]; fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ]; fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Meta" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.implicitRules" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.implicitRules" ]; fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." ]; fhir:ElementDefinition.comments [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.language" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.language" ]; fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ]; fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ]; fhir:ElementDefinition.comments [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.binding [ fhir:extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ]; fhir:Extension.valueReference [ fhir:link <http://hl7.org/fhir/ValueSet/all-languages>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ] ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.binding.description [ fhir:value "A human language." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/languages>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ] ] ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.text" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.text" ]; fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ]; fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ]; fhir:ElementDefinition.comments [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later." ]; fhir:ElementDefinition.alias [ fhir:value "narrative"; fhir:index 0 ], [ fhir:value "html"; fhir:index 1 ], [ fhir:value "xhtml"; fhir:index 2 ], [ fhir:value "display"; fhir:index 3 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Narrative" ] ]; fhir:ElementDefinition.condition [ fhir:value "dom-1"; fhir:index 0 ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.contained" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.contained" ]; fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ]; fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ]; fhir:ElementDefinition.comments [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again." ]; fhir:ElementDefinition.alias [ fhir:value "inline resources"; fhir:index 0 ], [ fhir:value "anonymous resources"; fhir:index 1 ], [ fhir:value "contained resources"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Resource" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.extension" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ]; fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 8; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ]; fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 9; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.identifier" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.identifier" ]; fhir:ElementDefinition.short [ fhir:value "External identifier" ]; fhir:ElementDefinition.definition [ fhir:value "External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.identifier" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Header/PrescriberOrderNumber" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "ORC-2-Placer Order Number / ORC-3-Filler Order Number" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "id" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "id" ] ] ], [ fhir:index 10; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.definition" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.definition" ]; fhir:ElementDefinition.short [ fhir:value "Protocol or definition" ]; fhir:ElementDefinition.definition [ fhir:value "Protocol or definition followed by this request." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.definition" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/PlanDefinition" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 11; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.basedOn" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.basedOn" ]; fhir:ElementDefinition.short [ fhir:value "What request fulfills" ]; fhir:ElementDefinition.definition [ fhir:value "Plan/proposal/order fulfilled by this request." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.basedOn" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/CarePlan" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" ] ], [ fhir:index 2; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] ], [ fhir:index 3; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" ] ], [ fhir:index 4; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ReferralRequest" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 12; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.requisition" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.requisition" ]; fhir:ElementDefinition.short [ fhir:value "Identifier of composite" ]; fhir:ElementDefinition.definition [ fhir:value "Composite request this is part of." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.requisition" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 13; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.status" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.status" ]; fhir:ElementDefinition.short [ fhir:value "active | on-hold | cancelled | completed | entered-in-error | stopped | draft" ]; fhir:ElementDefinition.definition [ fhir:value "A code specifying the state of the order. Generally this will be active or completed state." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.status" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/medication-order-status>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/medication-order-status" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "no mapping" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "statusCode" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "status" ] ] ], [ fhir:index 14; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.stage" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.stage" ]; fhir:ElementDefinition.short [ fhir:value "proposal | plan | original-order" ]; fhir:ElementDefinition.definition [ fhir:value "Whether the request is a proposal, plan, or an original order." ]; fhir:ElementDefinition.comments [ fhir:value "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.stage" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "The kind of medication order" ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/medication-request-stage>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/medication-request-stage" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "class" ] ] ], [ fhir:index 15; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.medication[x]" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.medication[x]" ]; fhir:ElementDefinition.short [ fhir:value "Medication to be taken" ]; fhir:ElementDefinition.definition [ fhir:value "Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications." ]; fhir:ElementDefinition.comments [ fhir:value "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended. Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.medication[x]" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.binding.description [ fhir:value "Prescribable medications" ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "consumable.administrableMedication" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "what" ] ] ], [ fhir:index 16; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.patient" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.patient" ]; fhir:ElementDefinition.short [ fhir:value "Who prescription is for" ]; fhir:ElementDefinition.definition [ fhir:value "A link to a resource representing the person to whom the medication will be given." ]; fhir:ElementDefinition.comments [ fhir:value "The patient on a medicationRequest is mandatory. For the secondary use case where the actual patient is not provided, there still must be an anonymyzed patient specified." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.patient" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/Patient (need detail to link to specific patient … Patient.Identification in SCRIPT)" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PID-3-Patient ID List" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "subject.role" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "who.focus" ] ] ], [ fhir:index 17; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.context" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.context" ]; fhir:ElementDefinition.short [ fhir:value "Created during encounter/admission/stay" ]; fhir:ElementDefinition.definition [ fhir:value "A link to a resource that identifies the particular occurrence or set oc occurences of contact between patient and health care provider." ]; fhir:ElementDefinition.comments [ fhir:value "SubstanceAdministration->component->EncounterEvent." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.context" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "no mapping" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PV1-19-Visit Number" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "componentOf.patientEncounter" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "context" ] ] ], [ fhir:index 18; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.supportingInformation" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.supportingInformation" ]; fhir:ElementDefinition.short [ fhir:value "Information to support ordering of the medication" ]; fhir:ElementDefinition.definition [ fhir:value "Include additional information (for example, patient height and weight) that supports the ordering of the medication." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.supportingInformation" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "context" ] ] ], [ fhir:index 19; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dateWritten" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dateWritten" ]; fhir:ElementDefinition.short [ fhir:value "When prescription was initially authorized" ]; fhir:ElementDefinition.definition [ fhir:value "The date (and perhaps time) when the prescription was initially written." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dateWritten" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/WrittenDate" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "author.time" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "when.recorded" ] ] ], [ fhir:index 20; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.requester" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.requester" ]; fhir:ElementDefinition.short [ fhir:value "Who ordered the initial medication(s)" ]; fhir:ElementDefinition.definition [ fhir:value "The healthcare professional responsible for authorizing the initial prescription." ]; fhir:ElementDefinition.comments [ fhir:value "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.requester" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/Prescriber (need detail to link to specific prescriber … Prescriber.Identification in SCRIPT)" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated)" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "author.role" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "who.actor" ] ] ], [ fhir:index 21; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.reasonCode" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.reasonCode" ]; fhir:ElementDefinition.short [ fhir:value "Reason or indication for writing the prescription" ]; fhir:ElementDefinition.definition [ fhir:value "Can be the reason or the indication for writing the prescription." ]; fhir:ElementDefinition.comments [ fhir:value "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.reasonCode" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept indicating why the medication was ordered." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/condition-code>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/condition-code" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "reason.observation.reasonCode" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "why" ] ] ], [ fhir:index 22; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.reasonReference" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.reasonReference" ]; fhir:ElementDefinition.short [ fhir:value "Condition or Observation that supports why the prescription is being written" ]; fhir:ElementDefinition.definition [ fhir:value "Condition or observation that supports why the prescription is being written." ]; fhir:ElementDefinition.comments [ fhir:value "This is a reference to a condition that is the reason for the medication order. If only a code exists, use reasonCode." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.reasonReference" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Condition" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Observation" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "no mapping" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "reason.observation[code=ASSERTION].value" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "why" ] ] ], [ fhir:index 23; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.note" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note" ]; fhir:ElementDefinition.short [ fhir:value "Information about the prescription" ]; fhir:ElementDefinition.definition [ fhir:value "Extra information about the prescription that could not be conveyed by the other attributes." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.note" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Annotation" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Note" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" ] ] ], [ fhir:index 24; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.category" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.category" ]; fhir:ElementDefinition.short [ fhir:value "Type of medication usage" ]; fhir:ElementDefinition.definition [ fhir:value "Indicates where type of medication order and where the medication is expected to be consumed or administered." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.category" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept identifying where the medication ordered is expected to be consumed or administered" ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/medication-request-category>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/medication-request-category" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Directions or Message/Body/NewRx/MedicationPrescribed/StructuredSIG" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "not mapped" ] ] ], [ fhir:index 25; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dosageInstruction" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction" ]; fhir:ElementDefinition.short [ fhir:value "How the medication should be taken" ]; fhir:ElementDefinition.definition [ fhir:value "Indicates how the medication is to be used by the patient." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dosageInstruction" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "DosageInstruction" ] ] ], [ fhir:index 26; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest" ]; fhir:ElementDefinition.short [ fhir:value "Medication supply authorization" ]; fhir:ElementDefinition.definition [ fhir:value "Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). Note that this information is NOT always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "children().count() > id.count()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "Element" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "component.supplyEvent" ] ] ], [ fhir:index 27; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.id" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.id" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ]; fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 28; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.extension" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ]; fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 29; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ]; fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ], [ fhir:value "modifiers"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 30; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.validityPeriod" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.validityPeriod" ]; fhir:ElementDefinition.short [ fhir:value "Time period supply is authorized for" ]; fhir:ElementDefinition.definition [ fhir:value "This indicates the validity period of a prescription (stale dating the Prescription)." ]; fhir:ElementDefinition.comments [ fhir:value "It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations." ]; fhir:ElementDefinition.requirements [ fhir:value "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.validityPeriod" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Refills" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "effectiveTime" ] ] ], [ fhir:index 31; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.numberOfRepeatsAllowed" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ]; fhir:ElementDefinition.short [ fhir:value "Number of refills authorized" ]; fhir:ElementDefinition.definition [ fhir:value "An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does NOT include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets." ]; fhir:ElementDefinition.comments [ fhir:value "If displaying \"number of authorized fills\", add 1 to this number." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Quantity" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-12-Number of Refills" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "repeatNumber" ] ] ], [ fhir:index 32; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.quantity" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.quantity" ]; fhir:ElementDefinition.short [ fhir:value "Amount of medication to supply per dispense" ]; fhir:ElementDefinition.definition [ fhir:value "The amount that is to be dispensed for one fill." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.quantity" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ]; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/DaysSupply" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "quantity" ] ] ], [ fhir:index 33; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.expectedSupplyDuration" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.expectedSupplyDuration" ]; fhir:ElementDefinition.short [ fhir:value "Number of days supply per dispense" ]; fhir:ElementDefinition.definition [ fhir:value "Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last." ]; fhir:ElementDefinition.comments [ fhir:value "In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.expectedSupplyDuration" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Duration" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Substitutions" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "expectedUseTime" ] ] ], [ fhir:index 34; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dispenseRequest.performer" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.performer" ]; fhir:ElementDefinition.short [ fhir:value "Intended dispenser" ]; fhir:ElementDefinition.definition [ fhir:value "Indicates the intended dispensing Organization specified by the prescriber." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.performer" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "who" ] ] ], [ fhir:index 35; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.substitution" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution" ]; fhir:ElementDefinition.short [ fhir:value "Any restrictions on medication substitution" ]; fhir:ElementDefinition.definition [ fhir:value "Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.substitution" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "children().count() > id.count()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "Element" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "subjectOf.substitutionPersmission" ] ] ], [ fhir:index 36; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.substitution.id" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.id" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ]; fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 37; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.substitution.extension" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.extension" ]; fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 38; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.substitution.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ]; fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ], [ fhir:value "modifiers"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 39; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.substitution.allowed" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.allowed" ]; fhir:ElementDefinition.short [ fhir:value "Whether substitution is allowed or not" ]; fhir:ElementDefinition.definition [ fhir:value "True if the prescriber allows a different drug to be dispensed from what was prescribed." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.substitution.allowed" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-9-Allow Substitutions / RXE-9-Substitution Status" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "code" ] ] ], [ fhir:index 40; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.substitution.reason" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.reason" ]; fhir:ElementDefinition.short [ fhir:value "Why should (not) substitution be made" ]; fhir:ElementDefinition.definition [ fhir:value "Indicates the reason for the substitution, or why substitution must or must not be performed." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.substitution.reason" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "not mapped" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-9 Substition status" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "reasonCode" ] ] ], [ fhir:index 41; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.priorPrescription" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.priorPrescription" ]; fhir:ElementDefinition.short [ fhir:value "An order/prescription that this supersedes" ]; fhir:ElementDefinition.definition [ fhir:value "A link to a resource representing an earlier order related order or prescription." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.priorPrescription" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "not mapped" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" ] ] ], [ fhir:index 42; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.eventHistory" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.eventHistory" ]; fhir:ElementDefinition.short [ fhir:value "A list of events of interest in the lifecycle" ]; fhir:ElementDefinition.definition [ fhir:value "A summary of the events of interest that have occurred as the request is processed; e.g. when the order was verified or when it was completed." ]; fhir:ElementDefinition.comments [ fhir:value "See usage notes in Request pattern in request history." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.eventHistory" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Provenance" ] ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest" ]; fhir:ElementDefinition.sliceName [ fhir:value "USCoreMedicationRequest" ]; fhir:ElementDefinition.short [ fhir:value "US Core Medication Request Profile" ]; fhir:ElementDefinition.definition [ fhir:value "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements." ]; fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.status" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.status" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/medication-order-status>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/medication-order-status" ] ] ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.medication[x]" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.medication[x]" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.binding.description [ fhir:value "Prescribable medications" ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" ] ] ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.patient" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.patient" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.dateWritten" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dateWritten" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "MedicationRequest:uscoremedicationrequest.requester" ]; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.requester" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ] ]. <http://hl7.org/fhir/ValueSet/all-languages> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/languages> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/medication-order-status> a fhir:ValueSet, fhir:ValueSet. <http://hl7.org/fhir/ValueSet/medication-request-stage> a fhir:ValueSet. <http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes> a fhir:us, fhir:us. <http://hl7.org/fhir/ValueSet/condition-code> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/medication-request-category> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason> a fhir:ValueSet.