MedicationPrescription
type: StructureDefinition
node role: treeRoot
id:
  v: MedicationPrescription
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> MedicationPrescription 0..* Base Medication prescription - Data Model Instances of this logical model can be the target of a Reference identifier 1..* II Business identifier(s) for the prescription groupIdentifier 0..1 II Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders recordingDate 0..1 DT Time of authoring the prescription/draft in the information system issueDate 1..1 DT Time of issuing (signing) the prescription by health care practicioner recorder 0..1 Reference(Practitioner - Data Model | PractitionerRole) The recorder of the prescription/draft in the information system prescriber 1..1 Reference(Practitioner - Data Model | PractitionerRole) The person who made the prescription, and who takes the responsibility of the treatment category 0..* CD Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc). validFrom 0..1 DT Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate validUntil 0..1 DT The validity period end date. The prescription is not dispensable after this date. patient 1..1 Reference(Patient - Data Model) The person for whom the medication is prescribed/ordered status 1..1 CD Status of the prescription, this should not be status of treatment statusReason 0..* CD Reason for the current status of prescription, for example the reason why the prescription was made invalid statusReasonText 0..1 ST Textual reason for the current status of prescription medication 1..1 Reference(Medicinal product) Prescribed product, branded, generic, virtual, extemporal, etc indication 0..* CD Reason for the prescription (typically diagnosis, …
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
  value:
    v: true
url:
  v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicationPrescription
version:
  v: 0.1.0
name:
  v: MedicationPrescription
title:
  v: Medication prescription - Data Model
status:
  v: active
date:
  v: 2024-04-07T18:26:49+00:00
publisher:
  v: Integrating the Healthcare Enterprise (IHE)
contact:
  name:
    v: Integrating the Healthcare Enterprise (IHE)
  telecom:
    system:
      v: url
    value:
      v: http://ihe.net
  telecom:
    system:
      v: email
contact:
  name:
    v: Jose Costa Teixeira
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: Logical model for medication prescription (or some other form of order)
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
copyright:
  v: IHE http://www.ihe.net/Governance/#Intellectual_Property
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: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicationPrescription
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  element:
    id:
      v: MedicationPrescription
    path:
      v: MedicationPrescription
    short:
      v: Medication prescription - Data Model
    definition:
      v: Logical model for medication prescription (or some other form of order)
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: MedicationPrescription.identifier
    path:
      v: MedicationPrescription.identifier
    short:
      v: Business identifier(s) for the prescription
    definition:
      v: Business identifier(s) for the prescription
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: MedicationPrescription.identifier
      min:
        v: 1
      max:
        v: *
    type:
      code:
        v: Element
      profile:
        v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
        link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
  element:
    id:
      v: MedicationPrescription.groupIdentifier
    path:
      v: MedicationPrescription.groupIdentifier
    short:
      v: Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders
    definition:
      v: Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: MedicationPrescription.groupIdentifier
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Element
      profile:
        v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
        link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
  element:
    id:
      v: MedicationPrescription.recordingDate
    path:
      v: MedicationPrescription.recordingDate
    short:
      v: Time of authoring the prescription/draft in the information system
    definition:
      v: Time of authoring the prescription/draft in the information system
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: MedicationPrescription.recordingDate
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Element
      profile:
        v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
        link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
  element:
    id:
      v: MedicationPrescription.issueDate
    path:
      v: MedicationPrescription.issueDate
    short:
      v: Time of issuing (signing) the prescription by health care practicioner
    definition:
      v: Time of issuing (signing) the prescription by health care practicioner
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: MedicationPrescription.issueDate
      min:
        v: 1
      max:
        v: 1

code:
  v: Element
profile:
  v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
  link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT

id:
  v: MedicationPrescription.recorder
path:
  v: MedicationPrescription.recorder
short:
  v: The recorder of the prescription/draft in the information system
definition:
  v: The recorder of the prescription/draft in the information system
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.recorder
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole

id:
  v: MedicationPrescription.prescriber
path:
  v: MedicationPrescription.prescriber
short:
  v: The person who made the prescription, and who takes the responsibility of the treatment
definition:
  v: Question: would we want to add basic Practicioner model?
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationPrescription.prescriber
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole

id:
  v: MedicationPrescription.category
path:
  v: MedicationPrescription.category
short:
  v: Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc).
definition:
  v: Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc).
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationPrescription.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.validFrom
path:
  v: MedicationPrescription.validFrom
short:
  v: Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate
definition:
  v: Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.validFrom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT

id:
  v: MedicationPrescription.validUntil
path:
  v: MedicationPrescription.validUntil
short:
  v: The validity period end date. The prescription is not dispensable after this date.
definition:
  v: The validity period end date. The prescription is not dispensable after this date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.validUntil
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT

id:
  v: MedicationPrescription.patient
path:
  v: MedicationPrescription.patient
short:
  v: The person for whom the medication is prescribed/ordered
definition:
  v: Question: would we want to add basic Patient model?
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationPrescription.patient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PatientBasic
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PatientBasic

