PackagesCanonicalsLogsProblems
    Packages
    xtehr.eu.ehds.models@1.0.0
    http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
description: Logical model for medication prescription. A prescription contains one or more prescription items (medications).
package_name: xtehr.eu.ehds.models
derivation: specialization
name: EHDSMedicationPrescription
type: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
elements:
  header:
    short: Prescription header
    index: 0
    elements:
      date: {short: 'Time of issuing (signing) the prescription by health care professional. [Used for searching]', index: 7}
      statusReason:
        short: Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.
        choices: [statusReasonCodeableConcept, statusReasonString]
        index: 11
      statusReasonString: {type: string, short: 'Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.', choiceOf: statusReason, index: 13}
      source: {index: 9}
      author:
        short: The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]
        choices: ['authorHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional', 'authorHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation']
        index: 4
      statusReasonCodeableConcept: {type: CodeableConcept, short: 'Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.', choiceOf: statusReason, index: 12}
      status: {short: '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]', index: 8}
      identifier: {short: 'Business identifier(s) for the prescription. [Used for searching]', index: 2}
      subject: {short: 'The person for whom the medication is prescribed/ordered. [Used for searching]', index: 1}
      authorHttp://www:
        elements:
          xt-ehr:
            elements:
              eu/fhir/models/StructureDefinition/EHDSHealthProfessional: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional', short: 'The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]', choiceOf: author, index: 5}
              eu/fhir/models/StructureDefinition/EHDSOrganisation: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation', short: 'The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]', choiceOf: author, index: 6}
            required: [fhir/models/StructureDefinition/EHDSOrganisation, fhir/models/StructureDefinition/EHDSHealthProfessional]
    required: [author, identifier, date]
  presentedForm: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment', short: 'Entire prescription as issued. Various formats could be provided, PDF format is recommended.', array: true, index: 14}
  prescriptionItem:
    type: Base
    short: 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.
    array: true
    min: 1
    index: 15
    elements:
      substitution:
        type: Base
        short: 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.
        index: 32
        elements:
          allowed:
            short: Whether and to what extent substitution is allowed.
            choices: [allowedBoolean, allowedCodeableConcept]
            index: 34
          allowedBoolean: {type: boolean, short: Whether and to what extent substitution is allowed., choiceOf: allowed, index: 35}
          allowedCodeableConcept: {type: CodeableConcept, short: Whether and to what extent substitution is allowed., choiceOf: allowed, index: 36}
          reason:
            short: Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)
            choices: [reasonCodeableConcept, reasonString]
            index: 38
          reasonCodeableConcept: {type: CodeableConcept, short: 'Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)', choiceOf: reason, index: 39}
          reasonString: {type: string, short: 'Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)', choiceOf: reason, index: 40}
      intendedUseType: {type: CodeableConcept, short: 'Intent of the prescription - prophylaxis, treatment, anesthesia, etc', index: 27}
      indication:
        short: Reason for the prescription (typically diagnosis, or a procedure)
        choices: [indicationCodeableConcept, indicationString]
        array: true
        index: 24
      numberOfRepeats: {type: integer, short: 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)., index: 41}
      dosageInstructions: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage', short: Dosage and administration instructions, index: 30}
      periodOfUse: {type: Period, short: 'Period over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)', index: 28}
      statusReason:
        short: 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
        choices: [statusReasonCodeableConcept, statusReasonString]
        index: 19
      quantityPrescribed: {type: Quantity, short: Overall quantity of prescribed product (e.g number of packages or number of tablets)., index: 29}
      statusReasonString: {type: string, short: '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', choiceOf: statusReason, index: 21}
      minimumDispenseInterval: {type: Quantity, short: 'Minimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.', index: 42}
      validityPeriod: {type: Period, short: '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.', index: 31}
      note: {type: string, short: 'Additional information or comments, e.g. message to the dispenser', index: 49}
      statusReasonCodeableConcept: {type: CodeableConcept, short: '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', choiceOf: statusReason, index: 20}
      status: {type: CodeableConcept, short: '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]', index: 17}
      offLabel:
        type: Base
        short: 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
        index: 43
        elements:
          isOffLabelUse: {type: boolean, short: Indicates off-label use. Must be 'true' when .reason is provided., index: 44}
          reason:
            short: Reason or related clarification for off-label use
            choices: [reasonCodeableConcept, reasonString]
            array: true
            index: 46
          reasonCodeableConcept: {type: CodeableConcept, short: Reason or related clarification for off-label use, choiceOf: reason, array: true, index: 47}
          reasonString: {type: string, short: Reason or related clarification for off-label use, choiceOf: reason, array: true, index: 48}
        required: [isOffLabelUse]
      identifier: {type: Identifier, short: '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]', array: true, min: 1, index: 16}
      indicationCodeableConcept: {type: CodeableConcept, short: 'Reason for the prescription (typically diagnosis, or a procedure)', choiceOf: indication, array: true, index: 25}
      indicationString: {type: string, short: 'Reason for the prescription (typically diagnosis, or a procedure)', choiceOf: indication, array: true, index: 26}
      medication: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication', short: 'Prescribed product, branded, generic, virtual, extemporal, etc', index: 22}
    required: [status, identifier, medication, dosageInstructions]
package_version: 1.0.0
class: logical
kind: logical
url: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
base: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet
version: 1.0.0
required: [prescriptionItem]