Prescription
type: StructureDefinition
node role: treeRoot
id:
  v: Prescription
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition Prescription Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Prescription 0..* Base A - Prescription patient 0..* Subject A.1.1 Patient administrative data authentication 0..* Base A.1.2 Authentication of the prescription <a href="StructureDefinition-Prescription-definitions.html#Prescription.authentication.identifier" title="A unique string generated by an EPS (Electronic Prescribing System) to uniquely identify a prescription; this unique code is needed for traceability. It might be used to register whether a prescription, and/or the maximum number of repeats, has already been dispensed. The identifier can consist of a root and an extension [ISO 21090:2011].">identifier 0..* Identifier A.1.2.1 Identifier of the Prescription issueDate 0..* dateTime A.1.2.2 Issue date prescriber 0..1 Base A.1.3 Identification of the prescribing health professional familyName 0..* string A.1.3.1 Familyname givenName 0..* string A.1.3.2 Given name qualification 0..* CodeableConcept A.1.3.3 Professional qualifications contact 0..* ContactPoint A.1.3.4 Details for direct contact workAddress 0..* Address A.1.3.5 Work address signature 0..* Signature A.1.3.6 Signature <a href="StructureDefinition-Prescription-definitions.html#Prescription.prescriber.identifier" title="A unique number or code issued for the purpose of identifying a health care provider [ISO/TS 27527:2010]; this may be a licence or registration number which can be used to trace the prescriber and to check whether a medicinal product was prescribed by the right person according to the law of the prescribing country.">identifier 0..* Identifier A.1.3.7 Health care provider identifier product 0..1 MedicinalProduct A1.4 Identification of the prescribed product details 0..1 Base A.1.5 Prescription information <a href="StructureDefinition-Prescription-definitions.html#Prescription.details.quantity" title="Total quantity or v…
url:
  v: http://hl7.eu/fhir/mpd-r5/StructureDefinition/Prescription
version:
  v: 0.1.0-ballot
name:
  v: EprescriptionEhn
title:
  v: A - Prescription
status:
  v: draft
date:
  v: 2025-06-04T20:58:22+02:00
publisher:
  v: HL7 Europe
contact:
  name:
    v: HL7 Europe
  telecom:
    system:
      v: url
    value:
      v: http://hl7.eu
description:
  v: Prescription. Several Sections of the eHN guideline.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 150
    display:
      v: Europe
copyright:
  v: Used by permission of HL7 Europe, all rights reserved Creative Commons License
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.eu/fhir/mpd-r5/StructureDefinition/Prescription
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 5.0.0
  element:
    id:
      v: Prescription
    path:
      v: Prescription
    short:
      v: A - Prescription
    definition:
      v: Prescription. Several Sections of the eHN guideline.
    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: Prescription.patient
    path:
      v: Prescription.patient
    short:
      v: A.1.1 Patient administrative data
    definition:
      v: Patient administrative data
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Prescription.patient
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: http://hl7.eu/fhir/mpd-r5/StructureDefinition/Subject
  element:
    id:
      v: Prescription.authentication
    path:
      v: Prescription.authentication
    short:
      v: A.1.2 Authentication of the prescription
    definition:
      v: Authentication of the prescription
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Prescription.authentication
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Base
  element:
    id:
      v: Prescription.authentication.identifier
    path:
      v: Prescription.authentication.identifier
    short:
      v: A.1.2.1 Identifier of the Prescription
    definition:
      v: A unique string generated by an EPS (Electronic Prescribing System) to uniquely identify a prescription; this unique code is needed for traceability. It might be used to register whether a prescription, and/or the maximum number of repeats, has already been dispensed. The identifier can consist of a root and an extension [ISO 21090:2011].
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Prescription.authentication.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
  element:
    id:
      v: Prescription.authentication.issueDate
    path:
      v: Prescription.authentication.issueDate
    short:
      v: A.1.2.2 Issue date
    definition:
      v: The date and optionally the time the prescription was issued.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Prescription.authentication.issueDate
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: dateTime
  element:
    id:
      v: Prescription.prescriber
    path:
      v: Prescription.prescriber
    short:
      v: A.1.3 Identification of the prescribing health professional
    definition:
      v: Identification of the prescribing health professional
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Prescription.prescriber

