MedicationOrderIHEPWP
type: StructureDefinition
node role: treeRoot
resource.id:
  value: MedicationOrderIHEPWP
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Name Flags Card. Type Description & Constraints MedicationOrderIHEPWP 0..* Base [IHE PHARM White Paper] Logical Model for order identifier 0..1 Identifier The business identifier(s) for the medication Order date 0..1 dateTime When prescription was initially made patient 1..1 Reference(Patient) The person for which the medication is prescribed. reason 0..* Reference(Condition | Observation) Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)(may or may not be explicitly stated) note 0..* Annotation Additional Information about the prescription requester 0..1 Reference(Practitioner) Who made the prescription status 1..1 code Status of the prescription ORDERED|PLACED|IN PROGRESS|COMPLETED|CANCELLED|DISCONTINUED|SUSPENDED prescriptionItem 0..* BackboneElement A prescription item belongs to one prescription and represents one prescribed medication. It may be associated with one or more observations. Prescription Item is the atomic entity for logistics, distribution and billing. prescriptionItemID 1..1 Identifier Prescription Item ID treatmentDate 0..1 Duration Beginning date of treatment / length of treatment / End of treatment date ( the date the treatment is due to end) and/or number of renewals reasonForPrescribing 0..1 string Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …) Frequency 0..1 string substitutionAllowed 0..1 string Substitution allowed or not (can the pharmacist do a substitution of medication?) route 0..1 string Route of administration Dosage 0..1 string intakePattern 0..1 string Intake pattern for the medication medicalInstructions 0..1 string Diagnosis or reason for prescribing is this similar the 3rd bullet point? alertAboutRestrictions 0..1 string Alert about prescribing restrictions relatedtoChronic 0..1 string Related to a chronic disease or not (listed or unlisted) specificFollowUp 0..1 string Specific follow-up elements additionalComment 0..1 string Additional comment (may be used…
structure definition.url:
  value: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicationOrderIHEPWP
structure definition.version:
  value: 0.1.0
structure definition.name:
  value: MedicationOrderIHEPWP
structure definition.title:
  value: [IHE PHARM White Paper] Logical Model for order
structure definition.status:
  value: active
structure definition.date:
  value: 2023-02-19T14:45:07+00:00
structure definition.publisher:
  value: Integrating the Healthcare Enterprise (IHE)
structure definition.contact:
  index: 0
  contact detail.name:
    value: Integrating the Healthcare Enterprise (IHE)
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://ihe.net
  contact detail.telecom:
    index: 1
    contact point.system:
      value: email
structure definition.contact:
  index: 1
  contact detail.name:
    value: Jose Costa Teixeira
  contact detail.telecom:
    index: 0
    contact point.system:
      value: email
    contact point.use:
      value: work
structure definition.description:
  value: A prescription is issued by one ordering healthcare professional for one patient, in the context of zero or one encounter (between the patient and the ordering physician and/or the healthcare institution).
structure definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://unstats.un.org/unsd/methods/m49/m49.htm
    coding.code:
      value: 001
structure definition.copyright:
  value: IHE http://www.ihe.net/Governance/#Intellectual_Property
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.kind:
  value: logical
structure definition.abstract:
  value: false
structure definition.type:
  value: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicationOrderIHEPWP
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
structure definition.derivation:
  value: specialization
structure definition.snapshot:
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: MedicationOrderIHEPWP
    element definition.path:
      value: MedicationOrderIHEPWP
    element definition.short:
      value: [IHE PHARM White Paper] Logical Model for order
    element definition.definition:
      value: A prescription is issued by one ordering healthcare professional for one patient, in the context of zero or one encounter (between the patient and the ordering physician and/or the healthcare institution).
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Base
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.is modifier:
      value: false
  structure definition.snapshot.element:
    index: 1
    element.id:
      value: MedicationOrderIHEPWP.identifier
    element definition.path:
      value: MedicationOrderIHEPWP.identifier
    element definition.short:
      value: The business identifier(s) for the medication Order
    element definition.definition:
      value: The business identifier(s) for the medication order
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: MedicationOrderIHEPWP.identifier
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element definition.type.code:
        value: Identifier
  structure definition.snapshot.element:
    index: 2
    element.id:
      value: MedicationOrderIHEPWP.date
    element definition.path:
      value: MedicationOrderIHEPWP.date
    element definition.short:
      value: When prescription was initially made
    element definition.definition:
      value: When prescription was initially made
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: MedicationOrderIHEPWP.date
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element definition.type.code:
        value: dateTime
  structure definition.snapshot.element:
    index: 3
    element.id:
      value: MedicationOrderIHEPWP.patient
    element definition.path:
      value: MedicationOrderIHEPWP.patient
    element definition.short:
      value: The person for which the medication is prescribed.
    element definition.definition:
      value: The person for which the medication is prescribed.
    element definition.min:
      value: 1
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: MedicationOrderIHEPWP.patient
      element definition.base.min:
        value: 1
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element definition.type.code:
        value: Reference
      element definition.type.target profile:
        value: http://hl7.org/fhir/StructureDefinition/Patient
        index: 0
        link: http://hl7.org/fhir/StructureDefinition/Patient
  structure definition.snapshot.element:
    index: 4
    element.id:
      value: MedicationOrderIHEPWP.reason
    element definition.path:
      value: MedicationOrderIHEPWP.reason
    element definition.short:
      value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)(may or may not be explicitly stated)
    element definition.definition:
      value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)(may or may not be explicitly stated)
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: MedicationOrderIHEPWP.reason
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *

index: 0
element definition.type.code:
  value: Reference
element definition.type.target profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
element definition.type.target profile:
  value: http://hl7.org/fhir/StructureDefinition/Observation
  index: 1
  link: http://hl7.org/fhir/StructureDefinition/Observation

index: 5
element.id:
  value: MedicationOrderIHEPWP.note
element definition.path:
  value: MedicationOrderIHEPWP.note
element definition.short:
  value: Additional Information about the prescription
element definition.definition:
  value: Additional Information about the prescription
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.note
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Annotation

index: 6
element.id:
  value: MedicationOrderIHEPWP.requester
element definition.path:
  value: MedicationOrderIHEPWP.requester
element definition.short:
  value: Who made the prescription
element definition.definition:
  value: Who made the prescription
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.requester
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Practitioner
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/Practitioner

index: 7
element.id:
  value: MedicationOrderIHEPWP.status
element definition.path:
  value: MedicationOrderIHEPWP.status
element definition.short:
  value: Status of the prescription ORDERED|PLACED|IN PROGRESS|COMPLETED|CANCELLED|DISCONTINUED|SUSPENDED
element definition.definition:
  value: Status of the prescription ORDERED|PLACED|IN PROGRESS|COMPLETED|CANCELLED|DISCONTINUED|SUSPENDED
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.status
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code

index: 8
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem
element definition.short:
  value: A prescription item belongs to one prescription and represents one prescribed medication. It may be associated with one or more observations. Prescription Item is the atomic entity for logistics, distribution and billing.
element definition.definition:
  value: A prescription item belongs to one prescription and represents one prescribed medication. It may be associated with one or more observations. Prescription Item is the atomic entity for logistics, distribution and billing.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

index: 9
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.id
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

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

index: 11
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.modifierExtension
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  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.
element definition.requirements:
  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).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 12
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.prescriptionItemID
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.prescriptionItemID
element definition.short:
  value: Prescription Item ID
element definition.definition:
  value: Prescription Item ID
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.prescriptionItemID
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier

index: 13
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.treatmentDate
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.treatmentDate
element definition.short:
  value: Beginning date of treatment / length of treatment / End of treatment date ( the date the treatment is due to end) and/or number of renewals
element definition.definition:
  value: Beginning date of treatment / length of treatment / End of treatment date ( the date the treatment is due to end) and/or number of renewals
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.treatmentDate
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Duration

index: 14
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.reasonForPrescribing
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.reasonForPrescribing
element definition.short:
  value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)
element definition.definition:
  value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.reasonForPrescribing
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 15
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.Frequency
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.Frequency
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.Frequency
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 16
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.substitutionAllowed
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.substitutionAllowed
element definition.short:
  value: Substitution allowed or not (can the pharmacist do a substitution of medication?)
element definition.definition:
  value: Substitution allowed or not (can the pharmacist do a substitution of medication?)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.substitutionAllowed
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 17
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.route
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.route
element definition.short:
  value: Route of administration
element definition.definition:
  value: Route of administration
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.route
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 18
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.Dosage
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.Dosage
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.Dosage
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 19
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.intakePattern
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.intakePattern
element definition.short:
  value: Intake pattern for the medication
element definition.definition:
  value: Intake pattern for the medication
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.intakePattern
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 20
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.medicalInstructions
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.medicalInstructions
element definition.short:
  value: Diagnosis or reason for prescribing is this similar the 3rd bullet point?
