PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.hdr@0.1.0-ballot
    http://hl7.eu/fhir/hdr/StructureDefinition/medicationRequest-eu-hdr
description: This profile constrains the MedicationRequest resource for the purpose of this guide, adapted from the MPD work.
package_name: hl7.fhir.eu.hdr
derivation: constraint
name: MedicationRequestEuHdr
type: MedicationRequest
elements:
  dispenseRequest:
    extensions:
      prescribedQuantity: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity', min: 0, max: 1, type: Extension, short: 'Overall amount of product prescribed, independent from the number of repeats.', index: 29}
    elements:
      extension:
        index: 28
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            prescribedQuantity:
              match: {url: null}
              schema: {type: Extension, short: 'Overall amount of product prescribed, independent from the number of repeats.', url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity', index: 29}
              min: 0
              max: 1
  reasonCode: {short: Reason or indication for this prescription, index: 11}
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 6}
  authoredOn: {index: 9}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        effectiveDosePeriod:
          match: {url: null}
          schema: {type: Extension, short: Period over which the medication should be taken., url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod', index: 1}
          min: 0
          max: 1
  requester: {index: 10}
  status: {short: Current state of the order, index: 3}
  dosageInstruction:
    short: How the medication should be taken.
    index: 14
    elements:
      text: {short: Free text dosage instructions, index: 15}
      timing:
        short: Administration schedule
        index: 16
        elements:
          repeat:
            elements:
              duration: {short: Duration of the treatment, index: 17}
              frequency: {short: Frequency times per period, index: 18}
              period: {short: Duration of time over which repetitions are to occur, index: 19}
              periodUnit: {short: Unit of the period (e.g. day), index: 20}
          code: {short: A code for the timing schedule., index: 21}
      route: {short: Route of administration, index: 22}
      doseAndRate:
        elements:
          dose:
            choices: []
            index: 24
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    choices: [doseQuantity]
                    index: 26
                  min: 0
                  max: 1
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 27
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 27}
                  min: 0
                  max: 1
  groupIdentifier: {short: Prescription this is part of. Not needed if a presciption includes only one prescribed item., index: 13}
  identifier: {short: Prescription/prescribed item ID, index: 2}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/medication-eu-hdr']
    index: 7
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core']
    index: 8
  medication:
    choices: [medicationCodeableConcept, medicationReference]
    index: 5
  reasonReference: {short: Condition or observation that supports this prescription, index: 12}
package_version: 0.1.0-ballot
extensions:
  effectiveDosePeriod: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod', min: 0, max: 1, type: Extension, short: Period over which the medication should be taken., index: 1}
class: profile
kind: resource
url: http://hl7.eu/fhir/hdr/StructureDefinition/medicationRequest-eu-hdr
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 0.1.0-ballot
required: [authoredOn, requester]