v: 0

v: 1

code:
  v: Base

id:
  v: Prescription.prescriber.familyName
path:
  v: Prescription.prescriber.familyName
short:
  v: A.1.3.1 Familyname
definition:
  v: The family name/surname/last name of the prescriber. This enables the prescriber to be traced in the event of questions or emergencies.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.prescriber.familyName
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string

id:
  v: Prescription.prescriber.givenName
path:
  v: Prescription.prescriber.givenName
short:
  v: A.1.3.2 Given name
definition:
  v: The given name/ first name of the prescriber. This enables the prescriber to be traced in the event of questions or emergencies.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.prescriber.givenName
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string

id:
  v: Prescription.prescriber.qualification
path:
  v: Prescription.prescriber.qualification
short:
  v: A.1.3.3 Professional qualifications
definition:
  v: The professional title of the prescribing health professional, which may be used to prove the authority of the prescriber.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.prescriber.qualification
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept

id:
  v: Prescription.prescriber.contact
path:
  v: Prescription.prescriber.contact
short:
  v: A.1.3.4 Details for direct contact
definition:
  v: Details for direct contact could be an email address and/or phone/fax number of the prescriber in order for the dispenser and/or patient to contact the prescriber. This might be necessary if problems arise with dosage, allergies, reimbursement etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.prescriber.contact
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint

id:
  v: Prescription.prescriber.workAddress
path:
  v: Prescription.prescriber.workAddress
short:
  v: A.1.3.5 Work address
definition:
  v: This is the address of the hospital or the practice, etc. where the health professional normally works, meets patients and prescribes medication. Minimally, the country should be specified.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.prescriber.workAddress
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Address

id:
  v: Prescription.prescriber.signature
path:
  v: Prescription.prescriber.signature
short:
  v: A.1.3.6 Signature
definition:
  v: Digital signature or token as proof of the authenticity of the prescriber.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.prescriber.signature
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Signature

id:
  v: Prescription.prescriber.identifier
path:
  v: Prescription.prescriber.identifier
short:
  v: A.1.3.7 Health care provider identifier
definition:
  v: A unique number or code issued for the purpose of identifying a health care provider [ISO/TS 27527:2010]; this may be a licence or registration number which can be used to trace the prescriber and to check whether a medicinal product was prescribed by the right person according to the law of the prescribing country.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.prescriber.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier

id:
  v: Prescription.product
path:
  v: Prescription.product
short:
  v: A1.4 Identification of the prescribed product
definition:
  v: Identification of the prescribed product
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Prescription.product
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.eu/fhir/mpd-r5/StructureDefinition/MedicinalProduct

id:
  v: Prescription.details
path:
  v: Prescription.details
short:
  v: A.1.5 Prescription information
definition:
  v: Prescription information
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Prescription.details
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base

id:
  v: Prescription.details.quantity
path:
  v: Prescription.details.quantity
short:
  v: A.1.5.2 Quantity of prescribed product
definition:
  v: Total quantity or volume of the medicinal product that is prescribed to the specific patient. It can be provided as number of packages, given that the pack size is sufficiently described, or it can be the overall amount in appropriate units of measure (UCUM) or units of presentation (EDQM) (ml, g, tablets, vials). Depending on national legislation, this quantity may or may not be dispensed in one dispensation.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.quantity
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM, EDQM

id:
  v: Prescription.details.doseRegimen
path:
  v: Prescription.details.doseRegimen
short:
  v: A.1.5.3 Dose regimen
definition:
  v: The regimen governing the dose quantity per single administration, the dose frequency, and/or speed of administration (in the event of intravenous administration). Note: this information may be used by the dispenser to calculate the quantity to be dispensed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.doseRegimen
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base

id:
  v: Prescription.details.doseRegimen.unitsPerIntake
path:
  v: Prescription.details.doseRegimen.unitsPerIntake
