RXE
type: StructureDefinition
node role: treeRoot
id:
  v: RXE
meta:
  last updated:
    v: 2023-08-09T18:09:05.304+02:00
text:
  status:
    v: generated
  div: Segment: RXE
url:
  v: http://hl7.org/fhir/StructureDefinition/RXE
version:
  v: 2.9
name:
  v: RXE
title:
  v: RXE (Segment)
status:
  v: draft
experimental:
  v: true
date:
  v: 2023-08-09T18:09:05+02:00
publisher:
  v: FO
description:
  v: Pharmacy/Treatment Encoded Order
copyright:
  v: FO
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: RXE
base definition:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  link: http://hl7.org/fhir/StructureDefinition/DomainResource
derivation:
  v: specialization
snapshot:
  element:
    id:
      v: RXE
    path:
      v: RXE
    short:
      v: A resource with narrative, extensions, and contained resources
    definition:
      v: Pharmacy/Treatment Encoded Order
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: DomainResource
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: 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
      expression:
        v: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-6
      severity:
        v: warning
      human:
        v: A resource should have narrative for robust management
      expression:
        v: text.`div`.exists()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    must support:
      v: false
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: Entity. Role, or Act,Entity, Role, or Act
  element:
    id:
      v: RXE.id
    path:
      v: RXE.id
    short:
      v: Logical id of this artifact
    definition:
      v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
    comment:
      v: Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Resource.id
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/fhirpath/System.String
    must support:
      v: false
    is modifier:
      v: false
    is summary:
      v: true
  element:
    id:
      v: RXE.meta
    path:
      v: RXE.meta
    short:
      v: Metadata about the resource
    definition:
      v: 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.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Resource.meta
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Meta
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children

v: true

v: 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.

v: id

v: hasValue() or (children().count() > id.count())

v: false

v: false

v: true

id:
  v: RXE.implicitRules
path:
  v: RXE.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: 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.
comment:
  v: 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 its narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
is summary:
  v: true

id:
  v: RXE.language
path:
  v: RXE.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: Language
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    value:
      v: true
  strength:
    v: required
  description:
    v: IETF language tag for a human language
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages|5.0.0
    link: 5.0
    link: .0
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages
      link: http://hl7.org/fhir/ValueSet/languages

id:
  v: RXE.text
path:
  v: RXE.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: 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.
comment:
  v: Contained resources do not have a 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.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
condition:
  v: dom-6
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: RXE.contained
path:
  v: RXE.contained
short:
  v: Contained, inline Resources
definition:
  v: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.
comment:
  v: 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.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
condition:
  v: dom-2
condition:
  v: dom-4
condition:
  v: dom-3
condition:
  v: dom-5
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: RXE.extension
path:
  v: RXE.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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 managable, 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: RXE.modifierExtension
path:
  v: RXE.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Extensions that cannot be ignored
definition:
  v: 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 managable, 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: RXE.quantityTiming
path:
  v: RXE.quantityTiming
short:
  v: quantityTiming
definition:
  v: **QuantityTiming**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.quantityTiming
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: -

id:
  v: RXE.giveCode
path:
  v: RXE.giveCode
short:
  v: giveCode
definition:
  v: **Give Code**
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RXE.giveCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CWE
must support:
  v: true

id:
  v: RXE.giveAmount-Minimum
path:
  v: RXE.giveAmount-Minimum
short:
  v: giveAmount-Minimum
definition:
  v: **Give Amount - Minimum**
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RXE.giveAmount-Minimum
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: NM
must support:
  v: true

id:
  v: RXE.giveAmount-Maximum
path:
  v: RXE.giveAmount-Maximum
short:
  v: giveAmount-Maximum
definition:
  v: **Give Amount - Maximum**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveAmount-Maximum
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.giveUnits
path:
  v: RXE.giveUnits
short:
  v: giveUnits
definition:
  v: **Give Units**
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RXE.giveUnits
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CWE
must support:
  v: true

