Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"resourceType": "Bundle",
"id": "236a1d4a-5d69-4fa9-9c7f-e72bf505aa5b",
"type": "history",
"timestamp": "2020-06-01T13:00:00Z",
"entry": [
{
"fullUrl": "urn:uuid:236a1d4a-5d69-4fa9-9c7f-e72bf505aa5b",
"resource": {
"resourceType": "Parameters",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4"
]
},
"id": "236a1d4a-5d69-4fa9-9c7f-e72bf505aa5b",
"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": "2020-06-01T13:00:00Z"
},
{
"name": "focus",
"valueReference": {
"reference": "https://api.service.nhs.uk/patient-data-manager/FHIR/R4/Bundle/b0b97bff-e3d7-4744-a09a-e55781886dd0"
}
}
]
},
{
"name": "additional-context",
"part": [
{
"name": "event-type",
"valueString": "pathology-laboratory-reporting-test-result-stored-1"
},
{
"name": "source",
"valueUri": "uk.nhs.pathology-laboratory-reporting"
},
{
"name": "subject",
"valueReference": {
"identifier": {
"value": "9912003888"
}
}
}
]
}
]
},
"request": {
"method": "GET",
"url": "https://api.service.nhs.uk/multicast-notification-service/subscriptions"
},
"response": {
"status": "200"
}
}
]
}
12 changes: 12 additions & 0 deletions specification/multicast-notification-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,18 @@ paths:
flagtype: 'NRAF'
generalpractitioner: 'XY11'
origin: 'pfapi-internal-mns-int'
pathology-laboratory-reporting-test-result-stored-1:
description: "Create a pathology test result stored event"
value:
specversion: '1.0'
id: 236a1d4a-5d69-4fa9-9c7f-e72bf505aa5b
source: uk.nhs.pathology-laboratory-reporting
type: pathology-laboratory-reporting-test-result-stored-1
time: '2020-06-01T13:00:00Z'
dataref: https://api.service.nhs.uk/patient-data-manager/FHIR/R4/Bundle/b0b97bff-e3d7-4744-a09a-e55781886dd0
subject: '9912003888'
filtering:
requestingOrganisationODS: 'A12345'
application/json:
schema:
type: "object"
Expand Down
16 changes: 14 additions & 2 deletions specification/requestBody/create-or-update-subscription-body.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ content:
status: "requested"
end: "2022-04-05T17:31:00.000Z"
reason: "Business process A"
criteria: "eventType=gpreg-change-gp-req-1 AND supplierNACS=Y12345 AND registrationencountercode=3"
criteria: "eventType='gpreg-change-gp-req-1' AND generalpractitioner_manufacturer_org='Y12345' AND registrationencountercode='3'"
channel:
type: "message"
endpoint: "arn:aws:sqs:eu-west-2:123456789012:queue2"
Expand All @@ -213,8 +213,20 @@ content:
status: "requested"
end: "2022-04-05T17:31:00.000Z"
reason: "Business process A"
criteria: "eventType=patientflags-change-1 AND flagtype=NRAF AND generalpractitioner=XY11"
criteria: "eventType='patientflags-change-1' AND flagtype='NRAF' AND generalpractitioner='XY11'"
channel:
type: "message"
endpoint: "arn:aws:sqs:eu-west-2:123456789012:queue2"
payload: "application/fhir+json"
pathologyLaboratoryReportingTestResultStoredSubscription:
description: "Pathology Laboratory Reporting Test Result Stored subscription"
value:
resourceType: "Subscription"
status: "requested"
end: "2022-04-05T17:31:00.000Z"
reason: "Business process A"
criteria: "eventType='pathology-laboratory-reporting-test-result-stored-1' AND requestingOrganisationODS_manufacturer_org='A12345'"
channel:
type: "message"
endpoint: "arn:aws:sqs:eu-west-2:123456789012:queue2"
payload: "application/json"
81 changes: 0 additions & 81 deletions specification/schemas/cloudevents/gpregChangeGpRequestSignal.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions specification/schemas/cloudevents/nhsNumberChange2Signal.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions specification/schemas/cloudevents/patientflagsChangeSignal.yaml

This file was deleted.

Loading
Loading