Skip to content

Commit 431bc9a

Browse files
authored
Merge pull request #475 from NHSDigital/develop
1.9.0 first merge to Main
2 parents ddcf16f + 829317c commit 431bc9a

302 files changed

Lines changed: 9206 additions & 226 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BaRS-Images/SequenceDiagrams/BaRS_StandardPattern_Cancellation_Find_Id.svg

Lines changed: 4 additions & 0 deletions
Loading

BaRS-Images/TransactionIntegrity/Post-409-FailureScenario-2-1.0.0.svg

Lines changed: 2 additions & 2 deletions
Loading

BaRS-Images/WorkFlows/CADCallAssist-1.0.2.svg

Lines changed: 4 additions & 0 deletions
Loading

BaRS-Images/WorkFlows/CADMutualAid-1.0.2.svg

Lines changed: 4 additions & 0 deletions
Loading

BaRS-Images/WorkFlows/CADOutOfArea-1.0.2.svg

Lines changed: 4 additions & 0 deletions
Loading

CodeSystem/agency-types-bars.xml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<CodeSystem xmlns="http://hl7.org/fhir">
2+
<id value="agency-types-bars" />
3+
<url value="https://fhir.nhs.uk/CodeSystem/agency-types-bars" />
4+
<identifier>
5+
<system value="https://fhir.nhs.uk/identifier/CodeSystem" />
6+
<value value="agency-types-bars" />
7+
</identifier>
8+
<version value="1.0.0" />
9+
<name value="agencytypesbars" />
10+
<title value="Agency Types BARS" />
11+
<status value="active" />
12+
<date value="2025-06-03" />
13+
<publisher value="NHS England" />
14+
<contact>
15+
<name value="NHS England" />
16+
<telecom>
17+
<system value="email" />
18+
<value value="england.interoperabilityteam@nhs.net" />
19+
<use value="work" />
20+
</telecom>
21+
</contact>
22+
<description value="Agency Types in BaRS" />
23+
<copyright value="Copyright © 2025 NHS England" />
24+
<caseSensitive value="true" />
25+
<content value="complete" />
26+
<concept>
27+
<code value="CI" />
28+
<display value="Coastguard" />
29+
</concept>
30+
<concept>
31+
<code value="DI" />
32+
<display value="Doctor" />
33+
</concept>
34+
<concept>
35+
<code value="FI" />
36+
<display value="Fire service" />
37+
</concept>
38+
<concept>
39+
<code value="FHI" />
40+
<display value="Full Hazardous Area Response Team" />
41+
</concept>
42+
<concept>
43+
<code value="RI" />
44+
<display value="Hazardous Area Response Team" />
45+
</concept>
46+
<concept>
47+
<code value="HI" />
48+
<display value="Hospital" />
49+
</concept>
50+
<concept>
51+
<code value="PI" />
52+
<display value="Police" />
53+
</concept>
54+
<concept>
55+
<code value="OSI" />
56+
<display value="Other service" />
57+
</concept>
58+
</CodeSystem>

Examples/REFRESP02- Referral Service Request Reponse Short - CAD Mutual Aid Rejection.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
<code value="ok" />
6363
</response>
6464
<focus>
65-
<!-- ServiceRequest -->
66-
<reference value="urn:uuid:236bb75d-90ef-461f-b71e-fde7f899802c" />
65+
<!-- Receiver Encounter -->
66+
<reference value="urn:uuid:eba5ef44-5fdc-4d4f-b025-24db80e9b906" />
6767
</focus>
6868
<definition value="https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-request-response-short" />
6969
</MessageHeader>
@@ -166,7 +166,7 @@
166166
<profile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter" />
167167
</meta>
168168
<identifier>
169-
<system value="https://sender.url/Id/case-number" />
169+
<system value="https://receiver.url/Id/case-number" />
170170
<!-- Set by the receiver who is passing the business case number value -->
171171
<value value="reciever1234" />
172172
</identifier>

guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/About-BaRS/About-BaRS.page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The workflow and payload elements can be predefined or completely dynamic, enabl
2626

2727
The documentation for BaRS is separated into three groups (or "products"):
2828

29-
- {{pagelink:design-core-1.0.6}} is the foundation containing all the things *everyone* has to do regardless of what flows BaRS is being used to support
29+
- {{pagelink:design-core-1.0.7}} is the foundation containing all the things *everyone* has to do regardless of what flows BaRS is being used to support
3030

3131
- {{pagelink:Applications}}, *apply* the standard to a specific problem and build on this to support specific use cases
3232

guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/About-BaRS/Quick-Start-Guide.page.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Follow this **Quick Start Guide** to best understand how to approach BaRS:
66
We recommend reading the following documentation as part of the discovery stage to inform planning:
77

88
* {{pagelink:definitions_key_terms, text:Definition of key terms}}
9-
* {{pagelink:design-core-1.0.6, text:BaRS Core}}
9+
* {{pagelink:design-core-1.0.7, text:BaRS Core}}
1010
* {{pagelink:applications, text:BaRS Applications}}
1111
* [BaRS FHIR API specification](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1_0_0)
1212

@@ -16,10 +16,10 @@ We recommend reading the following documentation as part of the discovery stage
1616
Full details of the security model adopted by the platform can be found under the [security](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/application-restricted-restful-apis-signed-jwt-authentication) section.
1717

1818
### Design
19-
The following sections provide the essential information needed to design and build a BaRS compliant solution. BaRS is devised in a way to support re-use of functionality across multiple uses cases, to this end the implementation guidance is split into {{pagelink:design-core-1.0.6, text:BaRS Core}} and {{pagelink:applications, text:BaRS Application}} sections. All solutions **must** build the Core and add the specific requirements of the Application to support the given use case. BaRS Core is not sufficient on its own, an Application will always be required.
19+
The following sections provide the essential information needed to design and build a BaRS compliant solution. BaRS is devised in a way to support re-use of functionality across multiple uses cases, to this end the implementation guidance is split into {{pagelink:design-core-1.0.7, text:BaRS Core}} and {{pagelink:applications, text:BaRS Application}} sections. All solutions **must** build the Core and add the specific requirements of the Application to support the given use case. BaRS Core is not sufficient on its own, an Application will always be required.
2020

2121
### End-to-end workflow
22-
When developing against the standard, understanding the {{pagelink:core-EndToEndWorkflow-1.0.6, text:end-to-end workflow}} is key. This section of the guide describes how a solution interacts with the BaRS API, along with the assumptions and expectations of Senders and Receivers. These are the roles suppliers will adopt when building a solution. This guide is written predominantly from the perspective of the request; the Sender and Receiver of the request. However, if the BaRS Application include a response workflow these roles swap, the Sender becoming the Receiver and vice versa.
22+
When developing against the standard, understanding the {{pagelink:core-EndToEndWorkflow-1.0.7, text:end-to-end workflow}} is key. This section of the guide describes how a solution interacts with the BaRS API, along with the assumptions and expectations of Senders and Receivers. These are the roles suppliers will adopt when building a solution. This guide is written predominantly from the perspective of the request; the Sender and Receiver of the request. However, if the BaRS Application include a response workflow these roles swap, the Sender becoming the Receiver and vice versa.
2323

2424
BaRS includes several {{pagelink:applications, text:BaRS Application (use cases)}}, each of which supports multiple use cases that share a common workflow and data model.
2525