id:
  v: RXE.giveDosageForm
path:
  v: RXE.giveDosageForm
short:
  v: giveDosageForm
definition:
  v: **Give Dosage Form**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveDosageForm
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.providersAdministrationInstructions
path:
  v: RXE.providersAdministrationInstructions
short:
  v: providersAdministrationInstructions
definition:
  v: **Provider's Administration Instructions**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.providersAdministrationInstructions
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CWE

id:
  v: RXE.deliver-ToLocation
path:
  v: RXE.deliver-ToLocation
short:
  v: deliver-ToLocation
definition:
  v: **Deliver-To Location**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.deliver-ToLocation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: -

id:
  v: RXE.substitutionStatus
path:
  v: RXE.substitutionStatus
short:
  v: substitutionStatus
definition:
  v: **Substitution Status**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.substitutionStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ID
max length:
  v: 1

id:
  v: RXE.dispenseAmount
path:
  v: RXE.dispenseAmount
short:
  v: dispenseAmount
definition:
  v: **Dispense Amount**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dispenseAmount
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.dispenseUnits
path:
  v: RXE.dispenseUnits
short:
  v: dispenseUnits
definition:
  v: **Dispense Units**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dispenseUnits
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.numberOfRefills
path:
  v: RXE.numberOfRefills
short:
  v: numberOfRefills
definition:
  v: **Number Of Refills**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.numberOfRefills
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.orderingProvidersDEANumber
path:
  v: RXE.orderingProvidersDEANumber
short:
  v: orderingProvidersDEANumber
definition:
  v: **Ordering Provider's DEA Number**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.orderingProvidersDEANumber
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: XCN

id:
  v: RXE.pharmacistTreatmentSuppliersVerifierID
path:
  v: RXE.pharmacistTreatmentSuppliersVerifierID
short:
  v: pharmacistTreatmentSuppliersVerifierID
definition:
  v: **PharmacistTreatment Supplier's Verifier ID**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.pharmacistTreatmentSuppliersVerifierID
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: XCN

id:
  v: RXE.prescriptionNumber
path:
  v: RXE.prescriptionNumber
short:
  v: prescriptionNumber
definition:
  v: **Prescription Number**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.prescriptionNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ST

id:
  v: RXE.numberofRefillsRemaining
path:
  v: RXE.numberofRefillsRemaining
short:
  v: numberofRefillsRemaining
definition:
  v: **Number of Refills Remaining**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.numberofRefillsRemaining
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.numberofRefillsDosesDispensed
path:
  v: RXE.numberofRefillsDosesDispensed
short:
  v: numberofRefillsDosesDispensed
definition:
  v: **Number of RefillsDoses Dispensed**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.numberofRefillsDosesDispensed
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.dTofMostRecentRefillorDoseDispensed
path:
  v: RXE.dTofMostRecentRefillorDoseDispensed
short:
  v: dTofMostRecentRefillorDoseDispensed
definition:
  v: **DT of Most Recent Refill or Dose Dispensed**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dTofMostRecentRefillorDoseDispensed
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: DTM

id:
  v: RXE.totalDailyDose
path:
  v: RXE.totalDailyDose
short:
  v: totalDailyDose
definition:
  v: **Total Daily Dose**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.totalDailyDose
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CQ

id:
  v: RXE.needsHumanReview
path:
  v: RXE.needsHumanReview
short:
  v: needsHumanReview
definition:
  v: **Needs Human Review**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.needsHumanReview
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ID
max length:
  v: 1

id:
  v: RXE.specialDispensingInstructions
path:
  v: RXE.specialDispensingInstructions
short:
  v: specialDispensingInstructions
definition:
  v: **Special Dispensing Instructions**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.specialDispensingInstructions
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CWE

id:
  v: RXE.givePerTimeUnit
path:
  v: RXE.givePerTimeUnit
short:
  v: givePerTimeUnit
