PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@2.2.7
    http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest
description: 'This profile is based on the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) DispenseRequest version 1.0.1, year 2017. 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.stu3.zib2017
derivation: constraint
name: Zib DispenseRequest
type: MedicationRequest
elements:
  category:
    index: 6
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            DispenseRequestCode:
              match: {code: '52711000146108'}
              schema:
                short: DispenseRequestCode
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 9
                  code:
                    pattern: {type: Code, value: '52711000146108'}
                    index: 10
  dispenseRequest:
    short: DisenseRequest
    index: 24
    extensions:
      dispenseLocation: {url: h, max: 1, short: DispenseLocation, type: Extension, index: 26}
    elements:
      extension:
        index: 25
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            dispenseLocation:
              match: {url: null}
              schema: {short: DispenseLocation, type: Extension, url: h, index: 26}
              max: 1
      validityPeriod:
        short: PeriodOfUse
        index: 27
        elements:
          start: {short: StartDate, index: 28}
          end: {short: EndDate, index: 29}
      numberOfRepeatsAllowed: {short: NumberOfRefills, index: 30}
      quantity: {short: Amount, index: 31}
      expectedSupplyDuration: {short: Duration, index: 32}
      performer: {short: IntendedSupplier, index: 33}
  authoredOn: {short: DispenseRequestDate, index: 14}
  note: {short: Comment, index: 22}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        additionalWishes:
          match: {url: null}
          schema:
            type: Extension
            short: AdditionalWishes
            url: h
            index: 1
            elements:
              valueCodeableConcept:
                index: 2
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 2}
        medicationTreatment:
          match: {url: null}
          schema: {short: Medication Treatment, type: Extension, url: h, index: 3}
          max: 1
  requester:
    elements:
      agent:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson', 'http://hl7.org/fhir/StructureDefinition/Device']
        index: 15
        extensions:
          practitionerRole: {url: h, max: 1, type: Extension, index: 17}
        elements:
          extension:
            index: 16
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                practitionerRole:
                  match: {url: null}
                  schema: {type: Extension, url: h, index: 17}
                  max: 1
      onBehalfOf:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
        index: 18
  dosageInstruction: {index: 23}
  recorder:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner']
    index: 19
    extensions:
      practitionerRole: {url: h, max: 1, type: Extension, index: 21}
    elements:
      extension:
        index: 20
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            practitionerRole:
              match: {url: null}
              schema: {type: Extension, url: h, index: 21}
              max: 1
  identifier: {index: 4}
  context:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare', 'http://nictiz.nl/fhir/StructureDefinition/zib-Encounter']
    index: 13
  intent:
    pattern: {type: Code, value: order}
    index: 5
  medicationReference:
    short: MedicineToBeDispensed
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product']
    type: Reference
    index: 11
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: MedicineToBeDispensed
            refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product']
            type: Reference
            index: 11
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 12
package_version: 2.2.7
extensions:
  additionalWishes:
    url: h
    type: Extension
    short: AdditionalWishes
    index: 1
    elements:
      valueCodeableConcept:
        index: 2
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {index: 2}
  medicationTreatment: {url: h, max: 1, short: Medication Treatment, type: Extension, index: 3}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 2.2.3
required: [category]