@@ -28,15 +28,15 @@ BaRS includes several {{pagelink:applications, text:BaRS Application (use cases)
2828
The BaRS [API specification](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1_0_0) provides detail of the structure of endpoints. The specification allows you to 'Try this API', calling endpoints to view anticipated responses. This is a purely technical document and must be read in conjunction with implementation guidance to build a compliant solution.
2929

3030
### Security
31-
All {{pagelink:core-Security-1.0.6, text:security}} is provided through our platform. There are two methods for securing interactions via BaRS API:
31+
All {{pagelink:core-Security-1.0.7, text:security}} is provided through our platform. There are two methods for securing interactions via BaRS API:
3232
* senders will [generate an access token](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/application-restricted-restful-apis-signed-jwt-authentication#how-this-pattern-works) from the platform and use this to authenticate with the BaRS API. Additionally, requests will include HTTP header values identifying the organisation, software and user, which are passed through the BaRS API to Receivers who apply their own access control to the request based on the headers content.
3333
* for Receivers accepting requests, the BaRS API secures the connection with the Receiver using Transport Layer Security Mutual Authentication (TLS MA), using an [NHS Root CA issued certificate](https://digital.nhs.uk/services/path-to-live-environments/live-environment#rootca-and-subca-certificates). The HTTP header values (as described above) are also passed through. This provides the Receiver with sufficient information to accept or reject the request without having to inspect the payload body.
3434

3535
#### Error Handling
36-
{{pagelink:core-ErrorHandling-1.0.6, text:Error handling}} is an important part of the standard for two key reasons:
36+
{{pagelink:core-ErrorHandling-1.0.7, text:Error handling}} is an important part of the standard for two key reasons:
3737

3838
* to ensure workflow is as smooth and seamless as possible, the error responses returned **must** be clear to allow the appropriate next action to take place, for example, to include a missing element of information (highlighted by the error response).
39-
* there are several levels of interactions occurring from the Sender, through BaRS API to the Receiver and clearly identifying where the fault lies is important for swift resolution. All implementations **must** adhere to the {{pagelink:core-ErrorHandling-1.0.6, text:error handling guidance}} which is part of the {{pagelink:assure, text:assurance}} process.
39+
* there are several levels of interactions occurring from the Sender, through BaRS API to the Receiver and clearly identifying where the fault lies is important for swift resolution. All implementations **must** adhere to the {{pagelink:core-ErrorHandling-1.0.7, text:error handling guidance}} which is part of the {{pagelink:assure, text:assurance}} process.
4040

4141
### Build
4242
#### Environments

guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Current-Releases.page.md

Lines changed: 37 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
## Current Release 1.8.2
1+
## Current Release 1.9.0
22

33
Product Link | Version | Handle | Phase | State | Release Date | Stability | Change Log Link
44
-----------------------|---------|---------|----------|-----------------|--------------|------------|-----------------
5-
Implementation Guide | 1.8.2 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-General}}
5+
Implementation Guide | 1.9.0 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-General}}
66
[FHIR Package](https://simplifier.net/packages/uk.nhsdigital.bars.r4/1.35.0) | 1.35.0| v1 | Live | Current Release | 01/04/2025 | Stable |
7-
{{pagelink:design-core-1.1.6, text:BaRS Core}} | 1.1.6 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-core, text: BaRS Core Change Log}}
8-
[API Specification](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1_1_0) | 1.1.0 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-api}}
7+
{{pagelink:design-core-1.1.6, text:BaRS Core}} | 1.3.0 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-core, text: BaRS Core Change Log}}
8+
[API Specification](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1_1_0) | 1.3.0 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-api}}
99
{{pagelink: build-testing, text: TKW}} | 1.0.19 | v1 | Live | Current Release | 28/03/2025 | Stable |{{pagelink:trn-tkw}}
10-
{{pagelink:application1, text:BaRS-APP1}} | 1.0.7 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-app1,text:BaRS APP1 Change Log}}
11-
{{pagelink:application2, text:BaRS-APP2}} | 1.0.7 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-app2,text:BaRS APP2 Change Log}}
12-
{{pagelink:application3, text:BaRS-APP3}} | 1.0.3 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-app3,text:BaRS APP3 Change Log}}
13-
{{pagelink:application4, text:BaRS-APP4}} | 1.2.2 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-app4,text:BaRS APP4 Change Log}}
14-
{{pagelink:application5, text:BaRS-APP5}} | 1.1.2 | v1 | Live | Current Release | 01/04/2025 | Stable |{{pagelink:trn-app5,text:BaRS APP5 Change Log}}
15-
{{pagelink:application6, text:BaRS-APP6}} | 1.0.0-beta.4 | beta | | Current Release | 01/04/2025 | Pre-Release |{{pagelink:trn-app6,text:BaRS APP6 Change Log}}
16-
{{pagelink:application7, text:BaRS-APP7}} | 1.0.0-alpha.3 | alpha | | Current Release | 01/04/2025 | Pre-Release |{{pagelink:trn-app7,text:BaRS APP7 Change Log}}
10+
{{pagelink:application1, text:BaRS-APP1}} | 1.0.8 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-app1,text:BaRS APP1 Change Log}}
11+
{{pagelink:application2, text:BaRS-APP2}} | 1.0.8 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-app2,text:BaRS APP2 Change Log}}
12+
{{pagelink:application3, text:BaRS-APP3}} | 1.0.4 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-app3,text:BaRS APP3 Change Log}}
13+
{{pagelink:application4, text:BaRS-APP4}} | 1.2.3 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-app4,text:BaRS APP4 Change Log}}
14+
{{pagelink:application5, text:BaRS-APP5}} | 1.1.3 | v1 | Live | Current Release | 02/07/2025 | Stable |{{pagelink:trn-app5,text:BaRS APP5 Change Log}}
15+
{{pagelink:application6, text:BaRS-APP6}} | 1.0.0-beta.5 | beta | | Current Release | 02/07/2025 | Pre-Release |{{pagelink:trn-app6,text:BaRS APP6 Change Log}}
16+
{{pagelink:application7, text:BaRS-APP7}} | 1.0.0-alpha.4 | alpha | | Current Release | 02/07/2025 | Pre-Release |{{pagelink:trn-app7,text:BaRS APP7 Change Log}}
1717