definition:
  v: **Give Per (Time Unit)**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.givePerTimeUnit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ST

id:
  v: RXE.giveRateAmount
path:
  v: RXE.giveRateAmount
short:
  v: giveRateAmount
definition:
  v: **Give Rate Amount**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveRateAmount
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ST

id:
  v: RXE.giveRateUnits
path:
  v: RXE.giveRateUnits
short:
  v: giveRateUnits
definition:
  v: **Give Rate Units**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveRateUnits
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.giveStrength
path:
  v: RXE.giveStrength
short:
  v: giveStrength
definition:
  v: **Give Strength**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveStrength
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.giveStrengthUnits
path:
  v: RXE.giveStrengthUnits
short:
  v: giveStrengthUnits
definition:
  v: **Give Strength Units**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveStrengthUnits
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.giveIndication
path:
  v: RXE.giveIndication
short:
  v: giveIndication
definition:
  v: **Give Indication**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.giveIndication
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CWE

id:
  v: RXE.dispensePackageSize
path:
  v: RXE.dispensePackageSize
short:
  v: dispensePackageSize
definition:
  v: **Dispense Package Size**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dispensePackageSize
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.dispensePackageSizeUnit
path:
  v: RXE.dispensePackageSizeUnit
short:
  v: dispensePackageSizeUnit
definition:
  v: **Dispense Package Size Unit**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dispensePackageSizeUnit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.dispensePackageMethod
path:
  v: RXE.dispensePackageMethod
short:
  v: dispensePackageMethod
definition:
  v: **Dispense Package Method**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dispensePackageMethod
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ID
max length:
  v: 2

id:
  v: RXE.supplementaryCode
path:
  v: RXE.supplementaryCode
short:
  v: supplementaryCode
definition:
  v: **Supplementary Code**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.supplementaryCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CWE

id:
  v: RXE.originalOrderDateTime
path:
  v: RXE.originalOrderDateTime
short:
  v: originalOrderDateTime
definition:
  v: **Original Order DateTime**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.originalOrderDateTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: DTM

id:
  v: RXE.giveDrugStrengthVolume
path:
  v: RXE.giveDrugStrengthVolume
short:
  v: giveDrugStrengthVolume
definition:
  v: **Give Drug Strength Volume**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveDrugStrengthVolume
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.giveDrugStrengthVolumeUnits
path:
  v: RXE.giveDrugStrengthVolumeUnits
short:
  v: giveDrugStrengthVolumeUnits
definition:
  v: **Give Drug Strength Volume Units**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.giveDrugStrengthVolumeUnits
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.controlledSubstanceSchedule
path:
  v: RXE.controlledSubstanceSchedule
short:
  v: controlledSubstanceSchedule
definition:
  v: **Controlled Substance Schedule**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.controlledSubstanceSchedule
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.formularyStatus
path:
  v: RXE.formularyStatus
short:
  v: formularyStatus
definition:
  v: **Formulary Status**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.formularyStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ID
max length:
  v: 1

id:
  v: RXE.pharmaceuticalSubstanceAlternative
path:
  v: RXE.pharmaceuticalSubstanceAlternative
short:
  v: pharmaceuticalSubstanceAlternative
definition:
  v: **Pharmaceutical Substance Alternative**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.pharmaceuticalSubstanceAlternative
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CWE

id:
  v: RXE.pharmacyofMostRecentFill
path:
  v: RXE.pharmacyofMostRecentFill
short:
  v: pharmacyofMostRecentFill
definition:
  v: **Pharmacy of Most Recent Fill**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.pharmacyofMostRecentFill
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.initialDispenseAmount
path:
  v: RXE.initialDispenseAmount
short:
  v: initialDispenseAmount
definition:
  v: **Initial Dispense Amount**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.initialDispenseAmount
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: NM

id:
  v: RXE.dispensingPharmacy
path:
  v: RXE.dispensingPharmacy
short:
  v: dispensingPharmacy
