BeModelMedicationDispense
type: StructureDefinition
node role: treeRoot
id:
  v: BeModelMedicationDispense
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition BeModelMedicationDispense Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> BeModelMedicationDispense 0..* Base Medication Dispense (model) #xD; identifier 0..* Identifier The business identifier(s) for the medication dispense record #xD; recordedDate 0..1 dateTime The date (or date+time) when the dispense was recorded #xD; basedOnMedicationLine 0..1 Reference(Medication Line (model)) The medication line that this dispense is related to #xD; patient 1..1 Reference(BePatient) The person for which the medication is dispensed #xD; status 1..1 code The status of the dispense record Binding: MedicationDispense Status Codes (required) #xD; statusReason 0..1 CodeableConcept The reason why the dispense was not performed, if it was not performed Binding: MedicationDispense Status Reason Codes (required) #xD; dispenser 0..1 BackboneElement The dispenser, if known and relevant #xD; dispenser 0..1 Reference(BePractitioner) Reference to person that performed the recording or reporting #xD; organization 0..1 Reference(BeOrganization) Reference to person that performed the recording or reporting #xD; dispenseDate 1..1 dateTime The date (or date+time) when the dispense ocurred #xD; prescription 0..1 BackboneElement Information about a prescription related to the dispense #xD; isPrescribed 0..1 boolean Whether this dispense was performed against a prescription #xD; prescription 0..1 Reference() The prescription identification #xD; dispensedItem 1..1 BackboneElement Each product that was dispensed #xD; product 1..1 CodeableConcept The product that was dispensed - coded or not (e.g. for magistral preparations) #xD; quantityDispensed 0..1 SimpleQuantity The amount of product that was dispensed #xD; dosage 0..* Dosage The structured dosage or text instructions for use #xD; offLabel 0..1 CodeableConcept Text or coded reason for different dosage #xD; note 0..* Annotation Additional inf…
url:
  v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationDispense
version:
  v: 1.1.0
name:
  v: BeModelMedicationDispense
title:
  v: Medication Dispense (model)
status:
  v: active
date:
  v: 2025-10-10T10:15:41+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: This is the logical model for the Dispense Record entry - the information that can be captured upon the act of dispensing - in a hospital pharmacy, or a community pharmacy. This is not for a future dispense, rather a record of an actual dispense.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso: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/BeModelMedicationDispense
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: BeModelMedicationDispense
    path:
      v: BeModelMedicationDispense
    short:
      v: Medication Dispense (model)
    definition:
      v: Logical data model for Medication Dispense.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: BeModelMedicationDispense.identifier
    path:
      v: BeModelMedicationDispense.identifier
    short:
      v: The business identifier(s) for the medication dispense record
    definition:
      v: The business identifier(s) for the medication dispense session, also known as Session GUID (SGUID).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: BeModelMedicationDispense.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
  element:
    id:
      v: BeModelMedicationDispense.recordedDate
    path:
      v: BeModelMedicationDispense.recordedDate
    short:
      v: The date (or date+time) when the dispense was recorded
    definition:
      v: The date (or date+time) when the dispense was recorded
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: BeModelMedicationDispense.recordedDate
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: dateTime
  element:
    id:
      v: BeModelMedicationDispense.basedOnMedicationLine
    path:
      v: BeModelMedicationDispense.basedOnMedicationLine
    short:
      v: The medication line that this dispense is related to
    definition:
      v: The medication line that this dispense is related to
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: BeModelMedicationDispense.basedOnMedicationLine
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Reference
      target profile:
        v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationLine
        link: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationLine
  element:
    id:
      v: BeModelMedicationDispense.patient
    path:
      v: BeModelMedicationDispense.patient
    short:
      v: The person for which the medication is dispensed
    definition:
      v: The person for which the medication is dispensed.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: BeModelMedicationDispense.patient
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Reference
      target profile:
        v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient
        link: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient
  element:
    id:
      v: BeModelMedicationDispense.status
    path:
      v: BeModelMedicationDispense.status
    short:
      v: The status of the dispense record
    definition:
      v: The status of the dispense record
    min:
      v: 1
    max:
      v: 1

path:
  v: BeModelMedicationDispense.status
min:
  v: 1
max:
  v: 1

code:
  v: code

strength:
  v: required
value set:
  v: http://hl7.org/fhir/ValueSet/medicationdispense-status
  link: http://hl7.org/fhir/ValueSet/medicationdispense-status

id:
  v: BeModelMedicationDispense.statusReason
path:
  v: BeModelMedicationDispense.statusReason
short:
  v: The reason why the dispense was not performed, if it was not performed
definition:
  v: The reason why the dispense was not performed, if it was not performed
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.statusReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/medicationdispense-status-reason
    link: http://hl7.org/fhir/ValueSet/medicationdispense-status-reason

id:
  v: BeModelMedicationDispense.dispenser
path:
  v: BeModelMedicationDispense.dispenser
short:
  v: The dispenser, if known and relevant
definition:
  v: The dispenser, if known and relevant
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispenser
  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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: BeModelMedicationDispense.dispenser.id
path:
  v: BeModelMedicationDispense.dispenser.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: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationDispense.dispenser.extension
