PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.r4.medicationprocess9@2.0.0-beta.5
    http://nictiz.nl/fhir/StructureDefinition/mp-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.medicationprocess9
derivation: constraint
name: MpDispenseRequest
type: MedicationRequest
elements:
  category:
    index: 15
    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: 16
          min: 1
          max: 1
  encounter:
    type: Reference
    short: RelationEncounter
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Encounter']
    index: 23
  dispenseRequest:
    extensions:
      dispenseLocation:
        url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.DispenseLocation
        type: Extension
        index: 31
        elements:
          value:
            choices: []
            index: 33
    elements:
      extension:
        type: Extension
        url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.DispenseLocation
        index: 31
        slicing:
          slices:
            dispenseLocation:
              match: {}
              schema:
                type: Extension
                url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.DispenseLocation
                index: 31
                elements:
                  value:
                    choices: []
                    index: 33
      validityPeriod: {type: Period, short: PeriodOfUse, index: 34}
      numberOfRepeatsAllowed: {short: NumberOfRefills, index: 35}
      quantity: {type: Quantity, short: Amount, index: 36}
  authoredOn: {short: DispenseRequestDate, index: 24}
  note:
    index: 29
    elements:
      text: {short: Comment, index: 30}
  extension:
    type: Extension
    url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.AdditionalWishes
    index: 0
    slicing:
      slices:
        additionalWishes:
          match: {}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.AdditionalWishes
            index: 0
            elements:
              value:
                choices: []
                index: 2
        pharmaceuticalTreatmentIdentifier:
          match: {}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
            index: 3
            elements:
              value:
                choices: []
                index: 5
        financialIndicationCode:
          match: {}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.FinancialIndicationCode
            index: 6
            elements:
              value:
                choices: []
                index: 8
        relationEpisodeOfCare:
          match: {}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
            index: 9
            elements:
              value:
                short: RelationEpisodeOfCare
                choices: []
                index: 11
  requester:
    type: Reference
    short: Author
    refers: ['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/nl-core-HealthProfessional-PractitionerRole']
    index: 25
  status: {short: CanceledIndicator, index: 13}
  identifier: {short: Identification, index: 12}
  intent: {index: 14}
  basedOn:
    index: 27
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        relationMedicationAgreement:
          match: {}
          schema:
            short: RelationMedicationAgreement
            refers: ['http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement']
            type: Reference
            index: 28
  medicationReference:
    short: MedicineToBeDispensed
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/mp-PharmaceuticalProduct']
    type: Reference
    choiceOf: medication
    index: 21
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: MedicineToBeDispensed
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/mp-PharmaceuticalProduct']
            type: Reference
            choiceOf: medication
            index: 21
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient']
    index: 22
  performer:
    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/nl-core-HealthcareProvider-Organization']
    type: Reference
    index: 26
  medication:
    choices: []
    index: 18
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            short: MedicineToBeDispensed
            choices: [medicationReference]
            index: 20
package_version: 2.0.0-beta.5
extensions:
  additionalWishes:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.AdditionalWishes
    type: Extension
    index: 0
    elements:
      value:
        choices: []
        index: 2
  pharmaceuticalTreatmentIdentifier:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
    type: Extension
    index: 3
    elements:
      value:
        choices: []
        index: 5
  financialIndicationCode:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.FinancialIndicationCode
    type: Extension
    index: 6
    elements:
      value:
        choices: []
        index: 8
  relationEpisodeOfCare:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
    type: Extension
    index: 9
    elements:
      value:
        short: RelationEpisodeOfCare
        choices: []
        index: 11
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/mp-DispenseRequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 2.0.0-beta.5
required: [category]