EHDSMedicationPrescriptionObligations
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSMedicationPrescriptionObligations
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSMedicationPrescriptionObligations Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSMedicationPrescriptionObligations 0..* EHDSMedicationPrescription Medication prescription model obligations Elements defined in Ancestors:header, header, presentedForm, prescriptionItem #xD; header #xD; subject O 1..1 EHDSPatient The person for whom the medication is prescribed/ordered. [Used for searching] Obligations Actor SHALL:able-to-populate Producer SHALL:process Consumer #xD; identifier O 1..* Identifier Business identifier(s) for the prescription. [Used for searching] Obligations Actor SHALL:able-to-populate Producer SHALL:process Consumer #xD; author[x] O 1..* EHDSHealthProfessional, EHDSOrganisation The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching] Obligations Actor SHALL:able-to-populate Producer SHALL:process Consumer #xD; date O 1..1 dateTime Time of issuing (signing) the prescription by health care professional. [Used for searching] Obligations Actor SHALL:able-to-populate Producer SHALL:process Consumer #xD; status O 1..1 CodeableConcept Status of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching] Obligations Actor SHALL:able-to-populate Producer SHALL:process Consumer #xD; presentedForm O 0..* EHDSAttachment Entire prescription as issued. Various formats could be provided, PDF format is recommended. Obligations Actor SHOULD:able-to-populate Producer SHOULD:display Consumer #xD; prescriptionItem O 1..* Base Prescription line for one medication. In many countries, only one item is allowed and there …
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  l: EHDSMedicationPrescriptionObligations
version:
  v: 0.4.0
name:
  v: EHDSMedicationPrescriptionObligations
title:
  v: Medication prescription model obligations
status:
  v: draft
date:
  v: 2026-02-26T13:12:06+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://www.xt-ehr.eu/
description:
  v: Obligations for the logical model for medication prescription body for prescribing systems (producer) and dispensing systems (consumer).
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  l: EHDSMedicationPrescriptionObligations
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
  l: EHDSMedicationPrescription
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 0.4.0
  element:
    id:
      v: EHDSMedicationPrescriptionObligations
    path:
      v: EHDSMedicationPrescriptionObligations
    short:
      v: Medication prescription model obligations
    definition:
      v: Obligations for the logical model for medication prescription body for prescribing systems (producer) and dispensing systems (consumer).
    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: EHDSMedicationPrescriptionObligations.header
    path:
      v: EHDSMedicationPrescriptionObligations.header
    short:
      v: Prescription header
    definition:
      v: Prescription header
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Base
        l: Base
  element:
    id:
      v: EHDSMedicationPrescriptionObligations.header.subject
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    path:
      v: EHDSMedicationPrescriptionObligations.header.subject
    short:
      v: The person for whom the medication is prescribed/ordered. [Used for searching]
    definition:
      v: The person for whom the medication is prescribed/ordered. [Used for searching]
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header.subject
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
        l: EHDSPatient
  element:
    id:
      v: EHDSMedicationPrescriptionObligations.header.identifier
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    path:
      v: EHDSMedicationPrescriptionObligations.header.identifier
    short:
      v: Business identifier(s) for the prescription. [Used for searching]
    definition:
      v: Business identifier(s) for the prescription. [Used for searching]
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.identifier
      min:
        v: 0
      max:
        v: *

v: code
l: code

Code
v: SHALL:able-to-populate

v: actor
l: actor

v: code
l: code

Code
v: SHALL:process

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: A dispensing system shall process the patient information for identification purposes.

v: code
l: code

Code
v: SHALL:able-to-populate

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: For a single-item prescription these identifiers shall match prescriptionItem.identifier.

v: code
l: code

Code
v: SHALL:process

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: A dispensing system shall use this prescription identifier for reference in the dispense record.

code:
  v: Identifier
  l: Identifier

id:
  v: EHDSMedicationPrescriptionObligations.header.author[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Systems shall support at least EHDSHealthProfessional data type for the element.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.header.author[x]
short:
  v: The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]
definition:
  v: The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]
min:
  v: 1
