PackagesCanonicalsLogsProblems
    Packages
    nostalgic-ie.fhir.core@0.2.0
    https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-medicationrequest-eprescription
description: One prescription item of an Irish electronic prescription (HIQA EP Section 3), derived from the HL7 Europe MPD MedicationRequest. A multi-item prescription is a set of MedicationRequests sharing groupIdentifier, exchanged in an IECoreBundleEPrescription together with the patient, prescriber and the allergy statement.
package_name: nostalgic-ie.fhir.core
derivation: constraint
name: IECoreMedicationRequestEPrescription
type: MedicationRequest
elements:
  category: {mustSupport: true, index: 8}
  substitution:
    mustSupport: true
    index: 45
    elements:
      allowed:
        mustSupport: true
        choices: []
        index: 47
      reason: {mustSupport: true, index: 48}
  dispenseRequest:
    mustSupport: true
    index: 37
    extensions:
      prescribedQuantity: {url: null, mustSupport: true, index: 38}
      numberOfInstalments: {url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-number-of-instalments', min: 0, max: 1, type: Extension, mustSupport: true, index: 39}
      doNotExtend: {url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-do-not-extend', min: 0, max: 1, type: Extension, index: 40}
    elements:
      extension:
        mustSupport: true
        index: 38
        slicing:
          slices:
            prescribedQuantity:
              match: {}
              schema: {mustSupport: true, index: 38}
            numberOfInstalments:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-number-of-instalments', index: 39}
              min: 0
              max: 1
            doNotExtend:
              match: {}
              schema: {type: Extension, url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-do-not-extend', index: 40}
              min: 0
              max: 1
      dispenseInterval: {mustSupport: true, index: 41}
      validityPeriod: {mustSupport: true, index: 42}
      numberOfRepeatsAllowed: {mustSupport: true, index: 43}
      quantity: {mustSupport: true, index: 44}
    required: [quantity]
  reasonCode: {mustSupport: true, index: 16}
  statusReason: {mustSupport: true, index: 6}
  authoredOn: {mustSupport: true, index: 14}
  note: {mustSupport: true, index: 19}
  extension:
    mustSupport: true
    index: 0
    slicing:
      slices:
        offLabelUse:
          match: {}
          schema: {mustSupport: true, index: 0}
        effectiveDosePeriod:
          match: {}
          schema: {mustSupport: true, index: 1}
        ageAtPrescribing:
          match: {}
          schema: {short: Patient age at prescribing (a legal requirement if under 12), type: Extension, mustSupport: true, url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing', index: 2}
          min: 0
          max: 1
        quantityInWordsAndFigures:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-quantity-in-words-and-figures', index: 3}
          min: 0
          max: 1
  requester:
    type: Reference
    mustSupport: true
    refers: ['https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-practitioner', 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-practitionerrole']
    index: 15
  supportingInformation: {mustSupport: true, index: 13}
  status: {mustSupport: true, index: 5}
  dosageInstruction:
    constraint:
      ie-rx-dosage-1: {human: A structured dosage SHALL be accompanied by a human-readable dosage text (safety fallback; HIQA EP 5.1 / 5.2), source: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-medicationrequest-eprescription', severity: error, expression: (timing.exists() or doseAndRate.exists()) implies text.exists()}
    mustSupport: true
    index: 20
    elements:
      site: {index: 31}
      asNeeded:
        choices: []
        index: 30
      patientInstruction: {mustSupport: true, index: 24}
      route: {mustSupport: true, index: 32}
      timing:
        mustSupport: true
        index: 25
        elements:
          repeat:
            elements:
              frequency: {mustSupport: true, index: 26}
              period: {mustSupport: true, index: 27}
              periodUnit: {mustSupport: true, index: 28}
      additionalInstruction: {mustSupport: true, index: 23}
      sequence: {index: 21}
      maxDosePerPeriod: {mustSupport: true, index: 36}
      doseAndRate:
        mustSupport: true
        index: 33
        elements:
          dose:
            mustSupport: true
            choices: []
            index: 35
      text: {mustSupport: true, index: 22}
    required: [text]
  groupIdentifier: {mustSupport: true, index: 17}
  identifier: {mustSupport: true, index: 4}
  intent:
    pattern: {type: Code, value: order}
    index: 7
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-medication-eprescription']
    index: 11
  courseOfTherapyType: {mustSupport: true, index: 18}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-eprescription']
    index: 12
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 10
package_version: 0.2.0
extensions:
  offLabelUse: {url: null, mustSupport: true, index: 0}
  effectiveDosePeriod: {url: null, mustSupport: true, index: 1}
  ageAtPrescribing: {url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing', min: 0, max: 1, short: Patient age at prescribing (a legal requirement if under 12), type: Extension, mustSupport: true, index: 2}
  quantityInWordsAndFigures: {url: 'https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-quantity-in-words-and-figures', min: 0, max: 1, type: Extension, mustSupport: true, index: 3}
class: profile
kind: resource
url: https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-medicationrequest-eprescription
base: http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd
version: 0.2.0
required: [dosageInstruction, identifier, dispenseRequest]