Skip to content

Commit 618b461

Browse files
Merge pull request #722 from NHSDigital/feature/ERSSUP-64419
[ERSSUP-64419]-[]-[APIM Documentation - Extension-eRS-ReferralState i…
2 parents 1e8d0c8 + 6aa8ae8 commit 618b461

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

sandbox/src/mocks/stu3/retrieveReferralRequest/responses/WithAdditionalRequirements.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@
3737
"value": "R69"
3838
}
3939
},
40+
{
41+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-ReferralState-1",
42+
"extension": [
43+
{
44+
"url": "state",
45+
"valueCoding": {
46+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-ReferralState-1",
47+
"code": "BOOKED",
48+
"display": "Booked"
49+
}
50+
}
51+
]
52+
},
4053
{
4154
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-PatientAdditionalRequirement-1",
4255
"valueCoding": {

specification/components/stu3/schemas/eRS-ReferralRequest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ properties:
6060
| `Extension-eRS-ReferralShortlist` | `1..1` | |
6161
| `Extension-eRS-Commissioning-Rule-Org` | `1..1` | |
6262
| `Extension-eRS-ReferralPriority` | `1..1` | |
63+
| `Extension-eRS-ReferralState` | `1..1` | |
6364
| `Extension-eRS-Appointment` | `0..1` | |
6465
| `Extension-eRS-ClinicalInfoFirstSubmitted` | `0..1` | |
6566
| `Extension-eRS-ClinicalInfoLastUpdated` | `0..1` | |

specification/components/stu3/schemas/endpoints/a014-reject-referral.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ security:
33
description: |
44
## Overview
55
Use this endpoint, as a service provider, to reject a referral that is booked into your bookable service and awaiting review.
6-
This returns the referral to the referrer with a mandatory user comment to explain why it has been rejected.
6+
This returns the referral to the referrer with a mandatory rejection reason and optional user comment to explain why it has been rejected.
77
88
Consider using [[HYPERLINK_A022]] instead if you wish to ask your admin team to get the patient into the most appropriate service.
99
@@ -92,4 +92,4 @@ responses:
9292
'500':
9393
$ref: '../responses/InternalServerError.yaml'
9494
'504':
95-
$ref: '../responses/rejectReferral/504Response.yaml'
95+
$ref: '../responses/rejectReferral/504Response.yaml'

specification/e-referrals-service-api.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@ info:
8888
8989
See the [[HYPERLINK_ONBOARDING]] section below for more information.
9090
91+
<section class="nhsd-m-emphasis-box nhsd-m-emphasis-box--important nhsd-!t-margin-bottom-6" aria-label="Important Information">
92+
<div class="nhsd-a-box nhsd-a-box--border-yellow"> <div class="nhsd-m-emphasis-box__image-box">
93+
<figure class="nhsd-a-image">
94+
<picture class="nhsd-a-image__picture">
95+
<img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNDAgMTQwOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMTQwIDE0MCIgeD0iMHB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB5PSIwcHgiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtkaXNwbGF5Om5vbmU7fQoJLnN0MXtk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">
96+
</picture>
97+
</figure>
98+
</div> <div class="nhsd-m-emphasis-box__content-box">
99+
<div data-uipath="website.contentblock.emphasis.content" class="nhsd-t-word-break"><p class="nhsd-t-body">For a non-technical overview of how to build software that deals with referrals and bookings, see&nbsp;<a onclick="logGoogleAnalyticsEvent('Link click','General','/developer/guides-and-documentation/building-healthcare-software/referrals-and-bookings');" href="https://digital.nhs.uk/developer/guides-and-documentation/building-healthcare-software/referrals-and-bookings" onkeyup="return vjsu.onKeyUp(event)" class="nhsd-a-link">Building healthcare software - referrals and bookings</a>.</p></div> </div>
100+
</div>
101+
</section>
91102
92103
## Related APIs
93104

0 commit comments

Comments
 (0)