PackagesCanonicalsLogsProblems
    Packages
    rs/nictiz.fhir.nl.r4.medicationprocess9@1.0.0
    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: rs/nictiz.fhir.nl.r4.medicationprocess9
derivation: constraint
name: MpDispenseRequest
abstract: true
type: MedicationRequest
elements:
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '52711000146108', system: 'http://snomed.info/sct'}
    type: CodeableConcept
    index: 16
  encounter:
    type: Reference
    short: RelationContact
    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: 32
        elements:
          value:
            choices: []
            index: 34
    elements:
      extension:
        index: 31
        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: 32
                elements:
                  value:
                    choices: []
                    index: 34
      validityPeriod: {type: Period, short: PeriodOfUse, index: 35}
      numberOfRepeatsAllowed: {short: NumberOfRefills, index: 36}
      quantity: {type: Quantity, short: Amount, index: 37}
  authoredOn: {short: DispenseRequestDate, index: 24}
  note:
    index: 29
    elements:
      text: {short: Comment, index: 30}
  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
            elements:
              value:
                choices: []
                index: 3
        pharmaceuticalTreatmentIdentifier:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
            index: 4
            elements:
              value:
                choices: []
                index: 6
        financialIndicationCode:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.FinancialIndicationCode
            index: 7
            elements:
              value:
                choices: []
                index: 9
        relationEpisodeOfCare:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
            index: 10
            elements:
              value:
                short: RelationEpisodeOfCare
                choices: []
                index: 12
  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: 14}
  identifier: {short: Identification, index: 13}
  intent: {index: 15}
  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/nl-core-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/nl-core-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: 1.0.0
extensions:
  additionalWishes:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.AdditionalWishes
    type: Extension
    index: 1
    elements:
      value:
        choices: []
        index: 3
  pharmaceuticalTreatmentIdentifier:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
    type: Extension
    index: 4
    elements:
      value:
        choices: []
        index: 6
  financialIndicationCode:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-DispenseRequest.FinancialIndicationCode
    type: Extension
    index: 7
    elements:
      value:
        choices: []
        index: 9
  relationEpisodeOfCare:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
    type: Extension
    index: 10
    elements:
      value:
        short: RelationEpisodeOfCare
        choices: []
        index: 12
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/mp-DispenseRequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.0.0
required: [category]