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