element definition.definition:
  value: Diagnosis or reason for prescribing is this similar the 3rd bullet point?
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.medicalInstructions
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 21
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.alertAboutRestrictions
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.alertAboutRestrictions
element definition.short:
  value: Alert about prescribing restrictions
element definition.definition:
  value: Alert about prescribing restrictions
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.alertAboutRestrictions
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 22
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.relatedtoChronic
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.relatedtoChronic
element definition.short:
  value: Related to a chronic disease or not (listed or unlisted)
element definition.definition:
  value: Related to a chronic disease or not (listed or unlisted)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.relatedtoChronic
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 23
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.specificFollowUp
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.specificFollowUp
element definition.short:
  value: Specific follow-up elements
element definition.definition:
  value: Specific follow-up elements
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.specificFollowUp
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 24
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.additionalComment
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.additionalComment
element definition.short:
  value: Additional comment (may be used by the prescriber to inform the pharmacist that he is aware of a potential ICA)
element definition.definition:
  value: Additional comment (may be used by the prescriber to inform the pharmacist that he is aware of a potential ICA)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.additionalComment
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 25
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.status
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.status
element definition.short:
  value: Status (see the “Relevant Standards” chapter)
element definition.definition:
  value: Status (see the “Relevant Standards” chapter)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: MedicationOrderIHEPWP.prescriptionItem.status
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

structure definition.differential.element:
  index: 0
  element.id:
    value: MedicationOrderIHEPWP
  element definition.path:
    value: MedicationOrderIHEPWP
  element definition.short:
    value: [IHE PHARM White Paper] Logical Model for order
  element definition.definition:
    value: A prescription is issued by one ordering healthcare professional for one patient, in the context of zero or one encounter (between the patient and the ordering physician and/or the healthcare institution).
structure definition.differential.element:
  index: 1
  element.id:
    value: MedicationOrderIHEPWP.identifier
  element definition.path:
    value: MedicationOrderIHEPWP.identifier
  element definition.short:
    value: The business identifier(s) for the medication Order
  element definition.definition:
    value: The business identifier(s) for the medication order
  element definition.min:
    value: 0
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Identifier
structure definition.differential.element:
  index: 2
  element.id:
    value: MedicationOrderIHEPWP.date
  element definition.path:
    value: MedicationOrderIHEPWP.date
  element definition.short:
    value: When prescription was initially made
  element definition.definition:
    value: When prescription was initially made
  element definition.min:
    value: 0
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: dateTime
structure definition.differential.element:
  index: 3
  element.id:
    value: MedicationOrderIHEPWP.patient
  element definition.path:
    value: MedicationOrderIHEPWP.patient
  element definition.short:
    value: The person for which the medication is prescribed.
  element definition.definition:
    value: The person for which the medication is prescribed.
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org/fhir/StructureDefinition/Patient
      index: 0
      link: http://hl7.org/fhir/StructureDefinition/Patient
structure definition.differential.element:
  index: 4
  element.id:
    value: MedicationOrderIHEPWP.reason
  element definition.path:
    value: MedicationOrderIHEPWP.reason
  element definition.short:
    value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)(may or may not be explicitly stated)
  element definition.definition:
    value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)(may or may not be explicitly stated)
  element definition.min:
    value: 0
  element definition.max:
    value: *
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org/fhir/StructureDefinition/Condition
      index: 0
      link: http://hl7.org/fhir/StructureDefinition/Condition
    element definition.type.target profile:
      value: http://hl7.org/fhir/StructureDefinition/Observation
      index: 1
      link: http://hl7.org/fhir/StructureDefinition/Observation
structure definition.differential.element:
  index: 5
  element.id:
    value: MedicationOrderIHEPWP.note
  element definition.path:
    value: MedicationOrderIHEPWP.note
  element definition.short:
    value: Additional Information about the prescription
  element definition.definition:
    value: Additional Information about the prescription
  element definition.min:
    value: 0
  element definition.max:
    value: *
  element definition.type:
    index: 0
    element definition.type.code:
      value: Annotation
structure definition.differential.element:
  index: 6
  element.id:
    value: MedicationOrderIHEPWP.requester
  element definition.path:
    value: MedicationOrderIHEPWP.requester
  element definition.short:
    value: Who made the prescription
  element definition.definition:
    value: Who made the prescription
  element definition.min:
    value: 0
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org/fhir/StructureDefinition/Practitioner
      index: 0
      link: http://hl7.org/fhir/StructureDefinition/Practitioner