id:
  v: MedicationPrescription.status
path:
  v: MedicationPrescription.status
short:
  v: Status of the prescription, this should not be status of treatment
definition:
  v: Status of the prescription, this should not be status of treatment
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationPrescription.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.statusReason
path:
  v: MedicationPrescription.statusReason
short:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid
definition:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationPrescription.statusReason
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.statusReasonText
path:
  v: MedicationPrescription.statusReasonText
short:
  v: Textual reason for the current status of prescription
definition:
  v: Textual reason for the current status of prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.statusReasonText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.medication
path:
  v: MedicationPrescription.medication
short:
  v: Prescribed product, branded, generic, virtual, extemporal, etc
definition:
  v: Prescribed product, branded, generic, virtual, extemporal, etc
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationPrescription.medication
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM

id:
  v: MedicationPrescription.indication
path:
  v: MedicationPrescription.indication
short:
  v: Reason for the prescription (typically diagnosis, or a procedure)
definition:
  v: Reason for the prescription (typically diagnosis, or a procedure)
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationPrescription.indication
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.indicationText
path:
  v: MedicationPrescription.indicationText
short:
  v: Reason for the prescription in textual form. This might not be allowed by some implementations.
definition:
  v: Reason for the prescription in textual form. This might not be allowed by some implementations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.indicationText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.usageInstructions
path:
  v: MedicationPrescription.usageInstructions
short:
  v: Dosaging and administration instructions
definition:
  v: Dosaging and administration instructions
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationPrescription.usageInstructions
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation

id:
  v: MedicationPrescription.preparationInstructions
path:
  v: MedicationPrescription.preparationInstructions
short:
  v: Additional instructions about preparation or dispense
definition:
  v: Additional instructions about preparation or dispense
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationPrescription.preparationInstructions
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.noSubstitution
path:
  v: MedicationPrescription.noSubstitution
short:
  v: Substitution is not allowed for a given reason
definition:
  v: Substitution is not allowed for a given reason
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.noSubstitution
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
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

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

id:
  v: MedicationPrescription.noSubstitution.extension
path:
  v: MedicationPrescription.noSubstitution.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 element. 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: Element.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
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: MedicationPrescription.noSubstitution.modifierExtension
path:
  v: MedicationPrescription.noSubstitution.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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 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. 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
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.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
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: MedicationPrescription.noSubstitution.noSubstitutionFlag
path:
  v: MedicationPrescription.noSubstitution.noSubstitutionFlag
short:
  v: Substitution of the product is not allowed.
definition:
  v: Substitution of the product is not allowed.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationPrescription.noSubstitution.noSubstitutionFlag
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL

id:
  v: MedicationPrescription.noSubstitution.noSubstitutionReason
path:
  v: MedicationPrescription.noSubstitution.noSubstitutionReason
short:
  v: Coded reason for the no-substitution requirement
definition:
  v: Coded reason for the no-substitution requirement
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.noSubstitution.noSubstitutionReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.noSubstitution.noSubstitutionReasonText
path:
  v: MedicationPrescription.noSubstitution.noSubstitutionReasonText
short:
  v: Textual reason for the no-substitution requirement
definition:
  v: Textual reason for the no-substitution requirement
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationPrescription.noSubstitution.noSubstitutionReasonText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.allowedSubstitutionType
path:
  v: MedicationPrescription.allowedSubstitutionType
short:
  v: Specific type of substitution that is allowed. Can be an explicit relaxation to normal jurisdictional substitution rules, especially in hospital context.
definition:
  v: Specific type of substitution that is allowed. Can be an explicit relaxation to normal jurisdictional substitution rules, especially in hospital context.
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationPrescription.allowedSubstitutionType
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.comment
path:
  v: MedicationPrescription.comment
short:
  v: Additional information or comments
definition:
  v: Additional information or comments
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationPrescription.comment
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

element:
  id:
    v: MedicationPrescription
  path:
    v: MedicationPrescription
  short:
    v: Medication prescription - Data Model
  definition:
    v: Logical model for medication prescription (or some other form of order)
element:
  id:
    v: MedicationPrescription.identifier
  path:
    v: MedicationPrescription.identifier
  short:
    v: Business identifier(s) for the prescription
  definition:
    v: Business identifier(s) for the prescription
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Element
    profile:
      v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
      link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
element:
  id:
    v: MedicationPrescription.groupIdentifier
  path:
    v: MedicationPrescription.groupIdentifier
  short:
    v: Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders
  definition:
    v: Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Element
    profile:
      v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
      link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier
element:
  id:
    v: MedicationPrescription.recordingDate
  path:
    v: MedicationPrescription.recordingDate
  short:
    v: Time of authoring the prescription/draft in the information system
  definition:
    v: Time of authoring the prescription/draft in the information system
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Element
    profile:
      v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
      link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
