PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erp@servicerequest-1.0.1
    https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-dispense-request
description: ServiceRequest that is used to supply a recipe
package_name: de.gematik.erp
derivation: constraint
name: ERPServiceRequestDispenseRequest
type: ServiceRequest
elements:
  supportingInfo:
    mustSupport: true
    index: 18
    slicing:
      rules: open
      description: Supporting information about delivery
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        AbgabeDaten:
          match: {type: MedicationDispense}
          schema:
            refers: ['http://hl7.org/fhir/StructureDefinition/MedicationDispense']
            type: Reference
            mustSupport: true
            index: 19
            elements:
              type:
                short: Delivery data that is also sent to the e-prescription specialist service.
                pattern: {type: Uri, value: MedicationDispense}
                index: 20
            required: [type]
  authoredOn: {short: Creation date of the request., mustSupport: true, index: 17}
  note: {short: Further information on delivery., mustSupport: true, index: 21}
  requisition: {type: Identifier, short: Identifier of the process. All ServiceRequests within a process receive the same ID., mustSupport: true, index: 6}
  extension:
    mustSupport: true
    index: 0
    slicing:
      slices:
        EPrescriptionToken:
          match: {}
          schema: {short: The e-prescription token for delivery to the pharmacy can be provided here., type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex', index: 1}
          min: 0
          max: 1
  status:
    short: Indicates the processing status of a service request.
    binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-status-vs'}
    mustSupport: true
    index: 7
  code:
    short: Indicates the type of service request.
    mustSupport: true
    index: 9
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-servicerequest/ValueSet/service-request-type-vs'}
        mustSupport: true
        index: 10
        elements:
          system: {index: 11}
          code:
            pattern: {type: Code, value: dispense-request}
            index: 12
        required: [system, code]
    required: [coding]
  identifier:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      description: Defines identifiers to be used in a process
      discriminator:
      - {path: system, type: pattern}
      min: 1
      slices:
        requestId:
          match: {system: null}
          schema: {type: Identifier, short: Identifier that uniquely references a ServiceRequest., _required: true, index: 3}
          min: 1
          max: 1
        predisId:
          match: {system: null}
          schema: {short: Identifier that connects a prescription and a dispensing request., type: Identifier, index: 4}
          min: 0
          max: 1
  intent:
    pattern: {type: Code, value: filler-order}
    index: 8
  basedOn: {index: 5}
  occurrenceDateTime: {type: dateTime, short: Indicates the date when the medication should be delivered., mustSupport: true, choiceOf: occurrence, index: 16}
  subject:
    type: Reference
    short: Patient for whom a prescription is to be delivered.
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 13
  occurrence:
    short: Indicates the date when the medication should be delivered.
    mustSupport: true
    choices: [occurrenceDateTime]
    index: 15
package_version: servicerequest-1.0.1
extensions:
  EPrescriptionToken: {url: 'https://gematik.de/fhir/erp-servicerequest/StructureDefinition/eprescription-token-ex', min: 0, max: 1, short: The e-prescription token for delivery to the pharmacy can be provided here., type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-dispense-request
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: '1.0'
required: [authoredOn, requisition, occurrenceDateTime, identifier, occurrence]