definition:
  v: **Dispensing Pharmacy**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dispensingPharmacy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CWE

id:
  v: RXE.dispensingPharmacyAddress
path:
  v: RXE.dispensingPharmacyAddress
short:
  v: dispensingPharmacyAddress
definition:
  v: **Dispensing Pharmacy Address**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.dispensingPharmacyAddress
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: XAD

id:
  v: RXE.deliver-toPatientLocation
path:
  v: RXE.deliver-toPatientLocation
short:
  v: deliver-toPatientLocation
definition:
  v: **Deliver-to Patient Location**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.deliver-toPatientLocation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: PL

id:
  v: RXE.deliver-toAddress
path:
  v: RXE.deliver-toAddress
short:
  v: deliver-toAddress
definition:
  v: **Deliver-to Address**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.deliver-toAddress
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: XAD

id:
  v: RXE.pharmacyOrderType
path:
  v: RXE.pharmacyOrderType
short:
  v: pharmacyOrderType
definition:
  v: **Pharmacy Order Type**
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RXE.pharmacyOrderType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ID
max length:
  v: 1

id:
  v: RXE.pharmacyPhoneNumber
path:
  v: RXE.pharmacyPhoneNumber
short:
  v: pharmacyPhoneNumber
definition:
  v: **Pharmacy Phone Number**
min:
  v: 0
max:
  v: *
base:
  path:
    v: RXE.pharmacyPhoneNumber
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: XTN

element:
  id:
    v: RXE
  path:
    v: RXE
  definition:
    v: Pharmacy/Treatment Encoded Order
  min:
    v: 1
  max:
    v: 1
element:
  id:
    v: RXE.quantityTiming
  path:
    v: RXE.quantityTiming
  short:
    v: quantityTiming
  definition:
    v: **QuantityTiming**
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: -
element:
  id:
    v: RXE.giveCode
  path:
    v: RXE.giveCode
  short:
    v: giveCode
  definition:
    v: **Give Code**
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CWE
  must support:
    v: true
element:
  id:
    v: RXE.giveAmount-Minimum
  path:
    v: RXE.giveAmount-Minimum
  short:
    v: giveAmount-Minimum
  definition:
    v: **Give Amount - Minimum**
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: NM
  must support:
    v: true
element:
  id:
    v: RXE.giveAmount-Maximum
  path:
    v: RXE.giveAmount-Maximum
  short:
    v: giveAmount-Maximum
  definition:
    v: **Give Amount - Maximum**
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: NM
element:
  id:
    v: RXE.giveUnits
  path:
    v: RXE.giveUnits
  short:
    v: giveUnits
  definition:
    v: **Give Units**
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CWE
  must support:
    v: true
element:
  id:
    v: RXE.giveDosageForm
  path:
    v: RXE.giveDosageForm
  short:
    v: giveDosageForm
  definition:
    v: **Give Dosage Form**
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CWE
element:
  id:
    v: RXE.providersAdministrationInstructions
  path:
    v: RXE.providersAdministrationInstructions
  short:
    v: providersAdministrationInstructions
  definition:
    v: **Provider's Administration Instructions**
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: CWE
element:
  id:
    v: RXE.deliver-ToLocation
  path:
    v: RXE.deliver-ToLocation
  short:
    v: deliver-ToLocation
  definition:
    v: **Deliver-To Location**
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: -
element:
  id:
    v: RXE.substitutionStatus
  path:
    v: RXE.substitutionStatus
  short:
    v: substitutionStatus
  definition:
    v: **Substitution Status**
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: ID
  max length:
    v: 1
element:
  id:
    v: RXE.dispenseAmount
  path:
    v: RXE.dispenseAmount
  short:
    v: dispenseAmount
  definition:
    v: **Dispense Amount**
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: NM
element:
  id:
    v: RXE.dispenseUnits
  path:
    v: RXE.dispenseUnits
  short:
    v: dispenseUnits
  definition:
    v: **Dispense Units**
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CWE
element:
  id:
    v: RXE.numberOfRefills
  path:
    v: RXE.numberOfRefills
  short:
    v: numberOfRefills