structure definition.differential.element:
  index: 7
  element.id:
    value: MedicationOrderIHEPWP.status
  element definition.path:
    value: MedicationOrderIHEPWP.status
  element definition.short:
    value: Status of the prescription ORDERED|PLACED|IN PROGRESS|COMPLETED|CANCELLED|DISCONTINUED|SUSPENDED
  element definition.definition:
    value: Status of the prescription ORDERED|PLACED|IN PROGRESS|COMPLETED|CANCELLED|DISCONTINUED|SUSPENDED
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: code
structure definition.differential.element:
  index: 8
  element.id:
    value: MedicationOrderIHEPWP.prescriptionItem
  element definition.path:
    value: MedicationOrderIHEPWP.prescriptionItem
  element definition.short:
    value: A prescription item belongs to one prescription and represents one prescribed medication. It may be associated with one or more observations. Prescription Item is the atomic entity for logistics, distribution and billing.
  element definition.definition:
    value: A prescription item belongs to one prescription and represents one prescribed medication. It may be associated with one or more observations. Prescription Item is the atomic entity for logistics, distribution and billing.
  element definition.min:
    value: 0
  element definition.max:
    value: *
  element definition.type:
    index: 0
    element definition.type.code:
      value: BackboneElement
structure definition.differential.element:
  index: 9
  element.id:
    value: MedicationOrderIHEPWP.prescriptionItem.prescriptionItemID
  element definition.path:
    value: MedicationOrderIHEPWP.prescriptionItem.prescriptionItemID
  element definition.short:
    value: Prescription Item ID
  element definition.definition:
    value: Prescription Item ID
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Identifier
structure definition.differential.element:
  index: 10
  element.id:
    value: MedicationOrderIHEPWP.prescriptionItem.treatmentDate
  element definition.path:
    value: MedicationOrderIHEPWP.prescriptionItem.treatmentDate
  element definition.short:
    value: Beginning date of treatment / length of treatment / End of treatment date ( the date the treatment is due to end) and/or number of renewals
  element definition.definition:
    value: Beginning date of treatment / length of treatment / End of treatment date ( the date the treatment is due to end) and/or number of renewals
  element definition.min:
    value: 0
  element definition.max:
    value: 1

index: 0
element definition.type.code:
  value: Duration

index: 11
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.reasonForPrescribing
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.reasonForPrescribing
element definition.short:
  value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)
element definition.definition:
  value: Reason for prescribing (e.g. diagnosis, prognosis, protocol, clinical assessment …)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 12
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.Frequency
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.Frequency
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 13
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.substitutionAllowed
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.substitutionAllowed
element definition.short:
  value: Substitution allowed or not (can the pharmacist do a substitution of medication?)
element definition.definition:
  value: Substitution allowed or not (can the pharmacist do a substitution of medication?)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 14
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.route
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.route
element definition.short:
  value: Route of administration
element definition.definition:
  value: Route of administration
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 15
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.Dosage
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.Dosage
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 16
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.intakePattern
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.intakePattern
element definition.short:
  value: Intake pattern for the medication
element definition.definition:
  value: Intake pattern for the medication
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 17
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.medicalInstructions
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.medicalInstructions
element definition.short:
  value: Diagnosis or reason for prescribing is this similar the 3rd bullet point?
element definition.definition:
  value: Diagnosis or reason for prescribing is this similar the 3rd bullet point?
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 18
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.alertAboutRestrictions
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.alertAboutRestrictions
element definition.short:
  value: Alert about prescribing restrictions
element definition.definition:
  value: Alert about prescribing restrictions
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 19
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.relatedtoChronic
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.relatedtoChronic
element definition.short:
  value: Related to a chronic disease or not (listed or unlisted)
element definition.definition:
  value: Related to a chronic disease or not (listed or unlisted)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 20
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.specificFollowUp
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.specificFollowUp
element definition.short:
  value: Specific follow-up elements
element definition.definition:
  value: Specific follow-up elements
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 21
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.additionalComment
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.additionalComment
element definition.short:
  value: Additional comment (may be used by the prescriber to inform the pharmacist that he is aware of a potential ICA)
element definition.definition:
  value: Additional comment (may be used by the prescriber to inform the pharmacist that he is aware of a potential ICA)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string

index: 22
element.id:
  value: MedicationOrderIHEPWP.prescriptionItem.status
element definition.path:
  value: MedicationOrderIHEPWP.prescriptionItem.status
element definition.short:
  value: Status (see the “Relevant Standards” chapter)
element definition.definition:
  value: Status (see the “Relevant Standards” chapter)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string