path:
  v: BeModelMedicationDispense.dispenser.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
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
    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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  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: BeModelMedicationDispense.dispenser.modifierExtension
path:
  v: BeModelMedicationDispense.dispenser.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
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
    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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  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: BeModelMedicationDispense.dispenser.dispenser
path:
  v: BeModelMedicationDispense.dispenser.dispenser
short:
  v: Reference to person that performed the recording or reporting
definition:
  v: Reference to person that performed the recording or reporting
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispenser.dispenser
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner
    link: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner

id:
  v: BeModelMedicationDispense.dispenser.organization
path:
  v: BeModelMedicationDispense.dispenser.organization
short:
  v: Reference to person that performed the recording or reporting
definition:
  v: Reference to person that performed the recording or reporting
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispenser.organization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization
    link: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization

id:
  v: BeModelMedicationDispense.dispenseDate
path:
  v: BeModelMedicationDispense.dispenseDate
short:
  v: The date (or date+time) when the dispense ocurred
definition:
  v: The date (or date+time) when the dispense ocurred
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispenseDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: BeModelMedicationDispense.prescription
path:
  v: BeModelMedicationDispense.prescription
short:
  v: Information about a prescription related to the dispense
definition:
  v: Information about a prescription related to the dispense
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.prescription
  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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: BeModelMedicationDispense.prescription.id
path:
  v: BeModelMedicationDispense.prescription.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: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationDispense.prescription.extension
path:
  v: BeModelMedicationDispense.prescription.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
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
    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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  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: BeModelMedicationDispense.prescription.modifierExtension
path:
  v: BeModelMedicationDispense.prescription.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
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
    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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  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: BeModelMedicationDispense.prescription.isPrescribed
path:
  v: BeModelMedicationDispense.prescription.isPrescribed
short:
  v: Whether this dispense was performed against a prescription
definition:
  v: Whether this dispense was performed against a prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.prescription.isPrescribed
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean

id:
  v: BeModelMedicationDispense.prescription.prescription
path:
  v: BeModelMedicationDispense.prescription.prescription
short:
  v: The prescription identification
definition:
  v: The prescription identification
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.prescription.prescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference

id:
  v: BeModelMedicationDispense.dispensedItem
path:
  v: BeModelMedicationDispense.dispensedItem
short:
  v: Each product that was dispensed
definition:
  v: Each product that was dispensed
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispensedItem
  min:
    v: 1
  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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: BeModelMedicationDispense.dispensedItem.id
path:
  v: BeModelMedicationDispense.dispensedItem.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: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: BeModelMedicationDispense.dispensedItem.extension
path:
  v: BeModelMedicationDispense.dispensedItem.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
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
    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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  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: BeModelMedicationDispense.dispensedItem.modifierExtension
path:
  v: BeModelMedicationDispense.dispensedItem.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
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
    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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  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: BeModelMedicationDispense.dispensedItem.product
path:
  v: BeModelMedicationDispense.dispensedItem.product
short:
  v: The product that was dispensed - coded or not (e.g. for magistral preparations)
definition:
  v: The product that was dispensed - coded or not (e.g. for magistral preparations)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispensedItem.product
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept

id:
  v: BeModelMedicationDispense.dispensedItem.quantityDispensed
path:
  v: BeModelMedicationDispense.dispensedItem.quantityDispensed
short:
  v: The amount of product that was dispensed
definition:
  v: The amount of product that was dispensed
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispensedItem.quantityDispensed
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity

id:
  v: BeModelMedicationDispense.dispensedItem.dosage
path:
  v: BeModelMedicationDispense.dispensedItem.dosage
short:
  v: The structured dosage or text instructions for use
definition:
  v: The structured dosage or text instructions for use
min:
  v: 0
max:
  v: *
base:
  path:
    v: BeModelMedicationDispense.dispensedItem.dosage
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Dosage

id:
  v: BeModelMedicationDispense.dispensedItem.offLabel
path:
  v: BeModelMedicationDispense.dispensedItem.offLabel
short:
  v: Text or coded reason for different dosage
definition:
  v: Text or coded reason for different dosage
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BeModelMedicationDispense.dispensedItem.offLabel
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept

id:
  v: BeModelMedicationDispense.note
path:
  v: BeModelMedicationDispense.note
short:
  v: Additional information about the dispense - this can be relevant history, any remarks by the patient or professional, etc.
definition:
  v: Additional information about the dispense - this can be relevant history, any remarks by the patient or professional, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: BeModelMedicationDispense.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation

element:
  id:
    v: BeModelMedicationDispense
  path:
    v: BeModelMedicationDispense
  short:
    v: Medication Dispense (model)
  definition:
    v: Logical data model for Medication Dispense.