max:
  v: *
base:
  path:
    v: EHDSDataSet.header.author[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation

id:
  v: EHDSMedicationPrescriptionObligations.header.date
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.header.date
short:
  v: Time of issuing (signing) the prescription by health care professional. [Used for searching]
definition:
  v: Time of issuing (signing) the prescription by health care professional. [Used for searching]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSMedicationPrescriptionObligations.header.status
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: A dispensing system shall process the prescription status together with other information to determine dispensability.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.header.status
short:
  v: Status of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching]
definition:
  v: Status of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationPrescriptionObligations.header.source
path:
  v: EHDSMedicationPrescriptionObligations.header.source
short:
  v: Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
definition:
  v: Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: EHDSDataSet.header.source
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationPrescriptionObligations.header.language
path:
  v: EHDSMedicationPrescriptionObligations.header.language
short:
  v: Language in which the resource is written. Language is expressed by the IETF language tag.
definition:
  v: Language in which the resource is written. Language is expressed by the IETF language tag.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSMedicationPrescriptionObligations.header.statusReason[x]
path:
  v: EHDSMedicationPrescriptionObligations.header.statusReason[x]
short:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.
definition:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.header.statusReason[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string

id:
  v: EHDSMedicationPrescriptionObligations.presentedForm
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: A system making prescriptions available should be able to provide a rendered, human-readable version of the prescription,
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.presentedForm
short:
  v: Entire prescription as issued. Various formats could be provided, PDF format is recommended.
definition:
  v: Entire prescription as issued. Various formats could be provided, PDF format is recommended.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSMedicationPrescription.presentedForm
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment
    l: EHDSAttachment

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem
short:
  v: Prescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.
definition:
  v: Prescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.
min:
  v: 1
max:
  v: *
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.identifier
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: For a single-item prescription these identifiers shall match .identifier.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: A dispensing system shall use this prescription identifier for reference in the dispense record.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.identifier
short:
  v: Identifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]
definition:
  v: Identifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]
min:
  v: 1
max:
  v: *
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.identifier
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.status
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: A dispensing system shall process the prescription status together with other information to determine dispensability.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.status
short:
  v: Status of a single item of a multi-item prescription. In case of single-item prescriptions, the status of prescription has the same meaning as the status of the item. [Used for searching]
definition:
  v: Status of a single item of a multi-item prescription. In case of single-item prescriptions, the status of prescription has the same meaning as the status of the item. [Used for searching]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.statusReason[x]
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.statusReason[x]
short:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid or why the prescription was changed from previous
definition:
  v: Reason for the current status of prescription, for example the reason why the prescription was made invalid or why the prescription was changed from previous
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.statusReason[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.medication
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.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: EHDSMedicationPrescription.prescriptionItem.medication
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
    l: EHDSMedication

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.indication[x]
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.indication[x]
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: EHDSMedicationPrescription.prescriptionItem.indication[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string
binding:
  strength:
    v: preferred
  description:
    v: ICD-10, SNOMED CT, Orphacode

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.intendedUseType
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.intendedUseType
short:
  v: Intent of the prescription - prophylaxis, treatment, anesthesia, etc
definition:
  v: Intent of the prescription - prophylaxis, treatment, anesthesia, etc
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.intendedUseType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.periodOfUse
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.periodOfUse
short:
  v: Period over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)
definition:
  v: Period over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.periodOfUse
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.quantityPrescribed
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.quantityPrescribed
short:
  v: Overall quantity of prescribed product (e.g number of packages or number of tablets).
definition:
  v: Overall quantity of prescribed product (e.g number of packages or number of tablets).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.quantityPrescribed
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM, EDQM Standard Terms

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.dosageInstructions
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.dosageInstructions
short:
  v: Dosage and administration instructions
definition:
  v: Dosage and administration instructions
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.dosageInstructions
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage
    l: EHDSDosage

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.validityPeriod
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.validityPeriod
short:
  v: The period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.
definition:
  v: The period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.validityPeriod
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution
short:
  v: Whether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.
definition:
  v: Whether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.substitution
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution.allowed[x]
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution.allowed[x]
short:
  v: Whether and to what extent substitution is allowed.
definition:
  v: Whether and to what extent substitution is allowed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution.reason[x]
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution.reason[x]
short:
  v: Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)
