Subscription-DiagnosticReportNotification-Example

Example of a Subscription resource for setting up alerting when a DiagnosticReport is available for a particular ServiceRequest. The exact subscription/notification mechanism used by the central broker is pending testing in the GMS Alpha.

Subscription
{
    "resourceType": "Subscription",
    "id": "Subscription-DiagnosticReportNotification-Example",
    "status": "active",
    "contact":  [
        {
            "system": "phone",
            "value": "01614463000"
        }
    ],
    "reason": "Notification of DiagnosticReport for Test LabOrder123456",
    "criteria": "DiagnosticReport?based-on=ServiceRequest/7f70bb0c-5792-46d4-bbfd-c48cbcd3895b",
    "channel": {
        "type": "rest-hook",
        "endpoint": "https://www.christie.nhs.uk/ehr/fhir",
        "payload": "application/fhir+json"
    }
}
<Subscription xmlns="http://hl7.org/fhir">
    <id value="Subscription-DiagnosticReportNotification-Example" />
    <status value="active" />
    <contact>
        <system value="phone" />
        <value value="01614463000" />
    </contact>
    <reason value="Notification of DiagnosticReport for Test LabOrder123456" />
    <criteria value="DiagnosticReport?based-on=ServiceRequest/7f70bb0c-5792-46d4-bbfd-c48cbcd3895b" />
    <channel>
        <type value="rest-hook" />
        <endpoint value="https://www.christie.nhs.uk/ehr/fhir" />
        <payload value="application/fhir+json" />
    </channel>
</Subscription>