{
"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.",
"_filename": "Mxx_HealthHub_PatientModuleSubscription.StructureDefinition.json",
"package_name": "medatixx.healthhub",
"date": null,
"derivation": "constraint",
"publisher": "medatixx GmbH & Co. KG",
"fhirVersion": "4.0.1",
"name": "Mxx_HealthHub_PatientModuleSubscription",
"abstract": false,
"copyright": "medatixx GmbH & Co. KG",
"type": "Subscription",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Mxx_HealthHub_PatientModuleSubscription",
"package_version": "1.5.0",
"status": "active",
"id": "6392681d-552b-4da6-a9c9-adf076dce4b9",
"kind": "resource",
"url": "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientModuleSubscription",
"version": "1.5.0",
"differential": {
"element": [ {
"id": "Subscription.contact",
"max": "0",
"path": "Subscription.contact"
}, {
"id": "Subscription.criteria",
"path": "Subscription.criteria",
"binding": {
"strength": "required",
"valueSet": "https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_PatientSubscriptionTopic"
},
"definition": "The topic to subscribe to. Must be one of the codes from Mxx_HealthHub_VS_PatientSubscriptionTopic. For the topic patient-opened the extension Mxx_HealthHub_PatientModuleSubscriptionWorkstationFilter is mandatory (1..1) and must carry at least one workstationId."
}, {
"id": "Subscription.criteria.extension",
"path": "Subscription.criteria.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Subscription.criteria.extension:workstationFilter",
"max": "1",
"min": 0,
"path": "Subscription.criteria.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientModuleSubscriptionWorkstationFilter" ]
} ],
"short": "Workstation-Filter fuer patient-opened (Pflicht bei diesem Topic)",
"sliceName": "workstationFilter",
"definition": "Schraenkt patient-opened-Benachrichtigungen auf eine Liste von PVS-Arbeitsplatz-IDs ein. Bei criteria = patient-opened ist diese Extension 1..1 Pflicht. Eine Subscription ohne diese Extension wird mit 400 Bad Request abgewiesen."
}, {
"id": "Subscription.channel.type",
"path": "Subscription.channel.type",
"fixedCode": "rest-hook"
}, {
"id": "Subscription.channel.endpoint",
"min": 1,
"path": "Subscription.channel.endpoint",
"definition": "The url that describes the actual end-point to send messages to. Must use HTTPS as protocol."
}, {
"id": "Subscription.channel.payload",
"min": 1,
"path": "Subscription.channel.payload",
"fixedCode": "application/fhir+json"
}, {
"id": "Subscription.channel.header",
"min": 1,
"path": "Subscription.channel.header",
"definition": "Additional headers / information to send as part of the notification. At least an Authorization-Header must be present."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Subscription"
}