definition:
  v: Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.numberOfRepeats
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.numberOfRepeats
short:
  v: Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense. The default value is 0 (no repeats).
definition:
  v: Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense. The default value is 0 (no repeats).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.numberOfRepeats
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer
    l: integer

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.minimumDispenseInterval
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.minimumDispenseInterval
short:
  v: Minimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.
definition:
  v: Minimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.offLabel
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.offLabel
short:
  v: Indicates that the prescriber has knowingly prescribed the medication for an indication, age group, dosage, or route of administration that is not approved by the regulatory agencies and is not mentioned in the prescribing information for the drug
definition:
  v: Indicates that the prescriber has knowingly prescribed the medication for an indication, age group, dosage, or route of administration that is not approved by the regulatory agencies and is not mentioned in the prescribing information for the drug
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.offLabel
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.offLabel.isOffLabelUse
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.offLabel.isOffLabelUse
short:
  v: Indicates off-label use. Must be 'true' when .reason is provided.
definition:
  v: Indicates off-label use. Must be 'true' when .reason is provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.offLabel.reason[x]
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.offLabel.reason[x]
short:
  v: Reason or related clarification for off-label use
definition:
  v: Reason or related clarification for off-label use
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.note
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.note
short:
  v: Additional information or comments, e.g. message to the dispenser
definition:
  v: Additional information or comments, e.g. message to the dispenser
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSMedicationPrescription.prescriptionItem.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: EHDSMedicationPrescriptionObligations
  path:
    v: EHDSMedicationPrescriptionObligations
  short:
    v: Medication prescription model obligations
  definition:
    v: Obligations for the logical model for medication prescription body for prescribing systems (producer) and dispensing systems (consumer).
element:
  id:
    v: EHDSMedicationPrescriptionObligations.header.subject
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: A dispensing system shall process the patient information for identification purposes.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationPrescriptionObligations.header.subject
element:
  id:
    v: EHDSMedicationPrescriptionObligations.header.identifier
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: For a single-item prescription these identifiers shall match prescriptionItem.identifier.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: A dispensing system shall use this prescription identifier for reference in the dispense record.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationPrescriptionObligations.header.identifier
element:
  id:
    v: EHDSMedicationPrescriptionObligations.header.author[x]
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: Systems shall support at least EHDSHealthProfessional data type for the element.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationPrescriptionObligations.header.author[x]
element:
  id:
    v: EHDSMedicationPrescriptionObligations.header.date
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSMedicationPrescriptionObligations.header.date
element:
  id:
    v: EHDSMedicationPrescriptionObligations.header.status
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical

extension:
  url:
    v: code
    l: code
  value: Code
    v: SHALL:process
extension:
  url:
    v: actor
    l: actor
  value: Canonical
    v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
    l: actor-consumer
extension:
  url:
    v: documentation
    l: documentation
  value: Markdown
    v: A dispensing system shall process the prescription status together with other information to determine dispensability.
url:
  v: http://hl7.org/fhir/StructureDefinition/obligation
  l: obligation

v: EHDSMedicationPrescriptionObligations.header.status

id:
  v: EHDSMedicationPrescriptionObligations.presentedForm
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: A system making prescriptions available should be able to provide a rendered, human-readable version of the prescription,
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.presentedForm

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.identifier
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: For a single-item prescription these identifiers shall match .identifier.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: A dispensing system shall use this prescription identifier for reference in the dispense record.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.identifier

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.status
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: A dispensing system shall process the prescription status together with other information to determine dispensability.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.status

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.medication
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.medication

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.quantityPrescribed
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.quantityPrescribed

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.dosageInstructions
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.dosageInstructions

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.validityPeriod
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.validityPeriod

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.substitution

id:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.note
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSMedicationPrescriptionObligations.prescriptionItem.note