EHDSMedicationPrescription
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSMedicationPrescription
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSMedicationPrescription Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSMedicationPrescription 0..* EHDSDataSet Medication prescription model Elements defined in Ancestors:header #xD; header 1..1 Base Prescription header #xD; subject 1..1 EHDSPatient The person for whom the medication is prescribed/ordered. [Used for searching] #xD; identifier 1..* Identifier Business identifier(s) for the prescription. [Used for searching] #xD; author[x] 1..* The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching] #xD; authorEHDSHealthProfessional EHDSHealthProfessional #xD; authorEHDSOrganisation EHDSOrganisation #xD; date 1..1 dateTime Time of issuing (signing) the prescription by health care professional. [Used for searching] #xD; <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.header.status" title="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]">status 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] #xD; source 0..0 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. #xD; statusReason[x] 0..1 Reason for the current statu…
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
  l: EHDSMedicationPrescription
version:
  v: 0.2.1
name:
  v: EHDSMedicationPrescription
title:
  v: Medication prescription model
status:
  v: draft
date:
  v: 2026-02-09T09:32:05+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://www.xt-ehr.eu/
description:
  v: Logical model for medication prescription. A prescription contains one or more prescription items (medications).
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/EHDSMedicationPrescription
  l: EHDSMedicationPrescription
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet
  l: EHDSDataSet
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 0.2.1
  element:
    id:
      v: EHDSMedicationPrescription
    path:
      v: EHDSMedicationPrescription
    short:
      v: Medication prescription model
    definition:
      v: Logical model for medication prescription. A prescription contains one or more prescription items (medications).
    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: EHDSMedicationPrescription.header
    path:
      v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.header.subject
    path:
      v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.header.identifier
    path:
      v: EHDSMedicationPrescription.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: *
    type:
      code:
        v: Identifier
        l: Identifier
  element:
    id:
      v: EHDSMedicationPrescription.header.author[x]
    path:
      v: EHDSMedicationPrescription.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
  element:
    id:
      v: EHDSMedicationPrescription.header.date
    path:
      v: EHDSMedicationPrescription.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

path:
  v: EHDSDataSet.header.date
min:
  v: 0
max:
  v: 1

code:
  v: dateTime
  l: dateTime

id:
  v: EHDSMedicationPrescription.header.status
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.header.source
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.header.language
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.header.statusReason[x]
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.presentedForm
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.identifier
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.status
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.statusReason[x]
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.medication
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.indication[x]
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.intendedUseType
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.periodOfUse
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.quantityPrescribed
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.dosageInstructions
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.validityPeriod
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.substitution
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.numberOfRepeats
path:
  v: EHDSMedicationPrescription.prescriptionItem.numberOfRepeats
short:
  v: Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.
definition:
  v: Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.
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: EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.offLabel
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription.prescriptionItem.note
path:
  v: EHDSMedicationPrescription.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: EHDSMedicationPrescription
  path:
    v: EHDSMedicationPrescription
  short:
    v: Medication prescription model
  definition:
    v: Logical model for medication prescription. A prescription contains one or more prescription items (medications).
element:
  id:
    v: EHDSMedicationPrescription.header
  path:
    v: EHDSMedicationPrescription.header
  short:
    v: Prescription header
  definition:
    v: Prescription header
element:
  id:
    v: EHDSMedicationPrescription.header.subject
  path:
    v: EHDSMedicationPrescription.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]
element:
  id:
    v: EHDSMedicationPrescription.header.identifier
  path:
    v: EHDSMedicationPrescription.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
element:
  id:
    v: EHDSMedicationPrescription.header.author[x]
  path:
    v: EHDSMedicationPrescription.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
  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
element:
  id:
    v: EHDSMedicationPrescription.header.date
  path:
    v: EHDSMedicationPrescription.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
element:
  id:
    v: EHDSMedicationPrescription.header.status
  path:
    v: EHDSMedicationPrescription.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]
element:
  id:
    v: EHDSMedicationPrescription.header.source
  path:
    v: EHDSMedicationPrescription.header.source
  max:
    v: 0
element:
  id:
    v: EHDSMedicationPrescription.header.statusReason[x]
  path:
    v: EHDSMedicationPrescription.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
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  type:
    code:
      v: string
      l: string
element:
  id:
    v: EHDSMedicationPrescription.presentedForm
  path:
    v: EHDSMedicationPrescription.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: *
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment
      l: EHDSAttachment
element:
  id:
    v: EHDSMedicationPrescription.prescriptionItem
  path:
    v: EHDSMedicationPrescription.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: *
  type:
    code:
      v: Base
      l: Base
element:
  id:
    v: EHDSMedicationPrescription.prescriptionItem.identifier
  path:
    v: EHDSMedicationPrescription.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: *
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: EHDSMedicationPrescription.prescriptionItem.status
  path:
    v: EHDSMedicationPrescription.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
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: EHDSMedicationPrescription.prescriptionItem.statusReason[x]
  path:
    v: EHDSMedicationPrescription.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
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  type:
    code:
      v: string
      l: string
element:
  id:
    v: EHDSMedicationPrescription.prescriptionItem.medication
  path:
    v: EHDSMedicationPrescription.prescriptionItem.medication
  short:
    v: Prescribed product, branded, generic, virtual, extemporal, etc

v: Prescribed product, branded, generic, virtual, extemporal, etc

v: 1

v: 1

id:
  v: EHDSMedicationPrescription.prescriptionItem.indication[x]
path:
  v: EHDSMedicationPrescription.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: *
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: EHDSMedicationPrescription.prescriptionItem.intendedUseType
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationPrescription.prescriptionItem.periodOfUse
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSMedicationPrescription.prescriptionItem.quantityPrescribed
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM, EDQM Standard Terms

id:
  v: EHDSMedicationPrescription.prescriptionItem.dosageInstructions
path:
  v: EHDSMedicationPrescription.prescriptionItem.dosageInstructions
short:
  v: Dosage and administration instructions
definition:
  v: Dosage and administration instructions
min:
  v: 1
max:
  v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage
    l: EHDSDosage

id:
  v: EHDSMedicationPrescription.prescriptionItem.validityPeriod
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSMedicationPrescription.prescriptionItem.substitution
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string

id:
  v: EHDSMedicationPrescription.prescriptionItem.numberOfRepeats
path:
  v: EHDSMedicationPrescription.prescriptionItem.numberOfRepeats
short:
  v: Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.
definition:
  v: Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer
    l: integer

id:
  v: EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: Quantity
    l: Quantity

id:
  v: EHDSMedicationPrescription.prescriptionItem.offLabel
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: boolean
    l: boolean

id:
  v: EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]
path:
  v: EHDSMedicationPrescription.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: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string

id:
  v: EHDSMedicationPrescription.prescriptionItem.note
path:
  v: EHDSMedicationPrescription.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
type:
  code:
    v: string
    l: string