v: **Number Of Refills**

v: 0

v: 1

code:
  v: NM

id:
  v: RXE.orderingProvidersDEANumber
path:
  v: RXE.orderingProvidersDEANumber
short:
  v: orderingProvidersDEANumber
definition:
  v: **Ordering Provider's DEA Number**
min:
  v: 0
max:
  v: *
type:
  code:
    v: XCN

id:
  v: RXE.pharmacistTreatmentSuppliersVerifierID
path:
  v: RXE.pharmacistTreatmentSuppliersVerifierID
short:
  v: pharmacistTreatmentSuppliersVerifierID
definition:
  v: **PharmacistTreatment Supplier's Verifier ID**
min:
  v: 0
max:
  v: *
type:
  code:
    v: XCN

id:
  v: RXE.prescriptionNumber
path:
  v: RXE.prescriptionNumber
short:
  v: prescriptionNumber
definition:
  v: **Prescription Number**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ST

id:
  v: RXE.numberofRefillsRemaining
path:
  v: RXE.numberofRefillsRemaining
short:
  v: numberofRefillsRemaining
definition:
  v: **Number of Refills Remaining**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: NM

id:
  v: RXE.numberofRefillsDosesDispensed
path:
  v: RXE.numberofRefillsDosesDispensed
short:
  v: numberofRefillsDosesDispensed
definition:
  v: **Number of RefillsDoses Dispensed**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: NM

id:
  v: RXE.dTofMostRecentRefillorDoseDispensed
path:
  v: RXE.dTofMostRecentRefillorDoseDispensed
short:
  v: dTofMostRecentRefillorDoseDispensed
definition:
  v: **DT of Most Recent Refill or Dose Dispensed**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: DTM

id:
  v: RXE.totalDailyDose
path:
  v: RXE.totalDailyDose
short:
  v: totalDailyDose
definition:
  v: **Total Daily Dose**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CQ

id:
  v: RXE.needsHumanReview
path:
  v: RXE.needsHumanReview
short:
  v: needsHumanReview
definition:
  v: **Needs Human Review**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ID
max length:
  v: 1

id:
  v: RXE.specialDispensingInstructions
path:
  v: RXE.specialDispensingInstructions
short:
  v: specialDispensingInstructions
definition:
  v: **Special Dispensing Instructions**
min:
  v: 0
max:
  v: *
type:
  code:
    v: CWE

id:
  v: RXE.givePerTimeUnit
path:
  v: RXE.givePerTimeUnit
short:
  v: givePerTimeUnit
definition:
  v: **Give Per (Time Unit)**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ST

id:
  v: RXE.giveRateAmount
path:
  v: RXE.giveRateAmount
short:
  v: giveRateAmount
definition:
  v: **Give Rate Amount**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ST

id:
  v: RXE.giveRateUnits
path:
  v: RXE.giveRateUnits
short:
  v: giveRateUnits
definition:
  v: **Give Rate Units**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CWE

id:
  v: RXE.giveStrength
path:
  v: RXE.giveStrength
short:
  v: giveStrength
definition:
  v: **Give Strength**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: NM

id:
  v: RXE.giveStrengthUnits
path:
  v: RXE.giveStrengthUnits
short:
  v: giveStrengthUnits
definition:
  v: **Give Strength Units**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CWE

id:
  v: RXE.giveIndication
path:
  v: RXE.giveIndication
short:
  v: giveIndication
definition:
  v: **Give Indication**
min:
  v: 0
max:
  v: *
type:
  code:
    v: CWE

id:
  v: RXE.dispensePackageSize
path:
  v: RXE.dispensePackageSize
short:
  v: dispensePackageSize
definition:
  v: **Dispense Package Size**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: NM

id:
  v: RXE.dispensePackageSizeUnit
