PackagesCanonicalsLogsProblems
    Packages
    myhealth.eu.fhir.epd@1.0.0-poc
    http://fhir.ehdsi.eu/epd/StructureDefinition/MedicationRequest-myhealtheu-epd
description: This profile defines how to represent MedicationRequest in HL7 FHIR for the purpose of this guide.
package_name: myhealth.eu.fhir.epd
derivation: constraint
name: MedicationRequestMyHealthEuEpd
type: MedicationRequest
elements:
  substitution:
    elements:
      allowed:
        choices: []
        index: 19
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            allowedBoolean:
              match: {}
              schema:
                choices: [allowedBoolean]
                index: 21
              min: 0
              max: 1
      allowedBoolean:
        type: boolean
        choiceOf: allowed
        index: 22
        slicing:
          slices:
            allowedBoolean:
              match: {}
              schema: {type: boolean, choiceOf: allowed, index: 22}
              min: 0
              max: 1
  dispenseRequest:
    extensions:
      prescribedQuantity: {url: null, min: 1, _required: true, index: 16}
    elements:
      extension:
        index: 15
        slicing:
          slices:
            prescribedQuantity:
              match: {}
              schema: {_required: true, index: 16}
              min: 1
      validityPeriod: {index: 17}
    required: [extension]
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 4}
  authoredOn: {index: 7}
  note: {short: Additional information or comments., index: 10}
  extension:
    index: 0
    slicing:
      slices:
        effectiveDosePeriod:
          match: {}
          schema: {index: 0}
  requester:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core']
    index: 8
  dosageInstruction:
    index: 11
    elements:
      doseAndRate:
        elements:
          dose:
            short: Amount of medication per dose (range)
            choices: [doseRange]
            index: 13
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema:
                    short: Amount of medication per dose (range)
                    choices: [doseRange]
                    index: 13
                  min: 0
                  max: 1
          doseRange:
            type: Range
            short: Amount of medication per dose (range)
            choiceOf: dose
            index: 14
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema: {type: Range, short: Amount of medication per dose (range), choiceOf: dose, index: 14}
                  min: 0
                  max: 1
  groupIdentifier: {short: Id of the prescription this is part of. Not needed if a presciption includes only one prescribed item, index: 9}
  identifier: {short: Prescription/prescribed item ID, index: 1}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://fhir.ehdsi.eu/epd/StructureDefinition/medication-myhealtheu-epd']
    index: 5
  subject: {index: 6}
  medication:
    choices: [medicationCodeableConcept, medicationReference]
    index: 3
package_version: 1.0.0-poc
extensions:
  effectiveDosePeriod: {url: null, index: 0}
class: profile
kind: resource
url: http://fhir.ehdsi.eu/epd/StructureDefinition/MedicationRequest-myhealtheu-epd
base: http://fhir.ehdsi.eu/core/StructureDefinition/medicationRequest-myhealtheu-core
version: 1.0.0-poc
required: [authoredOn, requester, identifier]