PackagesCanonicalsLogsProblems
    Packages
    rs/ihe.pharm.mpd@1.0.0-comment-2
    https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrder
description: IHE Medication Order profile
package_name: rs/ihe.pharm.mpd
derivation: constraint
name: IHEMedicationOrder
type: MedicationRequest
elements:
  category: {mustSupport: true, index: 6}
  substitution: {mustSupport: true, index: 33}
  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: 31}
    elements:
      extension:
        index: 30
        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: 31}
              min: 0
              max: 1
      validityPeriod: {mustSupport: true, index: 32}
  statusReason: {mustSupport: true, index: 5}
  authoredOn: {mustSupport: true, index: 9}
  effectiveDosePeriod: {mustSupport: true, index: 14}
  note: {mustSupport: true, index: 13}
  reason: {mustSupport: true, index: 12}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        offLabel:
          match: {url: null}
          schema: {type: Extension, 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 product.', url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-offLabel', index: 1}
          min: 0
          max: 1
  requester: {index: 10}
  status: {short: Status of the order, mustSupport: true, index: 4}
  dosageInstruction:
    short: How the medication should be taken.
    mustSupport: true
    index: 15
    elements:
      text: {short: Free text dosage instructions, index: 16}
      patientInstruction: {mustSupport: true, index: 17}
      timing:
        short: Administration schedule
        index: 18
        elements:
          repeat:
            elements:
              duration: {short: Duration of the treatment, index: 19}
              frequency: {short: Frequency times per period, index: 20}
              period: {short: Duration of time over which repetitions are to occur, index: 21}
              periodUnit: {short: Unit of the period (e.g. day), index: 22}
          code: {short: A code for the timing schedule., index: 23}
      route: {short: Route of administration, index: 24}
      doseAndRate:
        elements:
          dose:
            choices: []
            index: 26
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    choices: [doseQuantity]
                    index: 28
                  min: 0
                  max: 1
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 29
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 29}
                  min: 0
                  max: 1
  groupIdentifier: {short: Prescription this is part of. Not needed if a presciption includes only one prescribed item., mustSupport: true, index: 3}
  recorder: {mustSupport: true, index: 11}
  identifier: {short: Prescription/prescribed item ID, index: 2}
  subject: {mustSupport: true, index: 8}
  medication: {type: CodeableReference, mustSupport: true, index: 7}
package_version: 1.0.0-comment-2
extensions:
  offLabel: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-offLabel', min: 0, max: 1, type: Extension, 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 product.', index: 1}
class: profile
kind: resource
url: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrder
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.0.0-comment-2
required: [authoredOn, requester]