diff --git a/signal-schemas/examples/proxy-role-change-1/signal.json b/signal-schemas/examples/vrs-proxy-role-change-1/signal.json similarity index 100% rename from signal-schemas/examples/proxy-role-change-1/signal.json rename to signal-schemas/examples/vrs-proxy-role-change-1/signal.json diff --git a/signal-schemas/examples/vrs-proxy-role-deleted-1/signal.json b/signal-schemas/examples/vrs-proxy-role-deleted-1/signal.json new file mode 100644 index 0000000..8139b48 --- /dev/null +++ b/signal-schemas/examples/vrs-proxy-role-deleted-1/signal.json @@ -0,0 +1,83 @@ +{ + "resourceType": "Bundle", + "id": "898cc706-9156-4d67-941a-b37ca9a85861", + "type": "history", + "timestamp": "2026-02-27T11:47:12.157887+00:00", + "entry": [ + { + "fullUrl": "urn:uuid:212513f9-694d-4735-a9c7-8dca94fea66b", + "resource": { + "resourceType": "Parameters", + "meta": { + "profile": [ + "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4" + ] + }, + "id": "212513f9-694d-4735-a9c7-8dca94fea66b", + "parameter": [ + { + "name": "subscription", + "valueReference": { + "reference": "https://api.service.nhs.uk/multicast-notification-service/subscriptions" + } + }, + { + "name": "status", + "valueCode": "active" + }, + { + "name": "type", + "valueCode": "event-notification" + }, + { + "name": "notification-event", + "part": [ + { + "name": "event-number", + "valueString": "1" + }, + { + "name": "timestamp", + "valueInstant": "2026-02-27T11:47:12.157887+00:00" + }, + { + "name": "focus", + "valueReference": { + "reference": "https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/ecc32c41" + } + } + ] + }, + { + "name": "additional-context", + "part": [ + { + "name": "event-type", + "valueString": "vrs-proxy-role-deleted-1" + }, + { + "name": "source", + "valueUri": "uk.nhs.validated-relationships-service" + }, + { + "name": "subject", + "valueReference": { + "identifier": { + "value": "9912003888" + } + } + } + ] + } + ] + }, + "request": { + "method": "GET", + "url": "https://api.service.nhs.uk/multicast-notification-service/subscriptions" + }, + "response": { + "status": "200" + } + } + ] +} diff --git a/specification/multicast-notification-service.yaml b/specification/multicast-notification-service.yaml index 9aa2b81..52f1256 100644 --- a/specification/multicast-notification-service.yaml +++ b/specification/multicast-notification-service.yaml @@ -207,6 +207,19 @@ paths: subject: '9730676240' filtering: gppractice: 'XY11' + vrs-proxy-role-deleted-1: + description: "Create a proxy role deleted event" + value: + specversion: '1.0' + id: 898cc706-9156-4d67-941a-b37ca9a85861 + source: uk.nhs.validated-relationships-service + type: vrs-proxy-role-deleted-1 + time: '2020-06-01T13:00:00Z' + dataref: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/ecc32c41 + subject: '9730676240' + filtering: + patient_ods_code: 'M7Z0J' + proxy_ods_code: 'M7Z0J' vrs-proxy-role-change-1: description: "Create a proxy role change event" value: @@ -217,6 +230,9 @@ paths: time: '2020-06-01T13:00:00Z' dataref: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/ecc32c41 subject: '9730676240' + filtering: + patient_ods_code: 'M7Z0J' + proxy_ods_code: 'M7Z0J' pds-record-change-2: description: "Create a PDS record change event" value: diff --git a/specification/requestBody/create-or-update-subscription-body.yaml b/specification/requestBody/create-or-update-subscription-body.yaml index 3751ac8..2b1eb23 100644 --- a/specification/requestBody/create-or-update-subscription-body.yaml +++ b/specification/requestBody/create-or-update-subscription-body.yaml @@ -98,7 +98,19 @@ content: type: "message" endpoint: "arn:aws:sqs:eu-west-2:123456789012:queue1" payload: "application/json" - proxyRoleChangeSubscription: + vrsProxyRoleChangeDeletedSubscription: + description: "VRS proxy role deleted" + value: + resourceType: "Subscription" + status: "requested" + end: "2022-04-05T17:31:00.000Z" + reason: "Business process A" + criteria: "eventType=vrs-proxy-role-deleted-1" + channel: + type: "message" + endpoint: "arn:aws:sqs:eu-west-2:123456789012:queue1" + payload: "application/json" + vrsProxyRoleChangeSubscription: description: "VRS proxy role change" value: resourceType: "Subscription"