element:
  id:
    v: BeModelMedicationDispense.identifier
  path:
    v: BeModelMedicationDispense.identifier
  short:
    v: The business identifier(s) for the medication dispense record
  definition:
    v: The business identifier(s) for the medication dispense session, also known as Session GUID (SGUID).
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
element:
  id:
    v: BeModelMedicationDispense.recordedDate
  path:
    v: BeModelMedicationDispense.recordedDate
  short:
    v: The date (or date+time) when the dispense was recorded
  definition:
    v: The date (or date+time) when the dispense was recorded
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
element:
  id:
    v: BeModelMedicationDispense.basedOnMedicationLine
  path:
    v: BeModelMedicationDispense.basedOnMedicationLine
  short:
    v: The medication line that this dispense is related to
  definition:
    v: The medication line that this dispense is related to
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationLine
      link: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeModelMedicationLine
element:
  id:
    v: BeModelMedicationDispense.patient
  path:
    v: BeModelMedicationDispense.patient
  short:
    v: The person for which the medication is dispensed
  definition:
    v: The person for which the medication is dispensed.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient
      link: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient
element:
  id:
    v: BeModelMedicationDispense.status
  path:
    v: BeModelMedicationDispense.status
  short:
    v: The status of the dispense record
  definition:
    v: The status of the dispense record
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
  binding:
    strength:
      v: required
    value set:
      v: http://hl7.org/fhir/ValueSet/medicationdispense-status
      link: http://hl7.org/fhir/ValueSet/medicationdispense-status
element:
  id:
    v: BeModelMedicationDispense.statusReason
  path:
    v: BeModelMedicationDispense.statusReason
  short:
    v: The reason why the dispense was not performed, if it was not performed
  definition:
    v: The reason why the dispense was not performed, if it was not performed
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
  binding:
    strength:
      v: required
    value set:
      v: http://hl7.org/fhir/ValueSet/medicationdispense-status-reason
      link: http://hl7.org/fhir/ValueSet/medicationdispense-status-reason
element:
  id:
    v: BeModelMedicationDispense.dispenser
  path:
    v: BeModelMedicationDispense.dispenser
  short:
    v: The dispenser, if known and relevant
  definition:
    v: The dispenser, if known and relevant
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: BeModelMedicationDispense.dispenser.dispenser
  path:
    v: BeModelMedicationDispense.dispenser.dispenser
  short:
    v: Reference to person that performed the recording or reporting
  definition:
    v: Reference to person that performed the recording or reporting
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner
      link: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner
element:
  id:
    v: BeModelMedicationDispense.dispenser.organization
  path:
    v: BeModelMedicationDispense.dispenser.organization
  short:
    v: Reference to person that performed the recording or reporting
  definition:
    v: Reference to person that performed the recording or reporting
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization
      link: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization
element:
  id:
    v: BeModelMedicationDispense.dispenseDate
  path:
    v: BeModelMedicationDispense.dispenseDate
  short:
    v: The date (or date+time) when the dispense ocurred
  definition:
    v: The date (or date+time) when the dispense ocurred
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
element:
  id:
    v: BeModelMedicationDispense.prescription
  path:
    v: BeModelMedicationDispense.prescription
  short:
    v: Information about a prescription related to the dispense
  definition:
    v: Information about a prescription related to the dispense

v: 0

v: 1

code:
  v: BackboneElement

id:
  v: BeModelMedicationDispense.prescription.isPrescribed
path:
  v: BeModelMedicationDispense.prescription.isPrescribed
short:
  v: Whether this dispense was performed against a prescription
definition:
  v: Whether this dispense was performed against a prescription
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean

id:
  v: BeModelMedicationDispense.prescription.prescription
path:
  v: BeModelMedicationDispense.prescription.prescription
short:
  v: The prescription identification
definition:
  v: The prescription identification
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference

id:
  v: BeModelMedicationDispense.dispensedItem
path:
  v: BeModelMedicationDispense.dispensedItem
short:
  v: Each product that was dispensed
definition:
  v: Each product that was dispensed
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: BeModelMedicationDispense.dispensedItem.product
path:
  v: BeModelMedicationDispense.dispensedItem.product
short:
  v: The product that was dispensed - coded or not (e.g. for magistral preparations)
definition:
  v: The product that was dispensed - coded or not (e.g. for magistral preparations)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept

id:
  v: BeModelMedicationDispense.dispensedItem.quantityDispensed
path:
  v: BeModelMedicationDispense.dispensedItem.quantityDispensed
short:
  v: The amount of product that was dispensed
definition:
  v: The amount of product that was dispensed
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity

id:
  v: BeModelMedicationDispense.dispensedItem.dosage
path:
  v: BeModelMedicationDispense.dispensedItem.dosage
short:
  v: The structured dosage or text instructions for use
definition:
  v: The structured dosage or text instructions for use
min:
  v: 0
max:
  v: *
type:
  code:
    v: Dosage

id:
  v: BeModelMedicationDispense.dispensedItem.offLabel
path:
  v: BeModelMedicationDispense.dispensedItem.offLabel
short:
  v: Text or coded reason for different dosage
definition:
  v: Text or coded reason for different dosage
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept

id:
  v: BeModelMedicationDispense.note
path:
  v: BeModelMedicationDispense.note
short:
  v: Additional information about the dispense - this can be relevant history, any remarks by the patient or professional, etc.
definition:
  v: Additional information about the dispense - this can be relevant history, any remarks by the patient or professional, etc.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Annotation