short:
  v: A.1.5.3.1 Number of units per intake
definition:
  v: The number of units per intake that the patient is taking. Example: 1 tablet
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.doseRegimen.unitsPerIntake
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM, EDQM

id:
  v: Prescription.details.doseRegimen.frequencyOfIntakes
path:
  v: Prescription.details.doseRegimen.frequencyOfIntakes
short:
  v: A.1.5.3.2 Frequency of intakes
definition:
  v: Frequency of intakes per hour/day/week/month. Example: every 24 hours. Preferred codesystems UCUM, HL7 TimingEvent
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.doseRegimen.frequencyOfIntakes
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base

id:
  v: Prescription.details.route
path:
  v: Prescription.details.route
short:
  v: A.1.5.4 Route of administration
definition:
  v: The route of administration as prescribed. Example: oral intake
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.route
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: EDQM

id:
  v: Prescription.details.duration
path:
  v: Prescription.details.duration
short:
  v: A.1.5.5 Duration of treatment
definition:
  v: The duration of the treatment as indicated by the Prescriber. Example: 14 days. Can be left blank for long-term therapies.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.duration
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM

id:
  v: Prescription.details.startDate
path:
  v: Prescription.details.startDate
short:
  v: A.1.5.6 Starting date of therapy
definition:
  v: The time and date on which it is agreed that therapy will start. - Preferred system(s): ISO 8601
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.startDate
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: dateTime

id:
  v: Prescription.details.directionsOfUse
path:
  v: Prescription.details.directionsOfUse
short:
  v: A.1.5.7 Directions for use
definition:
  v: Information about the directions for use of the prescribed medicinal product (such as ?with food? or ?before a meal?) and any cautionary advice for correct use of the prescribed medicinal product by the patient.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.directionsOfUse
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 TimingEvent

id:
  v: Prescription.details.expiryDate
path:
  v: Prescription.details.expiryDate
short:
  v: A.1.5.8 Prescription expiry date
definition:
  v: This might be dependent on local or national policy or legislation, in accordance with the treatment plan or because the therapeutic need for the prescribed medicine has expired.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.expiryDate
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: dateTime

id:
  v: Prescription.details.repeats
path:
  v: Prescription.details.repeats
short:
  v: A.1.5.9 Repeats
definition:
  v: In some countries, when medicinal products are dispensed for the first time, the patient may only receive medication for a short period of time. When a patient starts taking medication for a chronic illness, the prescriber can issue a prescription for a longer period that is now separated by repeats. In addition, the maximum quantity (A.1.4.3) of the prescribed product that may be dispensed in one dispensation may be stated here. Decision on dispensability is made in the country of prescription.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.repeats
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: integer

id:
  v: Prescription.details.reason
path:
  v: Prescription.details.reason
short:
  v: A.1.5.10 Reason for prescription
definition:
  v: The reason why the medicine is being prescribed, including the option to mention that the medicinal product is being prescribed for ?off label? use. The reason for the prescription gives the dispenser the opportunity to review the prescription for medication safety issues. Note: in some countries it is obligatory to state the reason for prescription on the prescription itself for some or all medicinal products.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.reason
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept

id:
  v: Prescription.details.substitution
path:
  v: Prescription.details.substitution
short:
  v: A.1.5.11 Substitution
definition:
  v: Substitution handling can be recorded to indicate whether and to what extent substitution is allowed by the prescriber.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Prescription.details.substitution
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept

element:
  id:
    v: Prescription
  path:
    v: Prescription
  short:
    v: A - Prescription
  definition:
    v: Prescription. Several Sections of the eHN guideline.