element:
  id:
    v: MedicationPrescription.issueDate
  path:
    v: MedicationPrescription.issueDate
  short:
    v: Time of issuing (signing) the prescription by health care practicioner
  definition:
    v: Time of issuing (signing) the prescription by health care practicioner
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Element
    profile:
      v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
      link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
element:
  id:
    v: MedicationPrescription.recorder
  path:
    v: MedicationPrescription.recorder
  short:
    v: The recorder of the prescription/draft in the information system
  definition:
    v: The recorder of the prescription/draft in the information system
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
      link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
element:
  id:
    v: MedicationPrescription.prescriber
  path:
    v: MedicationPrescription.prescriber
  short:
    v: The person who made the prescription, and who takes the responsibility of the treatment
  definition:
    v: Question: would we want to add basic Practicioner model?
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
      link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
element:
  id:
    v: MedicationPrescription.category
  path:
    v: MedicationPrescription.category
  short:
    v: Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc).
  definition:
    v: Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc).
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Element
    profile:
      v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
      link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
element:
  id:
    v: MedicationPrescription.validFrom
  path:
    v: MedicationPrescription.validFrom
  short:
    v: Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate
  definition:
    v: Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Element
    profile:
      v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
      link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
element:
  id:
    v: MedicationPrescription.validUntil
  path:
    v: MedicationPrescription.validUntil
  short:
    v: The validity period end date. The prescription is not dispensable after this date.
  definition:
    v: The validity period end date. The prescription is not dispensable after this date.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Element
    profile:
      v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
      link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT
element:
  id:
    v: MedicationPrescription.patient
  path:
    v: MedicationPrescription.patient
  short:
    v: The person for whom the medication is prescribed/ordered
  definition:
    v: Question: would we want to add basic Patient model?
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference

id:
  v: MedicationPrescription.status
path:
  v: MedicationPrescription.status
short:
  v: Status of the prescription, this should not be status of treatment
definition:
  v: Status of the prescription, this should not be status of treatment
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.statusReason
path:
  v: MedicationPrescription.statusReason
short:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid
definition:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid
min:
  v: 0
max:
  v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.statusReasonText
path:
  v: MedicationPrescription.statusReasonText
short:
  v: Textual reason for the current status of prescription
definition:
  v: Textual reason for the current status of prescription
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.medication
path:
  v: MedicationPrescription.medication
short:
  v: Prescribed product, branded, generic, virtual, extemporal, etc
definition:
  v: Prescribed product, branded, generic, virtual, extemporal, etc
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM

id:
  v: MedicationPrescription.indication
path:
  v: MedicationPrescription.indication
short:
  v: Reason for the prescription (typically diagnosis, or a procedure)
definition:
  v: Reason for the prescription (typically diagnosis, or a procedure)
min:
  v: 0
max:
  v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.indicationText
path:
  v: MedicationPrescription.indicationText
short:
  v: Reason for the prescription in textual form. This might not be allowed by some implementations.
definition:
  v: Reason for the prescription in textual form. This might not be allowed by some implementations.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.usageInstructions
path:
  v: MedicationPrescription.usageInstructions
short:
  v: Dosaging and administration instructions
definition:
  v: Dosaging and administration instructions
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation

id:
  v: MedicationPrescription.preparationInstructions
path:
  v: MedicationPrescription.preparationInstructions
short:
  v: Additional instructions about preparation or dispense
definition:
  v: Additional instructions about preparation or dispense
min:
  v: 0
max:
  v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.noSubstitution
path:
  v: MedicationPrescription.noSubstitution
short:
  v: Substitution is not allowed for a given reason
definition:
  v: Substitution is not allowed for a given reason
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: MedicationPrescription.noSubstitution.noSubstitutionFlag
path:
  v: MedicationPrescription.noSubstitution.noSubstitutionFlag
short:
  v: Substitution of the product is not allowed.
definition:
  v: Substitution of the product is not allowed.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL

id:
  v: MedicationPrescription.noSubstitution.noSubstitutionReason
path:
  v: MedicationPrescription.noSubstitution.noSubstitutionReason
short:
  v: Coded reason for the no-substitution requirement
definition:
  v: Coded reason for the no-substitution requirement
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.noSubstitution.noSubstitutionReasonText
path:
  v: MedicationPrescription.noSubstitution.noSubstitutionReasonText
short:
  v: Textual reason for the no-substitution requirement
definition:
  v: Textual reason for the no-substitution requirement
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST

id:
  v: MedicationPrescription.allowedSubstitutionType
path:
  v: MedicationPrescription.allowedSubstitutionType
short:
  v: Specific type of substitution that is allowed. Can be an explicit relaxation to normal jurisdictional substitution rules, especially in hospital context.
definition:
  v: Specific type of substitution that is allowed. Can be an explicit relaxation to normal jurisdictional substitution rules, especially in hospital context.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD

id:
  v: MedicationPrescription.comment
path:
  v: MedicationPrescription.comment
short:
  v: Additional information or comments
definition:
  v: Additional information or comments
min:
  v: 0
max:
  v: *
type:
  code:
    v: Element
  profile:
    v: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST
    link: https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST