BeModelMedicationPrescription
type: StructureDefinition
node role: treeRoot
id:
  v: BeModelMedicationPrescription
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition BeModelMedicationPrescription Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> BeModelMedicationPrescription 0..* Base Medication prescription (model) Instances of this logical model can be the target of a Reference #xD; identifier 1..* Identifier(5.2.0) Business identifier(s) for the prescription #xD; recordedDate 1..1 dateTime Time of authoring the prescription/draft in the information system #xD; basedOnMedicationLine 0..1 Reference(Medication Line (model)) Link to the Medication Line from which this request is based #xD; patient 1..1 Reference() The person for whom the medication is prescribed/ordered #xD; status 1..1 CodeableConcept Status of the prescription, this should not be status of treatment Binding: Medication Prescription Status (required) #xD; statusReason 0..1 CodeableConcept Reason for the current status of prescription, for example the reason why the prescription was made invalid #xD; statusChanged 0..1 dateTime Date and time when the status of the prescription was changed #xD; medication 1..1 Reference(Medication (model)) Prescribed product, branded, generic, virtual, extemporaneous, etc #xD; prescriber 1..1 Reference(Practitioner | PractitionerRole) The person who made the prescription, and who takes the responsibility of the treatment #xD; organization 0..1 Reference(BeOrganization) The organization from which the prescriber issues the prescription. #xD; indication 0..* BackboneElement Reason for the prescription (typically diagnosis, or a procedure) #xD; reference 0..* Reference() Reason for the prescription (typically diagnosis, or a procedure) #xD; code 0..* CodeableConcept Reason or text for the prescription (typically diagnosis, or a procedure) #xD; dosage 0..* BeModelDosagingInformation Dosaging and administration instructions #xD; offLabel 0..1 boolean Off-Label / Dosage Override #xD; isOffLabelUse 0..1 boolean Off-Label / Dosage Over…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics
    l: structuredefinition-type-characteristics
  value: Code
    v: can-be-target
url:
  v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationPrescription
  l: BeModelMedicationPrescription
version:
  v: 1.1.0
name:
  v: BeModelMedicationPrescription
title:
  v: Medication prescription (model)
status:
  v: active
date:
  v: 2026-03-25T18:29:08+00:00
publisher:
  v: eHealth Platform
contact:
  name:
    v: eHealth Platform
  telecom:
    system:
      v: url
    value:
      v: https://www.ehealth.fgov.be/standards/fhir
  telecom:
    system:
      v: email
contact:
  name:
    v: Message Structure eHealth
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: Logical model for medication prescription (or some other form of order)
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: BE
    display:
      v: Belgium
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationPrescription
  l: BeModelMedicationPrescription
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: BeModelMedicationPrescription
    path:
      v: BeModelMedicationPrescription
    short:
      v: Medication prescription (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
  element:
    id:
      v: BeModelMedicationPrescription.identifier
    path:
      v: BeModelMedicationPrescription.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: BeModelMedicationPrescription.identifier
      min:
        v: 1
      max:
        v: *
    type:
      code:
        v: Extension
        l: Extension
      profile:
        v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier|5.2.0
        l: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
  element:
    id:
      v: BeModelMedicationPrescription.recordedDate
    path:
      v: BeModelMedicationPrescription.recordedDate
    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: 1
    max:
      v: 1
    base:
      path:
        v: BeModelMedicationPrescription.recordedDate
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: dateTime
        l: dateTime
  element:
    id:
      v: BeModelMedicationPrescription.basedOnMedicationLine
    path:
      v: BeModelMedicationPrescription.basedOnMedicationLine
    short:
      v: Link to the Medication Line from which this request is based
    definition:
      v: Link to the Medication Line from which this request is based
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: BeModelMedicationPrescription.basedOnMedicationLine
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Reference
        l: Reference
      target profile:
        v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationLine
        l: BeModelMedicationLine
  element:
    id:
      v: BeModelMedicationPrescription.patient
    path:
      v: BeModelMedicationPrescription.patient
    short:
      v: The person for whom the medication is prescribed/ordered
    definition:
      v: The person for whom the medication is prescribed/ordered
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: BeModelMedicationPrescription.patient
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Reference
        l: Reference

id:
  v: BeModelMedicationPrescription.status
path:
  v: BeModelMedicationPrescription.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: BeModelMedicationPrescription.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: required
  value set:
    v: https://www.ehealth.fgov.be/standards/fhir/terminology/ValueSet/BeMedicationPrescriptionStatusVS
    l: BeMedicationPrescriptionStatusVS

id:
  v: BeModelMedicationPrescription.statusReason
path:
  v: BeModelMedicationPrescription.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: 1
base:
  path:
    v: BeModelMedicationPrescription.statusReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: BeModelMedicationPrescription.statusChanged
path:
  v: BeModelMedicationPrescription.statusChanged
short:
  v: Date and time when the status of the prescription was changed
definition:
  v: Date and time when the status of the prescription was changed
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.statusChanged
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: BeModelMedicationPrescription.medication
path:
  v: BeModelMedicationPrescription.medication
short:
  v: Prescribed product, branded, generic, virtual, extemporaneous, etc
definition:
  v: Prescribed product, branded, generic, virtual, extemporaneous, etc
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.medication
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedication
    l: BeModelMedication

id:
  v: BeModelMedicationPrescription.prescriber
path:
  v: BeModelMedicationPrescription.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: BeModelMedicationPrescription.prescriber
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    l: PractitionerRole

id:
  v: BeModelMedicationPrescription.organization
path:
  v: BeModelMedicationPrescription.organization
short:
  v: The organization from which the prescriber issues the prescription.
definition:
  v: The organization from which the prescriber issues the prescription.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.organization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization
    l: be-organization

id:
  v: BeModelMedicationPrescription.indication
path:
  v: BeModelMedicationPrescription.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: BeModelMedicationPrescription.indication
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: BeModelMedicationPrescription.indication.id
path:
  v: BeModelMedicationPrescription.indication.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
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationPrescription.indication.extension
path:
  v: BeModelMedicationPrescription.indication.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 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.
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
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationPrescription.indication.modifierExtension
path:
  v: BeModelMedicationPrescription.indication.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 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).
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/R4/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
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: 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: BeModelMedicationPrescription.indication.reference
path:
  v: BeModelMedicationPrescription.indication.reference
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: BeModelMedicationPrescription.indication.reference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference

id:
  v: BeModelMedicationPrescription.indication.code
path:
  v: BeModelMedicationPrescription.indication.code
short:
  v: Reason or text for the prescription (typically diagnosis, or a procedure)
definition:
  v: Reason or text for the prescription (typically diagnosis, or a procedure)
min:
  v: 0
max:
  v: *
base:
  path:
    v: BeModelMedicationPrescription.indication.code
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: BeModelMedicationPrescription.dosage
path:
  v: BeModelMedicationPrescription.dosage
short:
  v: Dosaging and administration instructions
definition:
  v: Dosaging and administration instructions
min:
  v: 0
max:
  v: *
base:
  path:
    v: BeModelMedicationPrescription.dosage
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelDosagingInformation
    l: BeModelDosagingInformation

id:
  v: BeModelMedicationPrescription.offLabel
path:
  v: BeModelMedicationPrescription.offLabel
short:
  v: Off-Label / Dosage Override
definition:
  v: Off-Label / Dosage Override
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.offLabel
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: BeModelMedicationPrescription.offLabel.id
path:
  v: BeModelMedicationPrescription.offLabel.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
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
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false

id:
  v: BeModelMedicationPrescription.offLabel.extension
path:
  v: BeModelMedicationPrescription.offLabel.extension
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 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.
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
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: BeModelMedicationPrescription.offLabel.value
path:
  v: BeModelMedicationPrescription.offLabel.value
representation:
  v: xmlAttr
short:
  v: Primitive value for boolean
definition:
  v: The actual value
min:
  v: 0
max:
  v: 1
base:
  path:
    v: boolean.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: boolean
      l: boolean
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: true|false
  code:
    v: http://hl7.org/fhirpath/System.Boolean
    l: System.Boolean
is modifier:
  v: false
is summary:
  v: false

id:
  v: BeModelMedicationPrescription.offLabel.isOffLabelUse
path:
  v: BeModelMedicationPrescription.offLabel.isOffLabelUse
short:
  v: Off-Label / Dosage Override
definition:
  v: Off-Label / Dosage Override
comment:
  v: isOffLabelUse and reason are expected to be manually filled by the prescriber, indicating that this dosage is not entered in error. This information is an indication (for example) for the pharmacist to see that there is a justification of the dosage difference.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.offLabel.isOffLabelUse
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: BeModelMedicationPrescription.offLabel.reason
path:
  v: BeModelMedicationPrescription.offLabel.reason
short:
  v: Dosage Override reason
definition:
  v: Dosage Override reason
comment:
  v: isOffLabelUse and reason are expected to be manually filled by the prescriber, indicating that this dosage is not entered in error. This information is an indication (for example) for the pharmacist to see that there is a justification of the dosage difference.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.offLabel.reason
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: BeModelMedicationPrescription.substitution
path:
  v: BeModelMedicationPrescription.substitution
short:
  v: Whether substitution is allowed, and reason
definition:
  v: Whether substitution is allowed, and reason
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.substitution
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: BeModelMedicationPrescription.substitution.id
path:
  v: BeModelMedicationPrescription.substitution.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
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationPrescription.substitution.extension
path:
  v: BeModelMedicationPrescription.substitution.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 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.
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
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationPrescription.substitution.modifierExtension
path:
  v: BeModelMedicationPrescription.substitution.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 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).
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/R4/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
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: 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: BeModelMedicationPrescription.substitution.substitutionAllowed
path:
  v: BeModelMedicationPrescription.substitution.substitutionAllowed
short:
  v: Substitution of the product is allowed.
definition:
  v: Substitution of the product is allowed.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.substitution.substitutionAllowed
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: BeModelMedicationPrescription.instructionForReimbursement
path:
  v: BeModelMedicationPrescription.instructionForReimbursement
short:
  v: Instructions for reimbursement
definition:
  v: Instructions for reimbursement
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.instructionForReimbursement
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: extensible
  value set:
    v: https://www.ehealth.fgov.be/standards/fhir/terminology/ValueSet/BeMedicationRequestReimbursementTypeVS
    l: BeMedicationRequestReimbursementTypeVS

id:
  v: BeModelMedicationPrescription.validFrom
path:
  v: BeModelMedicationPrescription.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: 1
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.validFrom
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: BeModelMedicationPrescription.validUntil
path:
  v: BeModelMedicationPrescription.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: BeModelMedicationPrescription.validUntil
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: BeModelMedicationPrescription.dispenseRequest
path:
  v: BeModelMedicationPrescription.dispenseRequest
short:
  v: Dispense Request or authorization for the prescribed medication
definition:
  v: Dispense Request or authorization for the prescribed medication
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.dispenseRequest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: BeModelMedicationPrescription.dispenseRequest.id
path:
  v: BeModelMedicationPrescription.dispenseRequest.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
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationPrescription.dispenseRequest.extension
path:
  v: BeModelMedicationPrescription.dispenseRequest.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 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.
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
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationPrescription.dispenseRequest.modifierExtension
path:
  v: BeModelMedicationPrescription.dispenseRequest.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 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).
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/R4/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
    l: 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: 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: BeModelMedicationPrescription.dispenseRequest.dispenseInterval
path:
  v: BeModelMedicationPrescription.dispenseRequest.dispenseInterval
short:
  v: Minimum period of time between dispenses
definition:
  v: Minimum period of time between dispenses
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.dispenseRequest.dispenseInterval
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Duration
    l: Duration

id:
  v: BeModelMedicationPrescription.dispenseRequest.quantityPerDispense
path:
  v: BeModelMedicationPrescription.dispenseRequest.quantityPerDispense
short:
  v: Amount of medication to supply per dispense
definition:
  v: Amount of medication to supply per dispense
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationPrescription.dispenseRequest.quantityPerDispense
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    l: SimpleQuantity

id:
  v: BeModelMedicationPrescription.note
path:
  v: BeModelMedicationPrescription.note
short:
  v: Additional information or comments
definition:
  v: Additional information or comments
min:
  v: 0
max:
  v: *
base:
  path:
    v: BeModelMedicationPrescription.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

element:
  id:
    v: BeModelMedicationPrescription
  path:
    v: BeModelMedicationPrescription
  short:
    v: Medication prescription (model)
  definition:
    v: Logical model for medication prescription (or some other form of order)
element:
  id:
    v: BeModelMedicationPrescription.identifier
  path:
    v: BeModelMedicationPrescription.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: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier|5.2.0
      l: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
element:
  id:
    v: BeModelMedicationPrescription.recordedDate
  path:
    v: BeModelMedicationPrescription.recordedDate
  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: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: BeModelMedicationPrescription.basedOnMedicationLine
  path:
    v: BeModelMedicationPrescription.basedOnMedicationLine
  short:
    v: Link to the Medication Line from which this request is based
  definition:
    v: Link to the Medication Line from which this request is based
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationLine
      l: BeModelMedicationLine
element:
  id:
    v: BeModelMedicationPrescription.patient
  path:
    v: BeModelMedicationPrescription.patient
  short:
    v: The person for whom the medication is prescribed/ordered
  definition:
    v: The person for whom the medication is prescribed/ordered
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
element:
  id:
    v: BeModelMedicationPrescription.status
  path:
    v: BeModelMedicationPrescription.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: CodeableConcept
      l: CodeableConcept
  binding:
    strength:
      v: required
    value set:
      v: https://www.ehealth.fgov.be/standards/fhir/terminology/ValueSet/BeMedicationPrescriptionStatusVS
      l: BeMedicationPrescriptionStatusVS
element:
  id:
    v: BeModelMedicationPrescription.statusReason
  path:
    v: BeModelMedicationPrescription.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: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: BeModelMedicationPrescription.statusChanged
  path:
    v: BeModelMedicationPrescription.statusChanged
  short:
    v: Date and time when the status of the prescription was changed
  definition:
    v: Date and time when the status of the prescription was changed
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: BeModelMedicationPrescription.medication
  path:
    v: BeModelMedicationPrescription.medication
  short:
    v: Prescribed product, branded, generic, virtual, extemporaneous, etc
  definition:
    v: Prescribed product, branded, generic, virtual, extemporaneous, etc
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedication
      l: BeModelMedication
element:
  id:
    v: BeModelMedicationPrescription.prescriber
  path:
    v: BeModelMedicationPrescription.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
      l: Reference
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Practitioner
      l: Practitioner
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
      l: PractitionerRole
element:
  id:
    v: BeModelMedicationPrescription.organization
  path:
    v: BeModelMedicationPrescription.organization
  short:
    v: The organization from which the prescriber issues the prescription.
  definition:
    v: The organization from which the prescriber issues the prescription.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization
      l: be-organization

id:
  v: BeModelMedicationPrescription.indication
path:
  v: BeModelMedicationPrescription.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: BackboneElement
    l: BackboneElement

id:
  v: BeModelMedicationPrescription.indication.reference
path:
  v: BeModelMedicationPrescription.indication.reference
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: Reference
    l: Reference

id:
  v: BeModelMedicationPrescription.indication.code
