From 0cb97f4a67e54ef051cfb6126938c92aebfab652 Mon Sep 17 00:00:00 2001 From: dbgwilliamsnhs Date: Thu, 6 Aug 2026 14:32:53 +0000 Subject: [PATCH] [RAA-8353]-[]-[isSpoa flag on response for service endpoints]-[DW] --- .../responses/AdviceServiceSearch.json | 3 +++ .../FetchServiceListWithMultipleServices.json | 18 ++++++++++++++++ .../FetchServiceListWithSingleService.json | 3 +++ .../TriageAndAppointmentRequestType.json | 3 +++ .../WithIndicativeAppointmentWaitTime.json | 3 +++ .../r4/schemas/eRS-HealthcareService.yaml | 21 +++++++++++++++++++ .../Extension-eRS-ServiceSummaryView.yaml | 15 +++++++++++++ 7 files changed, 66 insertions(+) diff --git a/sandbox/src/mocks/stu3/patientServiceSearch/responses/AdviceServiceSearch.json b/sandbox/src/mocks/stu3/patientServiceSearch/responses/AdviceServiceSearch.json index efa153c95..e76a25aa9 100644 --- a/sandbox/src/mocks/stu3/patientServiceSearch/responses/AdviceServiceSearch.json +++ b/sandbox/src/mocks/stu3/patientServiceSearch/responses/AdviceServiceSearch.json @@ -90,6 +90,9 @@ { "url": "referralLetterRequired", "valueBoolean": false + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", diff --git a/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithMultipleServices.json b/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithMultipleServices.json index fb2c89ab9..aab5815ac 100644 --- a/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithMultipleServices.json +++ b/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithMultipleServices.json @@ -90,6 +90,9 @@ { "url": "referralLetterRequired", "valueBoolean": false + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", @@ -208,6 +211,9 @@ { "url": "referralLetterRequired", "valueBoolean": true + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", @@ -326,6 +332,9 @@ { "url": "referralLetterRequired", "valueBoolean": false + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", @@ -455,6 +464,9 @@ { "url": "referralLetterRequired", "valueBoolean": true + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", @@ -573,6 +585,9 @@ { "url": "referralLetterRequired", "valueBoolean": false + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", @@ -691,6 +706,9 @@ { "url": "referralLetterRequired", "valueBoolean": true + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", diff --git a/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithSingleService.json b/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithSingleService.json index d4970a46c..c3bad7e29 100644 --- a/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithSingleService.json +++ b/sandbox/src/mocks/stu3/patientServiceSearch/responses/FetchServiceListWithSingleService.json @@ -79,6 +79,9 @@ { "url": "referralLetterRequired", "valueBoolean": true + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", diff --git a/sandbox/src/mocks/stu3/patientServiceSearch/responses/TriageAndAppointmentRequestType.json b/sandbox/src/mocks/stu3/patientServiceSearch/responses/TriageAndAppointmentRequestType.json index 2f6a833c5..75d7dccc0 100644 --- a/sandbox/src/mocks/stu3/patientServiceSearch/responses/TriageAndAppointmentRequestType.json +++ b/sandbox/src/mocks/stu3/patientServiceSearch/responses/TriageAndAppointmentRequestType.json @@ -86,6 +86,9 @@ { "url": "referralLetterRequired", "valueBoolean": true + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", diff --git a/sandbox/src/mocks/stu3/patientServiceSearch/responses/WithIndicativeAppointmentWaitTime.json b/sandbox/src/mocks/stu3/patientServiceSearch/responses/WithIndicativeAppointmentWaitTime.json index 0a1d7ba16..4db2694e2 100644 --- a/sandbox/src/mocks/stu3/patientServiceSearch/responses/WithIndicativeAppointmentWaitTime.json +++ b/sandbox/src/mocks/stu3/patientServiceSearch/responses/WithIndicativeAppointmentWaitTime.json @@ -79,6 +79,9 @@ { "url": "referralLetterRequired", "valueBoolean": true + }, { + "url": "singlePointOfAccess", + "valueBoolean": false }, { "url": "location", diff --git a/specification/components/r4/schemas/eRS-HealthcareService.yaml b/specification/components/r4/schemas/eRS-HealthcareService.yaml index d111f2638..3990808db 100644 --- a/specification/components/r4/schemas/eRS-HealthcareService.yaml +++ b/specification/components/r4/schemas/eRS-HealthcareService.yaml @@ -171,3 +171,24 @@ properties: - Directly Bookable - Indirectly Bookable example: Directly Bookable + - type: object + title: eRS-ServiceAccessType + required: + - system + - code + - display + properties: + system: + type: string + enum: + - https://fhir.nhs.uk/CodeSystem/eRS-ServiceAccessType + example: https://fhir.nhs.uk/CodeSystem/eRS-ServiceAccessType + code: + type: string + enum: + - SINGLE_POINT_OF_ACCESS + example: SINGLE_POINT_OF_ACCESS + display: + enum: + - Single point of access + example: Single point of access diff --git a/specification/components/stu3/schemas/extensions/Extension-eRS-ServiceSummaryView.yaml b/specification/components/stu3/schemas/extensions/Extension-eRS-ServiceSummaryView.yaml index 420057b21..9b76d5526 100644 --- a/specification/components/stu3/schemas/extensions/Extension-eRS-ServiceSummaryView.yaml +++ b/specification/components/stu3/schemas/extensions/Extension-eRS-ServiceSummaryView.yaml @@ -462,6 +462,21 @@ properties: valueBoolean: type: boolean example: true + - title: SinglePointOfAccess + description: Indicates whether the Service is a Single Point of Access (SPoA) + type: object + required: + - url + - valueBoolean + properties: + url: + type: string + enum: + - singlePointOfAccess + example: 'singlePointOfAccess' + valueBoolean: + type: boolean + example: true - title: Specialty description: The specialty supported by the Service type: object