element:
  id:
    v: Prescription.patient
  path:
    v: Prescription.patient
  short:
    v: A.1.1 Patient administrative data
  definition:
    v: Patient administrative data
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://hl7.eu/fhir/mpd-r5/StructureDefinition/Subject
element:
  id:
    v: Prescription.authentication
  path:
    v: Prescription.authentication
  short:
    v: A.1.2 Authentication of the prescription
  definition:
    v: Authentication of the prescription
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Base
element:
  id:
    v: Prescription.authentication.identifier
  path:
    v: Prescription.authentication.identifier
  short:
    v: A.1.2.1 Identifier of the Prescription
  definition:
    v: A unique string generated by an EPS (Electronic Prescribing System) to uniquely identify a prescription; this unique code is needed for traceability. It might be used to register whether a prescription, and/or the maximum number of repeats, has already been dispensed. The identifier can consist of a root and an extension [ISO 21090:2011].
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
element:
  id:
    v: Prescription.authentication.issueDate
  path:
    v: Prescription.authentication.issueDate
  short:
    v: A.1.2.2 Issue date
  definition:
    v: The date and optionally the time the prescription was issued.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: dateTime
element:
  id:
    v: Prescription.prescriber
  path:
    v: Prescription.prescriber
  short:
    v: A.1.3 Identification of the prescribing health professional
  definition:
    v: Identification of the prescribing health professional
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Base
element:
  id:
    v: Prescription.prescriber.familyName
  path:
    v: Prescription.prescriber.familyName
  short:
    v: A.1.3.1 Familyname
  definition:
    v: The family name/surname/last name of the prescriber. This enables the prescriber to be traced in the event of questions or emergencies.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: string
element:
  id:
    v: Prescription.prescriber.givenName
  path:
    v: Prescription.prescriber.givenName
  short:
    v: A.1.3.2 Given name
  definition:
    v: The given name/ first name of the prescriber. This enables the prescriber to be traced in the event of questions or emergencies.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: string
element:
  id:
    v: Prescription.prescriber.qualification
  path:
    v: Prescription.prescriber.qualification
  short:
    v: A.1.3.3 Professional qualifications
  definition:
    v: The professional title of the prescribing health professional, which may be used to prove the authority of the prescriber.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: CodeableConcept
element:
  id:
    v: Prescription.prescriber.contact
  path:
    v: Prescription.prescriber.contact
  short:
    v: A.1.3.4 Details for direct contact
  definition:
    v: Details for direct contact could be an email address and/or phone/fax number of the prescriber in order for the dispenser and/or patient to contact the prescriber. This might be necessary if problems arise with dosage, allergies, reimbursement etc.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: ContactPoint
element:
  id:
    v: Prescription.prescriber.workAddress
  path:
    v: Prescription.prescriber.workAddress
  short:
    v: A.1.3.5 Work address
  definition:
    v: This is the address of the hospital or the practice, etc. where the health professional normally works, meets patients and prescribes medication. Minimally, the country should be specified.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Address
element:
  id:
    v: Prescription.prescriber.signature
  path:
    v: Prescription.prescriber.signature
  short:
    v: A.1.3.6 Signature
  definition:
    v: Digital signature or token as proof of the authenticity of the prescriber.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Signature
element:
  id:
    v: Prescription.prescriber.identifier
  path:
    v: Prescription.prescriber.identifier
  short:
    v: A.1.3.7 Health care provider identifier
  definition:
    v: A unique number or code issued for the purpose of identifying a health care provider [ISO/TS 27527:2010]; this may be a licence or registration number which can be used to trace the prescriber and to check whether a medicinal product was prescribed by the right person according to the law of the prescribing country.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier

id:
  v: Prescription.product
path:
  v: Prescription.product
short:
  v: A1.4 Identification of the prescribed product
definition:
  v: Identification of the prescribed product
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.eu/fhir/mpd-r5/StructureDefinition/MedicinalProduct

id:
  v: Prescription.details
path:
  v: Prescription.details
short:
  v: A.1.5 Prescription information
definition:
  v: Prescription information
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Base

id:
  v: Prescription.details.quantity
path:
  v: Prescription.details.quantity
short:
  v: A.1.5.2 Quantity of prescribed product
definition:
  v: Total quantity or volume of the medicinal product that is prescribed to the specific patient. It can be provided as number of packages, given that the pack size is sufficiently described, or it can be the overall amount in appropriate units of measure (UCUM) or units of presentation (EDQM) (ml, g, tablets, vials). Depending on national legislation, this quantity may or may not be dispensed in one dispensation.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM, EDQM

