PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientProposalNotification
description: Notification payload for patient-accepted and patient-denied subscription events. Contains the intermediatePatientReference (always present) and optionally the patientId (only present for patient-accepted).
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_PatientProposalNotification
type: Parameters
elements:
  parameter:
    array: true
    min: 1
    max: 2
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: value}
      min: 1
      max: 2
      slices:
        intermediatePatientReference:
          match: {name: intermediatePatientReference}
          schema:
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: intermediatePatientReference}
                index: 2
              value:
                choices: [valueIdentifier]
                index: 4
              valueIdentifier: {type: Identifier, choiceOf: value, index: 5}
              resource: {index: 6}
              part: {index: 7}
            required: [valueIdentifier, value]
        patientId:
          match: {name: patientId}
          schema:
            index: 8
            elements:
              name:
                pattern: {type: String, value: patientId}
                index: 9
              value:
                choices: [valueId]
                index: 11
              valueId: {type: id, choiceOf: value, index: 12}
              resource: {index: 13}
              part: {index: 14}
            required: [value, valueId]
package_version: 1.5.0
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientProposalNotification
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.5.0
required: [parameter]