path:
  v: RXE.dispensePackageSizeUnit
short:
  v: dispensePackageSizeUnit
definition:
  v: **Dispense Package Size Unit**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CWE

id:
  v: RXE.dispensePackageMethod
path:
  v: RXE.dispensePackageMethod
short:
  v: dispensePackageMethod
definition:
  v: **Dispense Package Method**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ID
max length:
  v: 2

id:
  v: RXE.supplementaryCode
path:
  v: RXE.supplementaryCode
short:
  v: supplementaryCode
definition:
  v: **Supplementary Code**
min:
  v: 0
max:
  v: *
type:
  code:
    v: CWE

id:
  v: RXE.originalOrderDateTime
path:
  v: RXE.originalOrderDateTime
short:
  v: originalOrderDateTime
definition:
  v: **Original Order DateTime**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: DTM

id:
  v: RXE.giveDrugStrengthVolume
path:
  v: RXE.giveDrugStrengthVolume
short:
  v: giveDrugStrengthVolume
definition:
  v: **Give Drug Strength Volume**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: NM

id:
  v: RXE.giveDrugStrengthVolumeUnits
path:
  v: RXE.giveDrugStrengthVolumeUnits
short:
  v: giveDrugStrengthVolumeUnits
definition:
  v: **Give Drug Strength Volume Units**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CWE

id:
  v: RXE.controlledSubstanceSchedule
path:
  v: RXE.controlledSubstanceSchedule
short:
  v: controlledSubstanceSchedule
definition:
  v: **Controlled Substance Schedule**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CWE

id:
  v: RXE.formularyStatus
path:
  v: RXE.formularyStatus
short:
  v: formularyStatus
definition:
  v: **Formulary Status**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ID
max length:
  v: 1

id:
  v: RXE.pharmaceuticalSubstanceAlternative
path:
  v: RXE.pharmaceuticalSubstanceAlternative
short:
  v: pharmaceuticalSubstanceAlternative
definition:
  v: **Pharmaceutical Substance Alternative**
min:
  v: 0
max:
  v: *
type:
  code:
    v: CWE

id:
  v: RXE.pharmacyofMostRecentFill
path:
  v: RXE.pharmacyofMostRecentFill
short:
  v: pharmacyofMostRecentFill
definition:
  v: **Pharmacy of Most Recent Fill**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CWE

id:
  v: RXE.initialDispenseAmount
path:
  v: RXE.initialDispenseAmount
short:
  v: initialDispenseAmount
definition:
  v: **Initial Dispense Amount**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: NM

id:
  v: RXE.dispensingPharmacy
path:
  v: RXE.dispensingPharmacy
short:
  v: dispensingPharmacy
definition:
  v: **Dispensing Pharmacy**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CWE

id:
  v: RXE.dispensingPharmacyAddress
path:
  v: RXE.dispensingPharmacyAddress
short:
  v: dispensingPharmacyAddress
definition:
  v: **Dispensing Pharmacy Address**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: XAD

id:
  v: RXE.deliver-toPatientLocation
path:
  v: RXE.deliver-toPatientLocation
short:
  v: deliver-toPatientLocation
definition:
  v: **Deliver-to Patient Location**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: PL

id:
  v: RXE.deliver-toAddress
path:
  v: RXE.deliver-toAddress
short:
  v: deliver-toAddress
definition:
  v: **Deliver-to Address**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: XAD

id:
  v: RXE.pharmacyOrderType
path:
  v: RXE.pharmacyOrderType
short:
  v: pharmacyOrderType
definition:
  v: **Pharmacy Order Type**
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ID
max length:
  v: 1

id:
  v: RXE.pharmacyPhoneNumber
path:
  v: RXE.pharmacyPhoneNumber
short:
  v: pharmacyPhoneNumber
definition:
  v: **Pharmacy Phone Number**
min:
  v: 0
max:
  v: *
type:
  code:
    v: XTN