PackagesCanonicalsLogsProblems
    Packages
    nostalgic-ie.fhir.core@0.2.0
    https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM
description: Logical model of the HIQA Draft National Standard for Electronic Prescriptions and Electronic Dispensations, v1.1 draft for public consultation, September 2026. Built only from the element IDs, conformance, cardinality and datatypes published in the draft. Coded values are not specified by HIQA. This is a consultation draft and will change. Not endorsed by HIQA.
package_name: nostalgic-ie.fhir.core
derivation: specialization
name: HIQAEPrescriptionLM
type: https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM
elements:
  patientDetails:
    type: BackboneElement
    short: Section 1. Patient Details
    index: 0
    elements:
      nameDetails:
        type: BackboneElement
        short: 1.1 Name Details
        index: 1
        elements:
          nameTitle: {type: CodeableConcept, short: '[EP 1.1.1] Name title (Optional 0..*)', array: true, index: 2}
          forename: {type: string, short: '[EP 1.1.2] Forename (Mandatory 1..1)', index: 3}
          surname: {type: string, short: '[EP 1.1.3] Surname (Mandatory 1..1)', index: 4}
          nameSuffix: {type: CodeableConcept, short: '[EP 1.1.4] Name suffix (Optional 0..*)', array: true, index: 5}
        required: [surname, forename]
      address:
        type: BackboneElement
        short: 1.2 Address
        index: 6
        elements:
          postcode: {type: string, short: '[EP 1.2.1] Postcode (Required 0..1)', index: 7}
          addressLineS: {type: string, short: '[EP 1.2.2] Address line(s) (Mandatory 1..1)', index: 8}
          suburbTownTownlandLocality: {type: string, short: '[EP 1.2.3] Suburb/ Town/ Townland/ Locality (Required 0..1)', index: 9}
          districtCounty: {type: CodeableConcept, short: '[EP 1.2.4] District/ County (Mandatory 1..1)', index: 10}
          country: {type: CodeableConcept, short: '[EP 1.2.5] Country (Required 0..1)', index: 11}
          addressType: {type: CodeableConcept, short: '[EP 1.2.6] Address type (Mandatory 1..1)', index: 12}
          addressUse: {type: CodeableConcept, short: '[EP 1.2.7] Address use (Optional 0..1)', index: 13}
        required: [districtCounty, addressLineS, addressType]
      identifiers:
        type: BackboneElement
        short: 1.3 Identifiers Used in Health and Social Care
        index: 14
        elements:
          individualHealthIdentifierIhi: {type: string, short: '[EP 1.3.1] Individual Health Identifier (IHI) (Required 0..1)', index: 15}
          personalPublicServiceNumber: {type: string, short: '[EP 1.3.2] Personal Public Service Number (Required 0..1)', index: 16}
          otherIdentifiersUsedInHealthAndSocialCareDetails:
            type: BackboneElement
            short: '[EP 1.3.3] Other identifiers used in health and social care details (cluster) (Required 0..*)'
            array: true
            index: 17
            elements:
              otherIdentifierUsedInHealthAndSocialCareType: {type: CodeableConcept, short: '[EP 1.3.3.1] Other identifier used in health and social care – Type (Required 0..1)', index: 18}
              otherIdentifierUsedInHealthAndSocialCareValue: {type: string, short: '[EP 1.3.3.2] Other identifier used in health and social care-Value (Required 0..1)', index: 19}
              otherIdentifierUsedInHealthAndSocialCareTimePeri: {type: Period, short: '[EP 1.3.3.3] Other identifier used in health and social care - Time period (Required 0..1)', index: 20}
              organisationWhoIssuedTheOtherIdentifierUsedInHea: {type: string, short: '[EP 1.3.3.4] Organisation who issued the other identifier used in health and social care (Required 0..1)', index: 21}
      additionalDemographicDetails:
        type: BackboneElement
        short: 1.4 Additional Demographic Details
        index: 22
        elements:
          dateOfBirth: {type: date, short: '[EP 1.4.1] Date of birth (Mandatory 1..1)', index: 23}
          age:
            type: BackboneElement
            short: '[EP 1.4.2] Age (cluster) (Required 0..1)'
            index: 24
            elements:
              ageIfLessThan12YearsValue: {type: string, short: '[EP 1.4.2.1] Age if less than 12 years – value (Mandatory 1..1)', index: 25}
              ageIfLessThan12YearsType: {type: CodeableConcept, short: '[EP 1.4.2.2] Age if less than 12 years - type (Mandatory 1..1)', index: 26}
            required: [ageIfLessThan12YearsType, ageIfLessThan12YearsValue]
          sex: {type: CodeableConcept, short: '[EP 1.4.3] Sex (Mandatory 1..1)', index: 27}
          gender:
            type: BackboneElement
            short: '[EP 1.4.4] Gender (cluster) (Required 0..1)'
            index: 28
            elements:
              gender: {type: CodeableConcept, short: '[EP 1.4.4.1] Gender (Required 0..1)', index: 29}
              otherGenderIdentity: {type: string, short: '[EP 1.4.4.2] Other gender identity (Optional 0..1)', index: 30}
        required: [dateOfBirth, sex]
      communicationDetails:
        type: BackboneElement
        short: 1.5 Communication Details
        index: 31
        elements:
          mobilePhoneNumber: {type: string, short: '[EP 1.5.1] Mobile phone number (Required 0..*)', array: true, index: 32}
          emailAddress: {type: string, short: '[EP 1.5.2] Email address (Required 0..*)', array: true, index: 33}
          otherCommunicationDetails:
            type: BackboneElement
            short: '[EP 1.5.3] Other Communication details (cluster) (Optional 0..*)'
            array: true
            index: 34
            elements:
              communicationDetailsType: {type: CodeableConcept, short: '[EP 1.5.3.1] Communication details – Type (Optional 0..*)', array: true, index: 35}
              communicationDetailsValue: {type: string, short: '[EP 1.5.3.2] Communication Details – Value (Optional 0..*)', array: true, index: 36}
      clinicalInformation:
        type: BackboneElement
        short: 1.6 Clinical Information
        index: 37
        elements:
          reasonForNotRecordingAllergiesAndIntolerances: {type: CodeableConcept, short: '[EP 1.6.1] Reason for not recording allergies and intolerances (Required 0..1)', index: 38}
          allergiesAndIntolerances:
            type: BackboneElement
            short: '[EP 1.6.2] Allergies and intolerances (record entry) (Required 0..*)'
            array: true
            index: 39
            elements:
              allergiesOrIntolerances: {type: CodeableConcept, short: '[EP 1.6.2.1] Allergies or intolerances (Required 0..*)', array: true, index: 40}
              causativeAgentOrAllergen: {type: CodeableConcept, short: '[EP 1.6.2.2] Causative agent or allergen (Required 0..1)', index: 41}
              additionalInformation: {type: string, short: '[EP 1.6.2.3] Additional information (Optional 0..1)', index: 42}
              recordEntryProvenanceDataForAllergiesAndIntolera:
                type: BackboneElement
                short: '[EP 1.6.2.4] Record entry provenance data for allergies and intolerances (cluster) (Required 0..*)'
                array: true
                index: 43
                elements:
                  recordEntryIdentifier: {type: string, short: '[EP 1.6.2.4.1] Record entry identifier (Optional 0..*)', array: true, index: 44}
                  recordEntryAuthor:
                    short: '[EP 1.6.2.4.2] Record entry author (Mandatory 0..*)'
                    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                    type: Reference
                    array: true
                    index: 45
                  recordEntryDate: {type: dateTime, short: '[EP 1.6.2.4.3] Record entry date (Mandatory 0..1)', index: 46}
                  recordEntrySource: {type: CodeableConcept, short: '[EP 1.6.2.4.4] Record entry source (Optional 0..1)', index: 47}
                  recordEntryLanguage: {type: CodeableConcept, short: '[EP 1.6.2.4.5] Record entry language (Optional 0..1)', index: 48}
          weight:
            type: BackboneElement
            short: '[EP 1.6.3] Weight (record entry) (Optional 0..1)'
            index: 49
            elements:
              weightValue: {type: decimal, short: '[EP 1.6.3.1] Weight value (Optional 0..1)', index: 50}
              weightType: {type: CodeableConcept, short: '[EP 1.6.3.2] Weight type (Optional 0..1)', index: 51}
              recordEntryProvenanceDataForWeight:
                type: BackboneElement
                short: '[EP 1.6.3.3] Record entry provenance data for weight (cluster) (Optional 0..*)'
                array: true
                index: 52
                elements:
                  recordEntryIdentifier: {type: string, short: '[EP 1.6.3.3.1] Record entry identifier (Optional 0..*)', array: true, index: 53}
                  recordEntryAuthor:
                    short: '[EP 1.6.3.3.2] Record entry author (Mandatory 0..*)'
                    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                    type: Reference
                    array: true
                    index: 54
                  recordEntryDate: {type: dateTime, short: '[EP 1.6.3.3.3] Record entry date (Mandatory 0..1)', index: 55}
                  recordEntrySource: {type: CodeableConcept, short: '[EP 1.6.3.3.4] Record entry source (Optional 0..1)', index: 56}
                  recordEntryLanguage: {type: CodeableConcept, short: '[EP 1.6.3.3.5] Record entry language (Optional 0..1)', index: 57}
          height:
            type: BackboneElement
            short: '[EP 1.6.4] Height (record entry) (Optional 0..1)'
            index: 58
            elements:
              heightValue: {type: decimal, short: '[EP 1.6.4.1] Height value (Optional 0..1)', index: 59}
              heightType: {type: CodeableConcept, short: '[EP 1.6.4.2] Height type (Optional 0..1)', index: 60}
              recordEntryProvenanceDataForHeight:
                type: BackboneElement
                short: '[EP 1.6.4.3] Record entry provenance data for height (cluster) (Optional 0..*)'
                array: true
                index: 61
                elements:
                  recordEntryIdentifier: {type: string, short: '[EP 1.6.4.3.1] Record entry identifier (Optional 0..*)', array: true, index: 62}
                  recordEntryAuthor:
                    short: '[EP 1.6.4.3.2] Record entry author (Mandatory 0..*)'
                    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                    type: Reference
                    array: true
                    index: 63
                  recordEntryDate: {type: dateTime, short: '[EP 1.6.4.3.3] Record entry date (Mandatory 0..1)', index: 64}
                  recordEntrySource: {type: CodeableConcept, short: '[EP 1.6.4.3.4] Record entry source (Optional 0..1)', index: 65}
                  recordEntryLanguage: {type: CodeableConcept, short: '[EP 1.6.4.3.5] Record entry language (Optional 0..1)', index: 66}
          additionalNotes: {type: string, short: '[EP 1.6.5] Additional notes (Optional 0..1)', index: 67}
  healthPractitionerDetails:
    type: BackboneElement
    short: Section 2. Health Practitioner Details
    index: 68
    elements:
      nameTitle: {type: CodeableConcept, short: '[EP 2.1] Name title (Optional 0..*)', array: true, index: 69}
      forename: {type: string, short: '[EP 2.2] Forename (Mandatory 1..1)', index: 70}
      healthcareFacilityIdentifier: {type: string, short: '[EP 2.8] Healthcare facility identifier (Required 0..1)', index: 80}
      locationIdGln: {type: string, short: '[EP 2.11] Location ID (GLN) (Required 0..1)', index: 93}
      signature: {type: Attachment, short: '[EP 2.13] Signature (Required 0..1)', index: 95}
      healthcareFacilityAddress:
        type: BackboneElement
        short: '[EP 2.9] Healthcare facility address (cluster) (Mandatory 1..1)'
        index: 81
        elements:
          postcode: {type: string, short: '[EP 2.9.1] Postcode (Mandatory 1..1)', index: 82}
          addressLineS: {type: string, short: '[EP 2.9.2] Address line(s) (Mandatory 1..1)', index: 83}
          suburbTownTownlandLocality: {type: string, short: '[EP 2.9.3] Suburb/Town/ Townland/Locality (Required 0..1)', index: 84}
          districtCounty: {type: CodeableConcept, short: '[EP 2.9.4] District/ County (Mandatory 1..1)', index: 85}
          country: {type: CodeableConcept, short: '[EP 2.9.5] Country (Mandatory 1..1)', index: 86}
        required: [postcode, country, districtCounty, addressLineS]
      surname: {type: string, short: '[EP 2.3] Surname (Mandatory 1..1)', index: 71}
      communicationDetails:
        type: BackboneElement
        short: '[EP 2.10] Communication details (cluster) (Mandatory 1..*)'
        array: true
        min: 1
        index: 87
        elements:
          telephoneNumber: {type: string, short: '[EP 2.10.1] Telephone Number (Mandatory 1..1)', index: 88}
          emailAddress: {type: string, short: '[EP 2.10.2] Email address (Required 0..*)', array: true, index: 89}
          otherCommunicationDetails:
            type: BackboneElement
            short: '[EP 2.10.3] Other Communication details (cluster) (Optional 0..*)'
            array: true
            index: 90
            elements:
              communicationDetailsType: {type: CodeableConcept, short: '[EP 2.10.3.1] Communication details – Type (Optional 0..*)', array: true, index: 91}
              communicationDetailsValue: {type: string, short: '[EP 2.10.3.2] Communication Details – Value (Optional 0..*)', array: true, index: 92}
        required: [telephoneNumber]
      healthPractitionerRoleAndSpeciality:
        type: BackboneElement
        short: '[EP 2.5] Health practitioner role and speciality (cluster) (Required 0..*)'
        array: true
        index: 73
        elements:
          healthPractitionerRole: {type: CodeableConcept, short: '[EP 2.5.1] Health practitioner role (Required 0..*)', array: true, index: 74}
          healthPractitionerSpecialty: {type: CodeableConcept, short: '[EP 2.5.2] Health practitioner specialty (Optional 0..*)', array: true, index: 75}
      healthPractitionerRegistration:
        type: BackboneElement
        short: '[EP 2.6] Health practitioner registration (cluster) (Mandatory 1..1)'
        index: 76
        elements:
          healthProfessionalBodyRegistrationType: {type: CodeableConcept, short: '[EP 2.6.1] Health Professional body registration – type (Mandatory 1..1)', index: 77}
          healthProfessionalBodyRegistrationValue: {type: string, short: '[EP 2.6.2] Health Professional body registration – value (Mandatory 1..1)', index: 78}
        required: [healthProfessionalBodyRegistrationValue, healthProfessionalBodyRegistrationType]
      healthcareFacilityName: {type: string, short: '[EP 2.7] Healthcare facility name (Required 0..1)', index: 79}
      gmsPanelId: {type: string, short: '[EP 2.12] GMS Panel ID (Optional 0..1)', index: 94}
      nameSuffix: {type: CodeableConcept, short: '[EP 2.4] Name suffix (Optional 0..*)', array: true, index: 72}
    required: [surname, healthPractitionerRegistration, communicationDetails, healthcareFacilityAddress, forename]
  medicationPrescription:
    type: BackboneElement
    short: Section 3. Medication Prescription
    index: 96
    elements:
      electronicPrescriptionIdentifier:
        type: BackboneElement
        short: '[EP 3.1] Electronic prescription identifier (cluster) (Mandatory 1..*)'
        array: true
        min: 1
        index: 97
        elements:
          electronicPrescriptionIdentifierType: {type: CodeableConcept, short: '[EP 3.1.1] Electronic prescription identifier – type (Mandatory 1..1)', index: 98}
          electronicPrescriptionIdentifierValue: {type: string, short: '[EP 3.1.2] Electronic prescription identifier – value (Mandatory 1..1)', index: 99}
        required: [electronicPrescriptionIdentifierValue, electronicPrescriptionIdentifierType]
      dateAndTimeOfIssuingThePrescription: {type: dateTime, short: '[EP 3.2] Date and time of issuing the prescription (Mandatory 1..1)', index: 100}
      prescriptionStatus:
        type: BackboneElement
        short: '[EP 3.3] Prescription Status (cluster) (Mandatory 1..1)'
        index: 101
        elements:
          status: {type: CodeableConcept, short: '[EP 3.3.1] Status (Mandatory 1..1)', index: 102}
          statusReason: {type: CodeableConcept, short: '[EP 3.3.2] Status reason (Required 0..1)', index: 103}
          statusReason2: {type: string, short: '[EP 3.3.3] Status reason (free text) (Optional 0..1)', index: 104}
        required: [status]
      presentedForm: {type: Attachment, short: '[EP 3.4] Presented form (Optional 0..*)', array: true, index: 105}
      prescriptionItem:
        type: BackboneElement
        short: '[EP 3.5] Prescription item (cluster) (Mandatory 1..*)'
        array: true
        min: 1
        index: 106
        elements:
          indicationForPrescriptionItem:
            type: BackboneElement
            short: '[EP 3.5.4] Indication for prescription item (cluster) (Optional 0..*)'
            array: true
            index: 113
            elements:
              indicationForPrescriptionItem: {type: CodeableConcept, short: '[EP 3.5.4.1] Indication for prescription item (Optional 0..*)', array: true, index: 114}
              indicationForPrescriptionItem2: {type: string, short: '[EP 3.5.4.2] Indication for prescription item (free text) (Optional 0..1)', index: 115}
          prescriptionItemIdentifier: {type: string, short: '[EP 3.5.1] Prescription item identifier (Mandatory 1..*)', array: true, min: 1, index: 107}
          dosageInstructions:
            short: '[EP 3.5.8] Dosage instructions (Mandatory 1..1)'
            elementReference: ['https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM', elements, github, elements, io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM#HIQAEPrescriptionLM, elements, dosaging]
            index: 121
          periodOfUse: {type: Period, short: '[EP 3.5.6] Period of use (Required 0..1)', index: 117}
          substitutions:
            type: BackboneElement
            short: '[EP 3.5.10] Substitutions (cluster) (Optional 0..*)'
            array: true
            index: 125
            elements:
              medicinalProductIsInterchangeable: {type: boolean, short: '[EP 3.5.10.1] Medicinal Product is interchangeable (Required 0..1)', index: 126}
              doNotSubstitute: {type: boolean, short: '[EP 3.5.10.2] “Do Not Substitute” (Optional 0..1)', index: 127}
              reasonForNotAllowingSubstitution: {type: string, short: '[EP 3.5.10.3] Reason for not allowing substitution (Required 0..1)', index: 128}
          intendedUseOfPrescriptionItem: {type: CodeableConcept, short: '[EP 3.5.5] Intended use of prescription item (Optional 0..1)', index: 116}
          minimumDispenseInterval: {type: Quantity, short: '[EP 3.5.13] Minimum dispense interval (Required 0..1)', index: 131}
          validityPeriod:
            type: BackboneElement
            short: '[EP 3.5.9] Validity period (cluster) (Required 0..1)'
            index: 122
            elements:
              validityPeriod: {type: Period, short: '[EP 3.5.9.1] Validity period (Required 0..1)', index: 123}
              doNotExtend: {type: boolean, short: '[EP 3.5.9.2] “Do Not Extend” (Optional 0..1)', index: 124}
          prescribedMedicationItem:
            short: '[EP 3.5.3] Prescribed Medication item (Mandatory 1..1)'
            elementReference: ['https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM', elements, github, elements, io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM#HIQAEPrescriptionLM, elements, medication]
            index: 112
          quantityOfPrescriptionItemPrescribed:
            type: BackboneElement
            short: '[EP 3.5.7] Quantity of prescription item prescribed (cluster) (Required 0..1)'
            index: 118
            elements:
              quantityPrescribed: {type: Quantity, short: '[EP 3.5.7.1] Quantity prescribed (Required 0..1)', index: 119}
              quantityPrescribed2: {type: string, short: '[EP 3.5.7.2] Quantity prescribed (free text) (Required 0..1)', index: 120}
          offLabel:
            type: BackboneElement
            short: '[EP 3.5.14] Off label (cluster) (Required 0..*)'
            array: true
            index: 132
            elements:
              offLabelUseInPrescription: {type: boolean, short: '[EP 3.5.14.1] Off label use in prescription (Mandatory 1..1)', index: 133}
              reasonForOffLabelUse:
                type: BackboneElement
                short: '[EP 3.5.14.2] Reason for off label use (cluster) (Required 0..*)'
                array: true
                index: 134
                elements:
                  reasonForOffLabelUse: {type: CodeableConcept, short: '[EP 3.5.14.2.1] Reason for off label use (Required 0..1)', index: 135}
                  reasonForOffLabelUse2: {type: string, short: '[EP 3.5.14.2.2] Reason for off label use (free text) (Optional 0..1)', index: 136}
            required: [offLabelUseInPrescription]
          prescriptionItemStatus:
            type: BackboneElement
            short: '[EP 3.5.2] Prescription item status (cluster) (Mandatory 1..1)'
            index: 108
            elements:
              prescriptionItemStatus: {type: CodeableConcept, short: '[EP 3.5.2.1] Prescription item status (Mandatory 1..1)', index: 109}
              prescriptionItemStatusReason: {type: CodeableConcept, short: '[EP 3.5.2.2] Prescription item status reason (Required 0..1)', index: 110}
              prescriptionItemStatusReason2: {type: string, short: '[EP 3.5.2.3] Prescription item status reason (free text) (Optional 0..1)', index: 111}
            required: [prescriptionItemStatus]
          numberOfInstalments: {type: string, short: '[EP 3.5.12] Number of instalments (Required 0..1)', index: 130}
          repeatsOfPrescriptionItemAllowed: {type: string, short: '[EP 3.5.11] Repeats of prescription item allowed (Optional 0..1)', index: 129}
        required: [prescriptionItemIdentifier, prescribedMedicationItem, prescriptionItemStatus, dosageInstructions]
      notes:
        type: BackboneElement
        short: 3.6 Notes (heading not numbered in the source)
        index: 137
        elements:
          note: {type: string, short: '[EP 3.6.1] Note (Optional 0..*)', array: true, index: 138}
    required: [electronicPrescriptionIdentifier, dateAndTimeOfIssuingThePrescription, prescriptionStatus, prescriptionItem]
  medication:
    type: BackboneElement
    short: Section 4. Medication
    index: 139
    elements:
      medicationItemIdentifier: {type: string, short: '[EP 4.1] Medication item identifier (Required 0..*)', array: true, index: 140}
      manufacturerMarketingAuthorisationHolder:
        type: BackboneElement
        short: '[EP 4.4] Manufacturer/ Marketing authorisation holder (cluster) (Optional 0..1)'
        index: 149
        elements:
          manufacturerMarketingAuthorisationHolderName: {type: CodeableConcept, short: '[EP 4.4.1] Manufacturer/ Marketing authorisation holder name (Optional 0..1)', index: 150}
          manufacturerMarketingAuthorisationHolderIdentifi: {type: string, short: '[EP 4.4.2] Manufacturer/ Marketing authorisation holder identifier (Optional 0..*)', array: true, index: 151}
      doseFormType: {type: CodeableConcept, short: '[EP 4.5] Dose form (type) (Required 0..1)', index: 152}
      classification:
        type: BackboneElement
        short: '[EP 4.2] Classification (cluster) (Required 0..*)'
        array: true
        index: 141
        elements:
          anatomicalTherapeuticChemicalAtcClassification: {type: CodeableConcept, short: '[EP 4.2.1] Anatomical Therapeutic Chemical (ATC) Classification (Required 0..*)', array: true, index: 142}
          supplyLegalStatus: {type: CodeableConcept, short: '[EP 4.2.2] Supply Legal Status (Required 0..1)', index: 143}
          misuseOfDrugsActMdaSchedule: {type: CodeableConcept, short: '[EP 4.2.3] Misuse of Drugs Act (MDA) Schedule (Required 0..1)', index: 144}
          otherClassificationGroup: {type: string, short: '[EP 4.2.4] Other classification group (Optional 0..*)', array: true, index: 145}
      batch:
        type: BackboneElement
        short: '[EP 4.10] Batch (cluster) (Required 0..1)'
        index: 179
        elements:
          batchLotNumber: {type: string, short: '[EP 4.10.1] Batch Lot number (Required 0..1)', index: 180}
          batchExpirationDate: {type: date, short: '[EP 4.10.2] Batch expiration date (Required 0..1)', index: 181}
      exemptMedicationItem: {type: boolean, short: '[EP 4.11] Exempt medication item (Required 0..1)', index: 182}
      medicationProductName:
        type: BackboneElement
        short: '[EP 4.3] Medication product name (cluster) (Required 0..1)'
        index: 146
        elements:
          medicationProductName: {type: CodeableConcept, short: '[EP 4.3.1] Medication product name (coded) (Required 0..1)', index: 147}
          medicationProductName2: {type: string, short: '[EP 4.3.2] Medication product name (free text) (Optional 0..1)', index: 148}
      characteristics:
        type: BackboneElement
        short: '[EP 4.9] Characteristics (cluster) (Optional 0..*)'
        array: true
        index: 169
        elements:
          characteristicType: {type: CodeableConcept, short: '[EP 4.9.1] Characteristic type (Mandatory 1..1)', index: 170}
          characteristicValue:
            type: BackboneElement
            short: '[EP 4.9.2] Characteristic value (cluster) (Optional 0..1)'
            index: 171
            elements:
              characteristicValue: {type: CodeableConcept, short: '[EP 4.9.2.1] Characteristic value (coded) (Optional 0..1)', index: 172}
              characteristicValueQuantity: {type: Quantity, short: '[EP 4.9.2.2] Characteristic value (quantity) (Optional 0..1)', index: 173}
              characteristicValueDatetime: {type: dateTime, short: '[EP 4.9.2.3] Characteristic value (datetime) (Optional 0..1)', index: 174}
              characteristicValueInteger: {type: integer, short: '[EP 4.9.2.4] Characteristic value (integer) (Optional 0..1)', index: 175}
              characteristicValueDecimal: {type: decimal, short: '[EP 4.9.2.5] Characteristic value (decimal) (Optional 0..1)', index: 176}
              characteristicValueRatio: {type: Ratio, short: '[EP 4.9.2.6] Characteristic value (ratio) (Optional 0..1)', index: 177}
              characteristicValue2: {type: string, short: '[EP 4.9.2.7] Characteristic value (free text) (Optional 0..1)', index: 178}
        required: [characteristicType]
      descriptionOfMedicinalProduct: {type: string, short: '[EP 4.6] Description of medicinal product (Optional 0..1)', index: 153}
      device:
        type: BackboneElement
        short: '[EP 4.8] Device (cluster) (Optional 0..*)'
        array: true
        index: 166
        elements:
          deviceType: {type: CodeableConcept, short: '[EP 4.8.1] Device type (Mandatory 1..1)', index: 167}
          deviceQuantityValue: {type: string, short: '[EP 4.8.2] Device quantity value (Mandatory 1..1)', index: 168}
        required: [deviceQuantityValue, deviceType]
      medicationItem:
        type: BackboneElement
        short: '[EP 4.7] Medication item (cluster) (Required 0..*)'
        array: true
        index: 154
        elements:
          medicationItemDoseForm: {type: CodeableConcept, short: '[EP 4.7.1] Medication item Dose form (Required 0..1)', index: 155}
          ingredientInMedicationItem:
            type: BackboneElement
            short: '[EP 4.7.2] Ingredient in medication item (cluster) (Mandatory 1..*)'
            array: true
            min: 1
            index: 156
            elements:
              ingredientIsActive: {type: boolean, short: '[EP 4.7.2.1] Ingredient is active (Required 0..1)', index: 157}
              activeIngredientSubstance: {type: CodeableConcept, short: '[EP 4.7.2.2] Active ingredient/ Substance (Mandatory 1..1)', index: 158}
              strengthInformation:
                type: BackboneElement
                short: '[EP 4.7.2.3] Strength information (cluster) (Required 0..*)'
                array: true
                index: 159
                elements:
                  strength: {type: Ratio, short: '[EP 4.7.2.3.1] Strength (Mandatory 1..1)', index: 160}
                  basisOfStrengthSubstance: {type: CodeableConcept, short: '[EP 4.7.2.3.2] Basis of strength substance (Required 0..1)', index: 161}
                required: [strength]
            required: [activeIngredientSubstance]
          unitOfPresentation: {type: CodeableConcept, short: '[EP 4.7.3] Unit of presentation (Optional 0..1)', index: 162}
          containedQuantity: {type: Ratio, short: '[EP 4.7.4] Contained quantity (Optional 0..1)', index: 163}
          packSizeOrAmount: {type: Quantity, short: '[EP 4.7.5] Pack size or Amount (Optional 0..1)', index: 164}
          packageType: {type: CodeableConcept, short: '[EP 4.7.6] Package type (Optional 0..1)', index: 165}
        required: [ingredientInMedicationItem]
  dosaging:
    type: BackboneElement
    short: Section 5. Dosaging
    index: 183
    elements:
      renderedDosageInstruction: {type: string, short: '[EP 5.1] Rendered dosage instruction (Optional 0..1)', index: 184}
      dosageDetails:
        type: BackboneElement
        short: '[EP 5.2] Dosage details (cluster) (Required 0..*)'
        array: true
        index: 185
        elements:
          sequenceIfMoreThanOneDosagingSchemeExists: {type: integer, short: '[EP 5.2.1] Sequence (if more than one dosaging scheme exists) (Optional 0..1)', index: 186}
          noteForPatient: {type: string, short: '[EP 5.2.2] Note for patient (Required 0..1)', index: 187}
          doseAndRate:
            type: BackboneElement
            short: '[EP 5.2.3] Dose and rate (cluster) (Required 0..*)'
            array: true
            index: 188
            elements:
              doseOfMedicationItem:
                type: BackboneElement
                short: '[EP 5.2.3.1] Dose of medication item (cluster) (Required 0..1)'
                index: 189
                elements:
                  doseOfMedicationItemQuantity: {type: Quantity, short: '[EP 5.2.3.1.1] Dose of medication item - quantity (Required 0..1)', index: 190}
                  doseOfMedicationItemRange: {type: Range, short: '[EP 5.2.3.1.2] Dose of medication item - range (Required 0..1)', index: 191}
              rateOfAdministration:
                type: BackboneElement
                short: '[EP 5.2.3.2] Rate of administration (cluster) (Optional 0..1)'
                index: 192
                elements:
                  rateOfAdministrationQuantity: {type: Quantity, short: '[EP 5.2.3.2.1] Rate of administration - quantity (Optional 0..1)', index: 193}
                  rateOfAdministrationRatio: {type: Ratio, short: '[EP 5.2.3.2.2] Rate of administration - ratio (Optional 0..1)', index: 194}
          repeatAdministrationOfMedicationItem:
            type: BackboneElement
            short: '[EP 5.2.4] Repeat administration of medication item (cluster) (Required 0..1)'
            index: 195
            elements:
              timeBounds:
                type: BackboneElement
                short: '[EP 5.2.4.1] Time bounds (cluster) (Optional 0..1)'
                index: 196
                elements:
                  timeBoundsQuantity: {type: Quantity, short: '[EP 5.2.4.1.1] Time bounds - quantity (Optional 0..1)', index: 197}
                  timeBoundsPeriod: {type: Period, short: '[EP 5.2.4.1.2] Time bounds - period (Optional 0..1)', index: 198}
              durationOfAdministration: {type: Quantity, short: '[EP 5.2.4.2] Duration of administration (Optional 0..1)', index: 199}
              frequency:
                type: BackboneElement
                short: '[EP 5.2.4.3] Frequency (cluster) (Required 0..1)'
                index: 200
                elements:
                  frequencyOfAdministration: {type: integer, short: '[EP 5.2.4.3.1] Frequency of administration (Mandatory 1..1)', index: 201}
                  period: {type: Quantity, short: '[EP 5.2.4.3.2] Period (Mandatory 1..1)', index: 202}
                required: [frequencyOfAdministration, period]
              dayOfTheWeek: {type: CodeableConcept, short: '[EP 5.2.4.4] Day of the week (Optional 0..*)', array: true, index: 203}
              timeOfTheDay: {type: time, short: '[EP 5.2.4.5] Time of the day (Optional 0..*)', array: true, index: 204}
              eventOrTimePeriodForAdministration: {type: CodeableConcept, short: '[EP 5.2.4.6] Event or time period for administration (Optional 0..*)', array: true, index: 205}
          administerAsNeeded: {type: boolean, short: '[EP 5.2.5] Administer as needed (Optional 0..1)', index: 206}
          bodySiteOrStructure:
            type: BackboneElement
            short: '[EP 5.2.6] Body site or structure (cluster) (Optional 0..*)'
            array: true
            index: 207
            elements:
              morphology: {type: CodeableConcept, short: '[EP 5.2.6.1] Morphology (Optional 0..1)', index: 208}
              bodySiteLocation: {type: CodeableConcept, short: '[EP 5.2.6.2] Body site location (Optional 0..1)', index: 209}
              bodySiteLocationQualifier: {type: CodeableConcept, short: '[EP 5.2.6.3] Body site location qualifier (Optional 0..*)', array: true, index: 210}
              laterality: {type: CodeableConcept, short: '[EP 5.2.6.4] Laterality (Optional 0..1)', index: 211}
              description: {type: string, short: '[EP 5.2.6.5] Description (free text) (Optional 0..1)', index: 212}
          routeOfAdministration: {type: CodeableConcept, short: '[EP 5.2.7] Route of administration (Required 0..1)', index: 213}
  medicationDispense:
    type: BackboneElement
    short: Section 6. Medication Dispense
    index: 214
    elements:
      dispensedQuantityValue: {type: Quantity, short: '[EP 6.7] Dispensed quantity value (Mandatory 1..1)', index: 249}
      dosageInstructions:
        short: '[EP 6.11] Dosage instructions (Required 0..1)'
        elementReference: ['https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM', elements, github, elements, io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM#HIQAEPrescriptionLM, elements, dosaging]
        index: 253
      timeOfDispensation: {type: time, short: '[EP 6.9] Time of dispensation (Required 0..1)', index: 251}
      substitutionOccurred: {type: boolean, short: '[EP 6.10] Substitution occurred (Optional 0..1)', index: 252}
      prescriptionItemIdentifierWithRelatedRequest: {type: string, short: '[EP 6.5] Prescription item identifier with related request (Required 0..1)', index: 247}
      status:
        type: BackboneElement
        short: '[EP 6.3] Status (cluster) (Mandatory 1..*)'
        array: true
        min: 1
        index: 217
        elements:
          dispensationStatus: {type: CodeableConcept, short: '[EP 6.3.1] Dispensation Status (Mandatory 1..1)', index: 218}
          dispensationStatusReason:
            type: BackboneElement
            short: '[EP 6.3.2] Dispensation Status Reason (cluster) (Optional 0..1)'
            index: 219
            elements:
              statusReason: {type: CodeableConcept, short: '[EP 6.3.2.1] Status reason (Optional 0..1)', index: 220}
              statusReason2: {type: string, short: '[EP 6.3.2.2] Status reason (free text) (Optional 0..1)', index: 221}
        required: [dispensationStatus]
      dispensedMedication:
        short: '[EP 6.6] Dispensed medication (Mandatory 1..1)'
        elementReference: ['https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM', elements, github, elements, io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM#HIQAEPrescriptionLM, elements, medication]
        index: 248
      additionalInformation: {type: string, short: '[EP 6.12] Additional information (Optional 0..*)', array: true, index: 254}
      dateAndTimeOfIssuingTheDispenseRecord: {type: dateTime, short: '[EP 6.2] Date and time of issuing the dispense record (Mandatory 1..1)', index: 216}
      receiverOfTheMedicationItem:
        type: BackboneElement
        short: '[EP 6.4] Receiver of the medication item (cluster) (Optional 0..*)'
        array: true
        index: 222
        elements:
          patientIsTheReceiver:
            short: '[EP 6.4.1] Patient is the receiver (Optional 0..1)'
            refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
            type: Reference
            index: 223
          healthPractitionerIsTheReceiver:
            short: '[EP 6.4.2] Health practitioner is the receiver (Optional 0..1)'
            refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole']
            type: Reference
            index: 224
          relatedPersonIsTheReceiver:
            type: BackboneElement
            short: '[EP 6.4.3] Related person is the receiver (cluster) (Optional 0..1)'
            index: 225
            elements:
              relationshipToThePatient: {type: CodeableConcept, short: '[EP 6.4.3.7] Relationship to the patient (Optional 0..1)', index: 236}
              nameTitle: {type: CodeableConcept, short: '[EP 6.4.3.1] Name title (Optional 0..*)', array: true, index: 226}
              forenameOfReceiver: {type: string, short: '[EP 6.4.3.2] Forename of receiver (Optional 0..1)', index: 227}
              surnameOfReceiver: {type: string, short: '[EP 6.4.3.3] Surname of receiver (Optional 0..1)', index: 228}
              communicationDetailsForReceiverRelatedPerson:
                type: BackboneElement
                short: '[EP 6.4.3.9] Communication details for receiver (related person) (cluster) (Optional 0..1)'
                index: 243
                elements:
                  mobilePhoneNumberOfReceiver: {type: string, short: '[EP 6.4.3.9.1] Mobile phone number of receiver (Optional 0..1)', index: 244}
                  landlinePhoneNumberOfReceiver: {type: string, short: '[EP 6.4.3.9.2] Landline phone number of receiver (Optional 0..1)', index: 245}
                  emailAddressOfReceiver: {type: string, short: '[EP 6.4.3.9.3] Email address of receiver (Optional 0..1)', index: 246}
              receiverRelatedPersonPersonalIdentifier:
                type: BackboneElement
                short: '[EP 6.4.3.5] Receiver (related person) personal identifier (cluster) (Optional 0..*)'
                array: true
                index: 230
                elements:
                  receiverPersonalIdentifierType: {type: CodeableConcept, short: '[EP 6.4.3.5.1] Receiver personal identifier - type (Optional 0..1)', index: 231}
                  receiverPersonalIdentifierValue: {type: string, short: '[EP 6.4.3.5.2] Receiver personal identifier - value (Optional 0..1)', index: 232}
                  receiverPersonalIdentifierTimePeriod: {type: Period, short: '[EP 6.4.3.5.3] Receiver personal identifier - time period (Optional 0..1)', index: 233}
                  organisationWhoIssuedTheReceiverSRelatedPersonPe: {type: string, short: '[EP 6.4.3.5.4] Organisation who issued the Receiver’s (related person) personal identifier (Optional 0..1)', index: 234}
              roleOfReceiverRelatedPerson: {type: CodeableConcept, short: '[EP 6.4.3.6] Role of receiver (related person) (Optional 0..1)', index: 235}
              nameSuffix: {type: CodeableConcept, short: '[EP 6.4.3.4] Name suffix (Optional 0..*)', array: true, index: 229}
              addressForReceiverRelatedPerson:
                type: BackboneElement
                short: '[EP 6.4.3.8] Address for receiver (related person) (cluster) (Optional 0..1)'
                index: 237
                elements:
                  postcode: {type: string, short: '[EP 6.4.3.8.1] Postcode (Optional 0..1)', index: 238}
                  addressLineS: {type: string, short: '[EP 6.4.3.8.2] Address line(s) (Optional 0..1)', index: 239}
                  suburbTownTownlandLocality: {type: string, short: '[EP 6.4.3.8.3] Suburb/Town/ Townland/ Locality (Optional 0..1)', index: 240}
                  districtCounty: {type: CodeableConcept, short: '[EP 6.4.3.8.4] District/ County (Optional 0..1)', index: 241}
                  country: {type: CodeableConcept, short: '[EP 6.4.3.8.5] Country (Optional 0..1)', index: 242}
      dispensationIdentifier: {type: string, short: '[EP 6.1] Dispensation identifier (Required 0..*)', array: true, index: 215}
      dateOfDispensation: {type: dateTime, short: '[EP 6.8] Date of dispensation (Mandatory 1..1)', index: 250}
    required: [dateAndTimeOfIssuingTheDispenseRecord, dateOfDispensation, dispensedQuantityValue, status, dispensedMedication]
package_version: 0.2.0
class: logical
kind: logical
url: https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/HIQAEPrescriptionLM
base: http://hl7.org/fhir/StructureDefinition/Base
version: 0.2.0