PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientModuleSubscription
description: Subscription profile for the Patient module of the medatixx-HealthHub. Restricts the allowed criteria to the defined PatientSubscriptionTopics and enforces REST hook delivery with an HTTPS endpoint, FHIR+JSON payload and at least one Authorization header. For the topic patient-opened, the extension Mxx_HealthHub_PatientModuleSubscriptionWorkstationFilter MUST additionally be set on Subscription.criteria (1..1); if it is missing, the server rejects the subscription with 400 Bad Request.
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_PatientModuleSubscription
type: Subscription
elements:
  contact: {index: 0}
  criteria:
    binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_PatientSubscriptionTopic'}
    index: 1
    extensions:
      workstationFilter: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientModuleSubscriptionWorkstationFilter', min: 0, max: 1, type: Extension, short: Workstation-Filter fuer patient-opened (Pflicht bei diesem Topic), index: 3}
    elements:
      extension:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            workstationFilter:
              match: {url: null}
              schema: {type: Extension, short: Workstation-Filter fuer patient-opened (Pflicht bei diesem Topic), url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientModuleSubscriptionWorkstationFilter', index: 3}
              min: 0
              max: 1
  channel:
    elements:
      type:
        pattern: {type: Code, value: rest-hook}
        index: 4
      endpoint: {index: 5}
      payload:
        pattern: {type: Code, value: application/fhir+json}
        index: 6
      header: {index: 7}
    required: [endpoint, payload, header]
package_version: 1.5.0
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientModuleSubscription
base: http://hl7.org/fhir/StructureDefinition/Subscription
version: 1.5.0