PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept-workflow.r4@1.5.0-beta10
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_InfoReq
description: Ressource used for the communication of informative requests between patient and provider.
package_name: de.gematik.erezept-workflow.r4
derivation: constraint
name: GEM_ERP_PR_Communication_InfoReq
type: Communication
elements:
  received: {short: The time when this communication was received., mustSupport: true, index: 8}
  payload:
    index: 13
    extensions:
      InsuranceProvider: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_InsuranceProvider', min: 1, max: 1, type: Extension, index: 15}
      PreferredSupplyOptions: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType', min: 0, max: 1, type: Extension, short: Preferred supply options by the patient, index: 16}
      SubstitutionAllowed: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SubstitutionAllowedType', min: 1, max: 1, type: Extension, short: Aut idem substitution allowed, index: 17}
      PrescriptionType: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType', min: 1, max: 1, type: Extension, short: PrescriptionType for ePrescription workflow, index: 18}
      PackageQuantity: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PackageQuantity', min: 0, type: Extension, index: 19}
    elements:
      extension:
        array: true
        min: 3
        index: 14
        slicing:
          rules: closed
          description: Extensions are always sliced by (at least) url
          discriminator:
          - {path: url, type: value}
          min: 3
          slices:
            InsuranceProvider:
              match: {url: null}
              schema: {type: Extension, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_InsuranceProvider', index: 15}
              min: 1
              max: 1
            PreferredSupplyOptions:
              match: {url: null}
              schema: {type: Extension, short: Preferred supply options by the patient, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType', index: 16}
              min: 0
              max: 1
            SubstitutionAllowed:
              match: {url: null}
              schema: {type: Extension, short: Aut idem substitution allowed, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SubstitutionAllowedType', index: 17}
              min: 1
              max: 1
            PrescriptionType:
              match: {url: null}
              schema: {type: Extension, short: PrescriptionType for ePrescription workflow, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType', index: 18}
              min: 1
              max: 1
            PackageQuantity:
              match: {url: null}
              schema: {type: Extension, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PackageQuantity', index: 19}
              min: 0
      content:
        short: The actual content of the message
        choices: [contentString]
        index: 21
      contentString: {type: string, short: The actual content of the message, choiceOf: content, index: 22}
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_InfoReq|1.5'}
        index: 1
    required: [profile]
  recipient:
    short: The entity (e.g. person, organization) which was the target of the communication.
    index: 9
    elements:
      identifier: {type: Identifier, index: 10}
    required: [identifier]
  sent: {short: The time when this communication was sent., mustSupport: true, index: 7}
  status:
    pattern: {type: Code, value: unknown}
    index: 4
  sender:
    short: The entity (e.g. person, organization) which was the source of the communication.
    mustSupport: true
    index: 11
    elements:
      identifier: {type: Identifier, index: 12}
    required: [identifier]
  basedOn:
    type: Reference
    short: States the E-Rezept-Token according to gemSpec_DM_eRp.
    refers: ['https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task']
    index: 2
    elements:
      reference: {index: 3}
    required: [reference]
  about:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 5
    elements:
      reference: {index: 6}
    required: [reference]
package_version: 1.5.0-beta10
class: profile
kind: resource
url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_InfoReq
base: http://hl7.org/fhir/StructureDefinition/Communication
version: '1.5'
required: [basedOn, recipient, meta, payload]