1818

1919

2020
### Overview of the release
2121

22-
Release 1.8.2 includes development of the {{pagelink:core-StandardPattern-appointment-1.1.6, text:Appointment Management Foundation}} guidance and supporting changes to the API specification.
23-
There have been improvements to use-context HTTP header guidance and developer onboarding advice, alongside bug fixes and corrections throughout the guide. Application 5 TKW Receiver scenarios are now documented.
22+
Release 1.9.0 includes development of the {{pagelink:, text:}} guidance and supporting changes to the cancellation workflows, introduces a search capability to the Implementation Guide and....
23+
There have been improvements Application 6 use-case descriptons alongside bug fixes and corrections throughout the guide.
2424

2525
A clinical safety assessment of the scope of this release has determined that it has not significantly changed the clinical safety profile of the BaRS. No new hazards have been identified in this release. The latest version of the BaRS clinical safety case and hazard log can be downloaded from the <a href= "https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/onboarding-support-information#hazard-log-and-clinical-safety-case-report-cscr-" target="_blank"> BaRS FHIR API onboarding support information page </a>.
2626

@@ -63,6 +63,10 @@ Table detailing active versions of the latest Applications in Production (or cur
6363
<td>Application 1 v1.0.7</td>
6464
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.8.2</a></td>
6565
</tr>
66+
<tr>
67+
<td>Application 1 v1.0.8</td>
68+
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.9.0</a></td>
69+
</tr>
6670
<tr>
6771
<td>Application 2 v1.0.1</td>
6872
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.1.0" target="_blank">v1.1.0</a></td>
@@ -83,6 +87,10 @@ Table detailing active versions of the latest Applications in Production (or cur
8387
<td>Application 2 v1.0.7</td>
8488
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.8.2</a></td>
8589
</tr>
90+
<tr>
91+
<td>Application 2 v1.0.8</td>
92+
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.9.0</a></td>
93+
</tr>
8694
<tr>
8795
<td>Application 3 v1.0.0</td>
8896
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.4.0" target="_blank">v1.4.0</a></td>
@@ -99,6 +107,10 @@ Table detailing active versions of the latest Applications in Production (or cur
99107
<td>Application 3 v1.0.3</td>
100108
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.8.2</a></td>
101109
</tr>
110+
<tr>
111+
<td>Application 3 v1.0.4</td>
112+
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.9.0</a></td>
113+
</tr>
102114
<tr>
103115
<td>Application 4 v1.0.0</td>
104116
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.4.0" target="_blank">v1.4.0</a></td>
@@ -115,6 +127,10 @@ Table detailing active versions of the latest Applications in Production (or cur
115127
<td>Application 4 v1.2.2</td>
116128
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.8.2</a></td>
117129
</tr>
130+
<tr>
131+
<td>Application 4 v1.2.3</td>
132+
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.9.0</a></td>
133+
</tr>
118134
<tr>
119135
<td>Application 5 v1.0.0-beta.4</td>
120136
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.4.0" target="_blank">v1.4.0</a></td>
@@ -138,12 +154,16 @@ Table detailing active versions of the latest Applications in Production (or cur
138154
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.8.2</a></td>
139155
</tr>
140156
<tr>
141-
<td>Application 6 v1.0.0-beta.4</td>
142-
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.8.2</a></td>
157+
<td>Application 5 v1.1.3</td>
158+
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.9.0</a></td>
143159
</tr>
144160
<tr>
145-
<td>Application 7 v1.0.0-alpha.3</td>
146-
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.8.2</a></td>
161+
<td>Application 6 v1.0.0-beta.5</td>
162+
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.9.0</a></td>
163+
</tr>
164+
<tr>
165+
<td>Application 7 v1.0.0-alpha.4</td>
166+
<td><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/home?version=1.8.2" target="_blank">v1.9.0</a></td>
147167
<td rowspan=1 style="text-align: center; vertical-align: middle;"><a href="https://simplifier.net/guide/nhsbookingandreferralstandard/Home/Design/BaRS-Core?version=1.0.0" target="_blank">v1.0.0</a></td>
148168
<td rowspan=1 style="text-align: center; vertical-align: middle;"><a href="https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1_0_0" target="_blank">1.0.0</a></td>
149169
</tr>

0 commit comments

Comments
 (0)