path:
  v: BeModelMedicationPrescription.indication.code
short:
  v: Reason or text for the prescription (typically diagnosis, or a procedure)
definition:
  v: Reason or text for the prescription (typically diagnosis, or a procedure)
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: BeModelMedicationPrescription.dosage
path:
  v: BeModelMedicationPrescription.dosage
short:
  v: Dosaging and administration instructions
definition:
  v: Dosaging and administration instructions
min:
  v: 0
max:
  v: *
type:
  code:
    v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelDosagingInformation
    l: BeModelDosagingInformation

id:
  v: BeModelMedicationPrescription.offLabel
path:
  v: BeModelMedicationPrescription.offLabel
short:
  v: Off-Label / Dosage Override
definition:
  v: Off-Label / Dosage Override
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: BeModelMedicationPrescription.offLabel.isOffLabelUse
path:
  v: BeModelMedicationPrescription.offLabel.isOffLabelUse
short:
  v: Off-Label / Dosage Override
definition:
  v: Off-Label / Dosage Override
comment:
  v: isOffLabelUse and reason are expected to be manually filled by the prescriber, indicating that this dosage is not entered in error. This information is an indication (for example) for the pharmacist to see that there is a justification of the dosage difference.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: BeModelMedicationPrescription.offLabel.reason
path:
  v: BeModelMedicationPrescription.offLabel.reason
short:
  v: Dosage Override reason
definition:
  v: Dosage Override reason
comment:
  v: isOffLabelUse and reason are expected to be manually filled by the prescriber, indicating that this dosage is not entered in error. This information is an indication (for example) for the pharmacist to see that there is a justification of the dosage difference.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: BeModelMedicationPrescription.substitution
path:
  v: BeModelMedicationPrescription.substitution
short:
  v: Whether substitution is allowed, and reason
definition:
  v: Whether substitution is allowed, and reason
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: BeModelMedicationPrescription.substitution.substitutionAllowed
path:
  v: BeModelMedicationPrescription.substitution.substitutionAllowed
short:
  v: Substitution of the product is allowed.
definition:
  v: Substitution of the product is allowed.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: BeModelMedicationPrescription.instructionForReimbursement
path:
  v: BeModelMedicationPrescription.instructionForReimbursement
short:
  v: Instructions for reimbursement
definition:
  v: Instructions for reimbursement
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: extensible
  value set:
    v: https://www.ehealth.fgov.be/standards/fhir/terminology/ValueSet/BeMedicationRequestReimbursementTypeVS
    l: BeMedicationRequestReimbursementTypeVS

id:
  v: BeModelMedicationPrescription.validFrom
path:
  v: BeModelMedicationPrescription.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: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: BeModelMedicationPrescription.validUntil
path:
  v: BeModelMedicationPrescription.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: dateTime
    l: dateTime

id:
  v: BeModelMedicationPrescription.dispenseRequest
path:
  v: BeModelMedicationPrescription.dispenseRequest
short:
  v: Dispense Request or authorization for the prescribed medication
definition:
  v: Dispense Request or authorization for the prescribed medication
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: BeModelMedicationPrescription.dispenseRequest.dispenseInterval
path:
  v: BeModelMedicationPrescription.dispenseRequest.dispenseInterval
short:
  v: Minimum period of time between dispenses
definition:
  v: Minimum period of time between dispenses
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Duration
    l: Duration

id:
  v: BeModelMedicationPrescription.dispenseRequest.quantityPerDispense
path:
  v: BeModelMedicationPrescription.dispenseRequest.quantityPerDispense
short:
  v: Amount of medication to supply per dispense
definition:
  v: Amount of medication to supply per dispense
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Quantity
    l: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    l: SimpleQuantity

id:
  v: BeModelMedicationPrescription.note
path:
  v: BeModelMedicationPrescription.note
short:
  v: Additional information or comments
definition:
  v: Additional information or comments
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string