id:
  v: Prescription.details.doseRegimen
path:
  v: Prescription.details.doseRegimen
short:
  v: A.1.5.3 Dose regimen
definition:
  v: The regimen governing the dose quantity per single administration, the dose frequency, and/or speed of administration (in the event of intravenous administration). Note: this information may be used by the dispenser to calculate the quantity to be dispensed.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Base

id:
  v: Prescription.details.doseRegimen.unitsPerIntake
path:
  v: Prescription.details.doseRegimen.unitsPerIntake
short:
  v: A.1.5.3.1 Number of units per intake
definition:
  v: The number of units per intake that the patient is taking. Example: 1 tablet
min:
  v: 0
max:
  v: *
type:
  code:
    v: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM, EDQM

id:
  v: Prescription.details.doseRegimen.frequencyOfIntakes
path:
  v: Prescription.details.doseRegimen.frequencyOfIntakes
short:
  v: A.1.5.3.2 Frequency of intakes
definition:
  v: Frequency of intakes per hour/day/week/month. Example: every 24 hours. Preferred codesystems UCUM, HL7 TimingEvent
min:
  v: 0
max:
  v: *
type:
  code:
    v: Base

id:
  v: Prescription.details.route
path:
  v: Prescription.details.route
short:
  v: A.1.5.4 Route of administration
definition:
  v: The route of administration as prescribed. Example: oral intake
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: EDQM

id:
  v: Prescription.details.duration
path:
  v: Prescription.details.duration
short:
  v: A.1.5.5 Duration of treatment
definition:
  v: The duration of the treatment as indicated by the Prescriber. Example: 14 days. Can be left blank for long-term therapies.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM

id:
  v: Prescription.details.startDate
path:
  v: Prescription.details.startDate
short:
  v: A.1.5.6 Starting date of therapy
definition:
  v: The time and date on which it is agreed that therapy will start. - Preferred system(s): ISO 8601
min:
  v: 0
max:
  v: *
type:
  code:
    v: dateTime

id:
  v: Prescription.details.directionsOfUse
path:
  v: Prescription.details.directionsOfUse
short:
  v: A.1.5.7 Directions for use
definition:
  v: Information about the directions for use of the prescribed medicinal product (such as ?with food? or ?before a meal?) and any cautionary advice for correct use of the prescribed medicinal product by the patient.
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 TimingEvent

id:
  v: Prescription.details.expiryDate
path:
  v: Prescription.details.expiryDate
short:
  v: A.1.5.8 Prescription expiry date
definition:
  v: This might be dependent on local or national policy or legislation, in accordance with the treatment plan or because the therapeutic need for the prescribed medicine has expired.
min:
  v: 0
max:
  v: *
type:
  code:
    v: dateTime

id:
  v: Prescription.details.repeats
path:
  v: Prescription.details.repeats
short:
  v: A.1.5.9 Repeats
definition:
  v: In some countries, when medicinal products are dispensed for the first time, the patient may only receive medication for a short period of time. When a patient starts taking medication for a chronic illness, the prescriber can issue a prescription for a longer period that is now separated by repeats. In addition, the maximum quantity (A.1.4.3) of the prescribed product that may be dispensed in one dispensation may be stated here. Decision on dispensability is made in the country of prescription.
min:
  v: 0
max:
  v: *
type:
  code:
    v: integer

id:
  v: Prescription.details.reason
path:
  v: Prescription.details.reason
short:
  v: A.1.5.10 Reason for prescription
definition:
  v: The reason why the medicine is being prescribed, including the option to mention that the medicinal product is being prescribed for ?off label? use. The reason for the prescription gives the dispenser the opportunity to review the prescription for medication safety issues. Note: in some countries it is obligatory to state the reason for prescription on the prescription itself for some or all medicinal products.
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept

id:
  v: Prescription.details.substitution
path:
  v: Prescription.details.substitution
short:
  v: A.1.5.11 Substitution
definition:
  v: Substitution handling can be recorded to indicate whether and to what extent substitution is allowed by the prescriber.
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept