PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.r4.zib2020@0.1.0-beta1
    http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest
description: The dispense request is the request of a prescriber to the pharmacist to dispense medication(s) to the patient to support current medication agreements. The prescriber asks them to dispense a certain amount of medicine or to dispense medicine(s) for a period of use.
package_name: nictiz.fhir.nl.r4.zib2020
derivation: constraint
name: ZibDispenseRequest
abstract: true
type: MedicationRequest
elements:
  category:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        dispenseRequestCode:
          match:
            coding:
            - {code: '52711000146108', system: 'http://snomed.info/sct'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '52711000146108', system: 'http://snomed.info/sct'}
            _required: true
            index: 5
          min: 1
          max: 1
  dispenseRequest:
    extensions:
      dispenseLocation: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.DispenseLocation', min: 0, max: 1, type: Extension, index: 16}
      periodOfUse-Duration:
        url: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval-Duration
        type: Extension
        index: 17
        elements:
          value:
            short: Duration / PeriodOfUse
            choices: []
            index: 19
    elements:
      extension:
        index: 15
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            dispenseLocation:
              match: {url: null}
              schema: {type: Extension, url: 'http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.DispenseLocation', index: 16}
              min: 0
              max: 1
            periodOfUse-Duration:
              match: {url: null}
              schema:
                type: Extension
                url: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval-Duration
                index: 17
                elements:
                  value:
                    short: Duration / PeriodOfUse
                    choices: []
                    index: 19
      validityPeriod: {type: Period, short: PeriodOfUse, index: 20}
      numberOfRepeatsAllowed: {short: NumberOfRefills, index: 21}
      quantity: {type: Quantity, short: Amount, index: 22}
  authoredOn: {short: DispenseRequestDate, index: 11}
  note:
    index: 13
    elements:
      text: {short: Comment, index: 14}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        additionalWishes:
          match: {url: null}
          schema: {type: Extension, url: 'http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.AdditionalWishes', index: 1}
          min: 0
  status: {index: 2}
  intent: {index: 3}
  medicationReference:
    short: MedicineToBeDispensed
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/zib-PharmaceuticalProduct']
    type: Reference
    choiceOf: medication
    index: 10
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: MedicineToBeDispensed
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/zib-PharmaceuticalProduct']
            type: Reference
            choiceOf: medication
            index: 10
  performer:
    type: Reference
    short: IntendedSupplier
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://nictiz.nl/fhir/StructureDefinition/zib-HealthcareProvider-Organization']
    index: 12
  medication:
    choices: []
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            short: MedicineToBeDispensed
            choices: [medicationReference]
            index: 9
package_version: 0.1.0-beta1
extensions:
  additionalWishes: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.AdditionalWishes', min: 0, type: Extension, index: 1}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: null
required: [category]