This page is part of the Post Acute Orders FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
Turtle representation of the PAO-Medication Profile.
@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:StructureDefinition; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "PAO-Medication"]; fhir:Resource.meta [ fhir:Meta.versionId [ fhir:value "4" ]; fhir:Meta.lastUpdated [ fhir:value "2020-04-03T03:22:26.587+00:00"^^xsd:dateTime ]; fhir:Meta.source [ fhir:value "#yUaYTOPRl2eE7NrM" ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "additional" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div style=\"box-sizing: border-box; color: rgb(33, 37, 41); font-family: -apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Arial,&quot;Noto Sans&quot;,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;,&quot;Noto Color Emoji&quot;; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;\">This is resource text</div></div>" ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/dme-orders/StructureDefintion/PAO-Medication"]; fhir:StructureDefinition.version [ fhir:value "0.1.0"]; fhir:StructureDefinition.name [ fhir:value "PAOMedication"]; fhir:StructureDefinition.title [ fhir:value "PAO Medication"]; fhir:StructureDefinition.status [ fhir:value "active"]; fhir:StructureDefinition.date [ fhir:value "2020-03-28T00:00:00+00:00"^^xsd:dateTime]; fhir:StructureDefinition.publisher [ fhir:value "HL7"]; fhir:StructureDefinition.contact [ fhir:index 0; fhir:ContactDetail.name [ fhir:value "HL7 International - Orders and Observations" ]; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/orders" ] ] ]; fhir:StructureDefinition.description [ fhir:value "PAO Medication profile based on us-core"]; fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"]; fhir:StructureDefinition.mapping [ fhir:index 0; fhir:StructureDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://unknown.org/Argonaut-DQ-DSTU2" ]; fhir:StructureDefinition.mapping.name [ fhir:value "Argonaut-DQ-DSTU2" ] ], [ fhir:index 1; 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 2; 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 3; fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ]; fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ] ], [ fhir:index 4; 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 "Medication"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"; fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication> ]; fhir:StructureDefinition.derivation [ fhir:value "constraint"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinition.snapshot.element [ fhir:index 0; fhir:Element.id [ fhir:value "Medication" ]; fhir:ElementDefinition.path [ fhir:value "Medication" ]; fhir:ElementDefinition.short [ fhir:value "Definition of a Medication" ]; fhir:ElementDefinition.definition [ fhir:value "The US Core Medication Profile is based upon the core FHIR Medication Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; 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 "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 1; 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 or SHALL refer to the containing resource" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/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 "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 3; fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ]; 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 security label" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 4; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ]; fhir:Extension.valueMarkdown [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ]; fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ]; fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ]; 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: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 "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "ManufacturedProduct[classCode=ADMM]" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Medication" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Medication.id" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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.comment [ 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:nonNegativeInteger ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ]; fhir:Extension.valueUrl [ fhir:value "string" ] ]; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "Medication.meta" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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 might not always be associated with version changes to the resource." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Meta" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Medication.implicitRules" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ]; fhir:ElementDefinition.comment [ 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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Medication.language" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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.comment [ 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:nonNegativeInteger ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ]; fhir:Extension.valueCanonical [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages"; fhir:link <http://hl7.org/fhir/ValueSet/all-languages> ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "Language" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "A human language." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages"; fhir:link <http://hl7.org/fhir/ValueSet/languages> ] ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "Medication.text" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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 can 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.comment [ 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 information 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:nonNegativeInteger ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Narrative" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 "Act.text?" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "Medication.contained" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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.comment [ 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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Resource" ] ]; fhir:ElementDefinition.isModifier [ 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 "N/A" ] ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "Medication.extension" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comment [ 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:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ]; fhir:ElementDefinition.isModifier [ 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 "N/A" ] ] ], [ fhir:index 8; fhir:Element.id [ fhir:value "Medication.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "Medication.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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ]; fhir:ElementDefinition.comment [ 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.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ]; 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 "N/A" ] ] ], [ fhir:index 9; fhir:Element.id [ fhir:value "Medication.identifier" ]; fhir:ElementDefinition.path [ fhir:value "Medication.identifier" ]; fhir:ElementDefinition.short [ fhir:value "Business identifier for this medication" ]; fhir:ElementDefinition.definition [ fhir:value "Business identifier for this medication." ]; fhir:ElementDefinition.comment [ fhir:value "The serial number could be included as an identifier." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.identifier" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 10; fhir:Element.id [ fhir:value "Medication.code" ]; fhir:ElementDefinition.path [ fhir:value "Medication.code" ]; fhir:ElementDefinition.short [ fhir:value "Codes that identify this medication" ]; fhir:ElementDefinition.definition [ fhir:value "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems." ]; fhir:ElementDefinition.comment [ fhir:value "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one)." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.code" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.binding.description [ fhir:value "Prescribable medications" ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"; fhir:link <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 "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ], [ fhir:index 4; fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Medication.code" ] ] ], [ fhir:index 11; fhir:Element.id [ fhir:value "Medication.status" ]; fhir:ElementDefinition.path [ fhir:value "Medication.status" ]; fhir:ElementDefinition.short [ fhir:value "active | inactive | entered-in-error" ]; fhir:ElementDefinition.definition [ fhir:value "A code to indicate if the medication is in active use." ]; fhir:ElementDefinition.comment [ fhir:value "This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.status" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "This element changes the interpretation of all descriptive attributes." ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "MedicationStatus" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept defining if the medication is in active use." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medication-status|4.0.1"; fhir:link <http://hl7.org/fhir/ValueSet/medication-status|4.0.1> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode" ] ] ], [ fhir:index 12; fhir:Element.id [ fhir:value "Medication.manufacturer" ]; fhir:ElementDefinition.path [ fhir:value "Medication.manufacturer" ]; fhir:ElementDefinition.short [ fhir:value "Manufacturer of the item" ]; fhir:ElementDefinition.definition [ fhir:value "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.manufacturer" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; 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:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ 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 "no mapping" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.actor" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".player.scopingRole[typeCode=MANU].scoper" ] ] ], [ fhir:index 13; fhir:Element.id [ fhir:value "Medication.form" ]; fhir:ElementDefinition.path [ fhir:value "Medication.form" ]; fhir:ElementDefinition.short [ fhir:value "powder | tablets | capsule +" ]; fhir:ElementDefinition.definition [ fhir:value "Describes the form of the item. Powder; tablets; capsule." ]; fhir:ElementDefinition.comment [ fhir:value "When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.form" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "MedicationForm" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept defining the form of a medication." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medication-form-codes"; fhir:link <http://hl7.org/fhir/ValueSet/medication-form-codes> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "coding.code = //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".formCode" ] ] ], [ fhir:index 14; fhir:Element.id [ fhir:value "Medication.amount" ]; fhir:ElementDefinition.path [ fhir:value "Medication.amount" ]; fhir:ElementDefinition.short [ fhir:value "Amount of drug in package" ]; fhir:ElementDefinition.definition [ fhir:value "Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.)." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.amount" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Ratio" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^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 ".quantity" ] ] ], [ fhir:index 15; fhir:Element.id [ fhir:value "Medication.ingredient" ]; fhir:ElementDefinition.path [ fhir:value "Medication.ingredient" ]; fhir:ElementDefinition.short [ fhir:value "Active or inactive ingredient" ]; fhir:ElementDefinition.definition [ fhir:value "Identifies a particular constituent of interest in the product." ]; fhir:ElementDefinition.comment [ fhir:value "The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.ingredient" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 ".scopesRole[typeCode=INGR]" ] ] ], [ fhir:index 16; fhir:Element.id [ fhir:value "Medication.ingredient.id" ]; fhir:ElementDefinition.path [ fhir:value "Medication.ingredient.id" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ]; 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:nonNegativeInteger ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ]; fhir:Extension.valueUrl [ fhir:value "string" ] ]; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ 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 "n/a" ] ] ], [ fhir:index 17; fhir:Element.id [ fhir:value "Medication.ingredient.extension" ]; fhir:ElementDefinition.path [ fhir:value "Medication.ingredient.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. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comment [ 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:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ]; fhir:ElementDefinition.isModifier [ 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 "n/a" ] ] ], [ fhir:index 18; fhir:Element.id [ fhir:value "Medication.ingredient.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "Medication.ingredient.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ]; 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ]; fhir:ElementDefinition.comment [ 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.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ]; 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 19; fhir:Element.id [ fhir:value "Medication.ingredient.item[x]" ]; fhir:ElementDefinition.path [ fhir:value "Medication.ingredient.item[x]" ]; fhir:ElementDefinition.short [ fhir:value "The actual ingredient or content" ]; fhir:ElementDefinition.definition [ fhir:value "The actual ingredient - either a substance (simple ingredient) or another medication of a medication." ]; fhir:ElementDefinition.requirements [ fhir:value "The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base)." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.ingredient.item[x]" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; 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/StructureDefinition/Substance"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/Substance> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Medication"; fhir:index 1; fhir:link <http://hl7.org/fhir/StructureDefinition/Medication> ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".player" ] ] ], [ fhir:index 20; fhir:Element.id [ fhir:value "Medication.ingredient.isActive" ]; fhir:ElementDefinition.path [ fhir:value "Medication.ingredient.isActive" ]; fhir:ElementDefinition.short [ fhir:value "Active ingredient indicator" ]; fhir:ElementDefinition.definition [ fhir:value "Indication of whether this ingredient affects the therapeutic action of the drug." ]; fhir:ElementDefinition.requirements [ fhir:value "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive)." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.ingredient.isActive" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 "NA" ] ] ], [ fhir:index 21; fhir:Element.id [ fhir:value "Medication.ingredient.strength" ]; fhir:ElementDefinition.path [ fhir:value "Medication.ingredient.strength" ]; fhir:ElementDefinition.short [ fhir:value "Quantity of ingredient present" ]; fhir:ElementDefinition.definition [ fhir:value "Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.ingredient.strength" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Ratio" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 "script10.6" ]; fhir:ElementDefinition.mapping.map [ fhir:value "//element(*,DrugCodedType)/Strength" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".quantity" ] ] ], [ fhir:index 22; fhir:Element.id [ fhir:value "Medication.batch" ]; fhir:ElementDefinition.path [ fhir:value "Medication.batch" ]; fhir:ElementDefinition.short [ fhir:value "Details about packaged medications" ]; fhir:ElementDefinition.definition [ fhir:value "Information that only applies to packages (not products)." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.batch" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 "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 ".player[classCode=CONT]" ] ] ], [ fhir:index 23; fhir:Element.id [ fhir:value "Medication.batch.id" ]; fhir:ElementDefinition.path [ fhir:value "Medication.batch.id" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ]; 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:nonNegativeInteger ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ]; fhir:Extension.valueUrl [ fhir:value "string" ] ]; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ 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 "n/a" ] ] ], [ fhir:index 24; fhir:Element.id [ fhir:value "Medication.batch.extension" ]; fhir:ElementDefinition.path [ fhir:value "Medication.batch.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. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comment [ 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:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ]; fhir:ElementDefinition.isModifier [ 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 "n/a" ] ] ], [ fhir:index 25; fhir:Element.id [ fhir:value "Medication.batch.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "Medication.batch.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ]; 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ]; fhir:ElementDefinition.comment [ 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.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ]; 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:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ]; 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 26; fhir:Element.id [ fhir:value "Medication.batch.lotNumber" ]; fhir:ElementDefinition.path [ fhir:value "Medication.batch.lotNumber" ]; fhir:ElementDefinition.short [ fhir:value "Identifier assigned to batch" ]; fhir:ElementDefinition.definition [ fhir:value "The assigned lot number of a batch of the specified product." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.batch.lotNumber" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 "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 "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 27; fhir:Element.id [ fhir:value "Medication.batch.expirationDate" ]; fhir:ElementDefinition.path [ fhir:value "Medication.batch.expirationDate" ]; fhir:ElementDefinition.short [ fhir:value "When batch will expire" ]; fhir:ElementDefinition.definition [ fhir:value "When this specific batch of product will expire." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Medication.batch.expirationDate" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ]; 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 "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ 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 "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 "RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" ] ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0; fhir:Element.id [ fhir:value "Medication" ]; fhir:ElementDefinition.path [ fhir:value "Medication" ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Medication.identifier" ]; fhir:ElementDefinition.path [ fhir:value "Medication.identifier" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ] ]. # - ontology header ------------------------------------------------------------ a owl:Ontology; owl:imports fhir:fhir.ttl.