diff --git a/CodeSystem/flag-categories-bars.xml b/CodeSystem/flag-categories-bars.xml index d5de1778..f6f25468 100644 --- a/CodeSystem/flag-categories-bars.xml +++ b/CodeSystem/flag-categories-bars.xml @@ -60,4 +60,8 @@ + + + + \ No newline at end of file diff --git a/CodeSystem/location-types-bars.xml b/CodeSystem/location-types-bars.xml index d2fa0c13..512815aa 100644 --- a/CodeSystem/location-types-bars.xml +++ b/CodeSystem/location-types-bars.xml @@ -24,20 +24,29 @@ + + + + + + + + + + + + - - + + - - - - + \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/1.0.8.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/1.0.8.page.md index 3d5eb30c..67e25cb4 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/1.0.8.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/1.0.8.page.md @@ -1,3 +1,6 @@ +
+
+ ## {{page-title}} This is a minor "patch" with clarifications to limited areas of the Implementation Guidance and examples for v1.0.8. @@ -24,7 +27,8 @@ This is a minor "patch" with clarifications to limited areas of the Implementati | bundle.meta.versionID | | This MUST be populated with the version of the Application the bundle complies with. The Receiver will read this to know whether they are capable of processing. | Update | Booking Request |Implementation guidance added | correction | | bundle.meta.versionID | | This MUST be populated with the version of the Application the bundle complies with. The Receiver will read this to know whether they are capable of processing. | Update | Referral Response |Implementation guidance added | correction | +
+
+

- -### Previous Releases \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/2.0.0.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/2.0.0.page.md new file mode 100644 index 00000000..9ee96f06 --- /dev/null +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/2.0.0.page.md @@ -0,0 +1,25 @@ +## {{page-title}} +This is a major release with a significant change to the Implementation Guidance and examples for v2.0.0. The changes are detailed in the change log. + +### Application Change Log + + +
+ + +| Change | Description | Impact | +|-------------------------------------------|-------------------------------------------------|-------------------------------------------------------------------------| +| NHSno | ??? | correction | + +### Payload Change Log + + +| FHIR Element | Previous | Current | Other | Referral/Booking | Rationale | Impact | +|------------------------------------------------------|----------|------------|---------|------------------|-------------------------------------------------------------------------------------------------|----------| +| NHSNo | | | Update | | | correction | + + +
+
+ +### Previous Releases \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/toc.yaml b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/toc.yaml index de7ce16d..5a6c3a54 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/toc.yaml +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP1/toc.yaml @@ -1,5 +1,7 @@ - name: Index filename: Index.page.md +- name: 2.0.0 + filename: 2.0.0.page.md - name: 1.0.8 filename: 1.0.8.page.md - name: 1.0.7 diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/1.0.8.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/1.0.8.page.md index feffef7e..93d93f95 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/1.0.8.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/1.0.8.page.md @@ -1,3 +1,6 @@ +
+
+ ## {{page-title}} This is a minor "patch" with clarifications to limited areas of the Implementation Guidance and examples for v1.0.8. @@ -25,6 +28,9 @@ This is a minor "patch" with clarifications to limited areas of the Implementati | bundle.meta.versionID | | This MUST be populated with the version of the Application the bundle complies with. The Receiver will read this to know whether they are capable of processing. | Update | Booking Request |Implementation guidance added | correction | | bundle.meta.versionID | | This MUST be populated with the version of the Application the bundle complies with. The Receiver will read this to know whether they are capable of processing. | Update | Referral |Implementation guidance added | correction | +
+
+

diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/2.0.0.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/2.0.0.page.md new file mode 100644 index 00000000..9ee96f06 --- /dev/null +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/2.0.0.page.md @@ -0,0 +1,25 @@ +## {{page-title}} +This is a major release with a significant change to the Implementation Guidance and examples for v2.0.0. The changes are detailed in the change log. + +### Application Change Log + + +
+ + +| Change | Description | Impact | +|-------------------------------------------|-------------------------------------------------|-------------------------------------------------------------------------| +| NHSno | ??? | correction | + +### Payload Change Log + + +| FHIR Element | Previous | Current | Other | Referral/Booking | Rationale | Impact | +|------------------------------------------------------|----------|------------|---------|------------------|-------------------------------------------------------------------------------------------------|----------| +| NHSNo | | | Update | | | correction | + + +
+
+ +### Previous Releases \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/toc.yaml b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/toc.yaml index de7ce16d..5a6c3a54 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/toc.yaml +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP2/toc.yaml @@ -1,5 +1,7 @@ - name: Index filename: Index.page.md +- name: 2.0.0 + filename: 2.0.0.page.md - name: 1.0.8 filename: 1.0.8.page.md - name: 1.0.7 diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/1.0.4.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/1.0.4.page.md index c57dafd5..568a9173 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/1.0.4.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/1.0.4.page.md @@ -1,3 +1,6 @@ +
+
+ ## {{page-title}} This is a minor "patch" with clarifications to limited areas of the Implementation Guidance and examples for v1.0.4. @@ -24,6 +27,9 @@ This is a minor "patch" with clarifications to limited areas of the Implementati | careplan.period.start| datetime | dateTime | Update | Referral |Implementation guidance added | correction | | patient.identifier.system | | This SHOULD be populated with the namespace for the Identifier | Update | Referral | Implementation Guidance consistent across all applications | correction | +
+
+

diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/2.0.0.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/2.0.0.page.md new file mode 100644 index 00000000..9ee96f06 --- /dev/null +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/2.0.0.page.md @@ -0,0 +1,25 @@ +## {{page-title}} +This is a major release with a significant change to the Implementation Guidance and examples for v2.0.0. The changes are detailed in the change log. + +### Application Change Log + + +
+ + +| Change | Description | Impact | +|-------------------------------------------|-------------------------------------------------|-------------------------------------------------------------------------| +| NHSno | ??? | correction | + +### Payload Change Log + + +| FHIR Element | Previous | Current | Other | Referral/Booking | Rationale | Impact | +|------------------------------------------------------|----------|------------|---------|------------------|-------------------------------------------------------------------------------------------------|----------| +| NHSNo | | | Update | | | correction | + + +
+
+ +### Previous Releases \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/toc.yaml b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/toc.yaml index 6bf30574..a68b1f8c 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/toc.yaml +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP3/toc.yaml @@ -1,5 +1,7 @@ - name: Index filename: Index.page.md +- name: 2.0.0 + filename: 2.0.0.page.md - name: 1.0.4 filename: 1.0.4.page.md - name: 1.0.3 diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/1.2.3.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/1.2.3.page.md index 81572ecd..c9e3ef26 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/1.2.3.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/1.2.3.page.md @@ -1,3 +1,6 @@ +
+
+ ## {{page-title}} This is a minor "patch" with clarifications to limited areas of the Implementation Guidance and examples for v1.2.3. @@ -31,6 +34,9 @@ This is a minor "patch" with clarifications to limited areas of the Implementati | patient.identifier.system | | This SHOULD be populated with the namespace for the Identifier | Update | Interim Validation Response | Implementation Guidance consistent across all applications | correction | | patient.identifier.system | | This SHOULD be populated with the namespace for the Identifier | Update | Validation Response | Implementation Guidance consistent across all applications | correction | +
+
+

diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/2.0.0.page.md b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/2.0.0.page.md new file mode 100644 index 00000000..9ee96f06 --- /dev/null +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/2.0.0.page.md @@ -0,0 +1,25 @@ +## {{page-title}} +This is a major release with a significant change to the Implementation Guidance and examples for v2.0.0. The changes are detailed in the change log. + +### Application Change Log + + +
+ + +| Change | Description | Impact | +|-------------------------------------------|-------------------------------------------------|-------------------------------------------------------------------------| +| NHSno | ??? | correction | + +### Payload Change Log + + +| FHIR Element | Previous | Current | Other | Referral/Booking | Rationale | Impact | +|------------------------------------------------------|----------|------------|---------|------------------|-------------------------------------------------------------------------------------------------|----------| +| NHSNo | | | Update | | | correction | + + +
+
+ +### Previous Releases \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/toc.yaml b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/toc.yaml index 7be019d6..9139ae54 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/toc.yaml +++ b/guides/Live-ImplementationGuide-BaRS/Home/About-BaRS/Releases/Technical-Release-Notes/TRN-APP4/toc.yaml @@ -1,5 +1,7 @@ - name: Index filename: Index.page.md +- name: 2.0.0 + filename: 2.0.0.page.md - name: 1.2.3 filename: 1.2.3.page.md - name: 1.2.2 diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Cancel-Booking.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Cancel-Booking.page.md index fd2aa418..46343996 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Cancel-Booking.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Cancel-Booking.page.md @@ -8,9 +8,10 @@ Cancellation is documented for completeness. The technical functionality for can Steps to cancel: -* Perform a [GET](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) operation using the id of the appointment to /Appointment/\{id\}. Alternatively, if the .id is not known, a search of the Registry can be undertaken with [GET DocumentReference](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/DocumentReference) (searchset bundle) and selecting the Service and Appointment.id to create the read request of the Appointment resource by .id. NB: If a match cannot be performed using this method, the process of cancelling must be done manually. -* Set the Appointment.status value to "cancelled". NB - It is also permissible to update .reasonCode in the request but no other element. +* Perform a [GET](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) operation using the .id of the appointment to /Appointment/\{id\}. Alternatively, if the .id is not known, a search of the Registry can be undertaken following the {{pagelink:core-StandardPattern-document-reference-Sender-1.3.1, text: Document Reference Standard Pattern - Sender}}. NB: If a match cannot be obtained using this method the process of updating must be performed manually +* Set the Appointment.status value to "cancelled". NB - It is also permissible to update .reasonCode in the request but no other element * Perform a [PUT](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/Appointment/-id-) operation using the id of the appointment to /Appointment/\{id\} +* Once processed, the Receiver of the booking must [DELETE](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#delete-/DocumentReference/-id-) the pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-Receiver-1.3.1, text: Document Reference Standard Pattern - Receiver}} resource returned: ```json @@ -81,7 +82,7 @@ Request body: ```json { "resourceType": "Appointment", - "id":"aca94bdb-2e38-4399-9ece-2ba083ce65b5" + "id":"aca94bdb-2e38-4399-9ece-2ba083ce65b5", "meta": { "lastUpdated": "2024-01-11T16:01:30.8185338+00:00", "profile": [ @@ -110,5 +111,3 @@ Request body: ``` - -Once the appointment is cancelled, the Receiver is responsible for managing the pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-1.3.1, text: Document Reference Standard Pattern}}. \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Initial-Booking.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Initial-Booking.page.md index 0d04fce8..f8d34835 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Initial-Booking.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Initial-Booking.page.md @@ -17,7 +17,8 @@ If undertaking a booking within the context of an Application, the guidance stat * Confirm BaRS [Capabilities](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/metadata) * [Request Available slots](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Slot) * Select a slot -* Perform a [PUT](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/Appointment) operation to complete the booking NB: the returned Appointment.id for future operations +* Perform a [POST](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/Appointment) operation to complete the booking NB: the returned Appointment.id for future operations +* Once processed, the Receiver of the booking must makes a [POST](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/DocumentReference) request to create a pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-Receiver-1.3.1, text: Document Reference Standard Pattern - Receiver}} Request Body @@ -52,8 +53,4 @@ Request Body } ``` - - -Once the appointment is created, the Receiver is responsible for managing the pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-1.3.1, text: Document Reference Standard Pattern}}. - - + \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Introduction.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Introduction.page.md index c5adbc7e..0b503799 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Introduction.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Introduction.page.md @@ -5,14 +5,14 @@ topic: core-StandardPattern-appointment-Introduction-1.3.1 # Standard Pattern - Appointments ## Introduction The [BaRS API](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir) suite can be used where there is no specific use-case supported by the {{pagelink:Home/Applications/BaRS-Applications, text:Applications}} to fulfil generic Appointment workflows, referred to as Appointment Management Foundation. This section outlines the functionality supported, workflows involved and how these correspond with the [API Specification](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0). -This includes using {{pagelink:core-StandardPattern-document-reference-1.3.1, text: DocumentReference Standard Pattern}} to write pointers for Appointments to a central respository, commonly referred to as the Registry. +This includes using {{pagelink:core-StandardPattern-document-reference-1.3.1, text: DocumentReference Standard Pattern}} to write pointers for bookings to a central respository, commonly referred to as the Registry. The Appointment Management Foundation is based on {{pagelink:design-core-1.3.1, text:BaRS Core}} and an understanding of the central tenets is essential before beginning. This includes: - * {{pagelink:core-EndToEndWorkflow-1.3.1, text:End to end workflow }} - how Senders and Receivers, interacting through the central Proxy, negotiate compatibility and engage @@ -20,12 +20,14 @@ The Appointment Management Foundation is based on {{pagelink:design-core-1.3.1, * {{pagelink:core-Security-1.3.1, text:Authentication and Authorisation }} - the central Proxy will handle Authentication but Authorisation is handled by Receivers * {{pagelink:onboarding, text:Onboarding to environments }} - getting access to the central Proxy. This differs for Senders (OAuth) and Receivers (mTLS) -There are four functions that are required surrounding appointments. This section will provide information on how to meet them using the Appointment Resource. +The key functions surrounding appointment bookings are listed below. This section will provide information on how to meet them using the Appointment Resource. -* The ability to book an appointment. -* The ability to cancel an appointment. -* The ability to update an appointment. -* The ability to rebook an appointment. +The ability to - +* book +* update +* cancel +* reschedule +* rebook ## Interface @@ -39,7 +41,8 @@ The following table describes how the BaRS API accomodates these four capabiliti | [Get Slots](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Slot) | /Slots | GET | Obtain a list of available booking slots from a specified receiving system using the [GET /Slots endpoint](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Slot) | | [Book](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/Appointment) | /Appointment or /$process-message | POST | This will be a POST operation, with a BaRS Application /$process-message is typically used, outside of supported use cases /Appointment is adopted.| | [Cancel](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/Appointment/-id-) | /Appointment/\{id\} | PUT| The cancel of a booking will be setting the status of the appointment to "cancelled". Cancel is also possible using /$process-message | -| [Update](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/Appointment/-id-) | /Appointment/\{id\} | PUT / PATCH| An update to an appointment will be a direct update to the existing resource | +| [Update](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/Appointment/-id-) | /Appointment/\{id\} | PUT| An update to an appointment will be a direct update to the existing resource | +| [Reschedule](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/Appointment/-id-) | /Appointment/\{id\} | PATCH| An update the slot against an appointment, altering to the existing resource | | [Rebook](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/Appointment) | Composite of Cancel and then Book | Composite | Requesting a new booking and then cancelling the existing one will constitute a rebook | diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Rebook-Methods.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Rebook-Methods.page.md index 4eeac89b..15b94a32 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Rebook-Methods.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Rebook-Methods.page.md @@ -13,45 +13,7 @@ Steps to perform a rebook: * {{pagelink:core-StandardPattern-appointment-cancel-1.3.1, text:Cancel existing booking}} * {{pagelink:core-StandardPattern-appointment-booking-1.3.1, text:Rebook, following the initial booking workflow}} +* Once processed, the Receiver of the new booking must makes a [POST](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/DocumentReference) request to create a new pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-Receiver-1.3.1, text: Document Reference Standard Pattern - Receiver}} -Request Body - -```json -{ - "resourceType": "Appointment", - "id":"1ed510f2-df15-45b7-8852-8adfb0fcf4f3", - "meta": { - "lastUpdated": "2024-01-11T15:01:30.8185338+00:00", - "profile": [ - "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Appointment" - ] - }, - "status": "booked", - "slot": [ - { - "reference": "Slot/deb4c4b3-870b-4599-84df-5e54cef7afda" - } - ], - "description": "Reason for calling", - "start": "2024-02-12T12:30:30+00:00", - "end": "2024-02-12T12:40:30+00:00", - "created": "2024-10-08T15:01:30+00:00", - "participant": [ - { - "actor": { - "reference": "Patient/788660eb-d2c9-4773-abd4-318484673fb2" - }, - "status": "accepted" - } - ], - "replaces": [ - { - "reference": "Appointment/aca94bdb-2e38-4399-9ece-2ba083ce65b5" - } - ] -} -``` - -Once the appointment is rebooked, the Receiver is responsible for managing the pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-1.3.1, text: Document Reference Standard Pattern }}. diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Reschedule-Existing-Booking.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Reschedule-Existing-Booking.page.md index 0ed83ae9..a9bc4d08 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Reschedule-Existing-Booking.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Reschedule-Existing-Booking.page.md @@ -8,14 +8,12 @@ The Reschedule operation supports amending the slot a booking is made against. T Steps to Reschedule: -* Perform a [GET](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) operation using the id of the appointment to /Appointment/\{id\}. Alternatively, if the .id is not known, a search of the Registry can be undertaken with [GET DocumentReference](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/DocumentReference) (searchset bundle) and selecting the Service and Appointment.id to create the read request of the Appointment resource by .id. NB: If a match cannot be performed using this method, the processing of updating must be done manually. -* Ensure the booking is still active by chekcing the .status -* {{pagelink:core-EndToEndWorkflow-ServiceDiscovery-1.3.1, text:Select the **same** service}} to reschedule the booking with -* Confirm BaRS [Capabilities](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/metadata) -* [Request Available slots](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Slot) +* Perform a [GET](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) operation using the .id of the appointment to /Appointment/\{id\}. Alternatively, if the .id is not known, a search of the Registry can be undertaken following the {{pagelink:core-StandardPattern-document-reference-Sender-1.3.1, text: Document Reference Standard Pattern - Sender}}. NB: If a match cannot be obtained using this method the process of updating must be performed manually +* [Request Available slots](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Slot) from the service * Select a new slot * Update the resource with the new slot. NB: Only the .slot element of the resource must be updated * Perform a [PATCH](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#patch-/Appointment/-id-) operation using the id of the appointment to /Appointment/\{id\} +* Once processed, the Receiver of the booking must [update (PUT)](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/DocumentReference/-id-) the pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-Receiver-1.3.1, text: Document Reference Standard Pattern - Receiver}} In this example the Appointment resource is with the existing slot, and updated with the newly selected slot. @@ -85,5 +83,3 @@ Request Body } ``` - -Once the appointment is rescheduled, the Receiver is responsible for managing the pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-1.3.1, text: Document Reference Standard Pattern }}. diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Update-Existing-Booking.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Update-Existing-Booking.page.md index fe9cd2c9..d22e14c6 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Update-Existing-Booking.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Appointment-StandardPattern/Update-Existing-Booking.page.md @@ -6,8 +6,8 @@ topic: core-StandardPattern-appointment-update-1.3.1 Steps to update: -* Perform a [GET](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) operation using the id of the appointment to /Appointment/\{id\}. Alternatively, if the .id is not known, a search of the Registry can be undertaken with [GET DocumentReference](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/DocumentReference) (searchset bundle) and selecting the Service and Appointment.id to create the read request of the Appointment resource by .id. NB: If a match cannot be performed using this method, the processing of updating must be done manually. -* Update the Appointment resource as required. There is only currently support to alter .status and .reasonCode. NB: The .slot element of the resource must not be updated, if an alternative slot is required either the {{pagelink:core-StandardPattern-appointment-reschedule-1.3.1, text:Reschedule}} or {{pagelink:core-StandardPattern-appointment-rebook-1.3.1, text:Rebook}} processes must be followed. +* Perform a [GET](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) operation using the .id of the appointment to /Appointment/\{id\}. Alternatively, if the .id is not known, a search of the Registry can be undertaken following the {{pagelink:core-StandardPattern-document-reference-Sender-1.3.1, text: Document Reference Standard Pattern - Sender}}. NB: If a match cannot be obtained using this method the process of updating must be performed manually +* Update the Appointment resource as required. There is only currently support to alter .status and .reasonCode. NB: The .slot element of the resource must not be updated, if an alternative slot is required either the {{pagelink:core-StandardPattern-appointment-reschedule-1.3.1, text:Reschedule}} or {{pagelink:core-StandardPattern-appointment-rebook-1.3.1, text:Rebook}} processes must be followed * Perform a [PUT](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/Appointment/-id-) operation using the id of the appointment to /Appointment/\{id\} resource returned: @@ -79,5 +79,3 @@ Request Body } ``` - -Once the appointment is updated, the Receiver is responsible for managing the pointer in the central Registry, as described in {{pagelink:core-StandardPattern-document-reference-1.3.1, text: Document Reference Standard Pattern}}. diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Introduction.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Introduction.page.md index ee97dabb..5c9898d2 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Introduction.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Introduction.page.md @@ -10,12 +10,12 @@ topic: core-StandardPattern-document-reference-Introduction-1.3.1 ## Introduction -In version 1.1.0 of the BaRS API Specification, functionality was added to accommodate the use of pointers (DocumentReference resources), to locate existing bookings and referrals. +There is functionality in BaRS to accommodate the use of pointers (DocumentReference resources), to locate existing bookings and referrals from a central Registy. -The FHIR DocumentReference resource allows you to reference and locate clinical documents or resources. This section will walk you through the process of using a FHIR DocumentReference to find a resource's location and retrieve it. +This section will walk you through the process of using FHIR DocumentReferences, from the central Registry, to find and retrieve bookings and referrals held at Receiver services. -The BaRS API acts as a gateway to the National Record Locator FHIR API for BaRS enabled Services. In the image below the BaRS API is interacted with by Consumers and Producers. -* Consumer - Queries the API for existing DocumentReferences for use in finding existing Bookings and Referrals. This is usually a BaRS [Sender](https://simplifier.net/guide/nhsbookingandreferralstandard/Home/Design/BaRS-Core?version=current#Core-functionality-requirements). -* Producer - Posts and maintains DocumentReferences for Bookings and Referrals that they have received. This is invariably the BaRS [Receiver](https://simplifier.net/guide/nhsbookingandreferralstandard/Home/Design/BaRS-Core?version=current#Core-functionality-requirements). +The BaRS API acts as a gateway to the National Record Locator (NRL) FHIR API, for BaRS enabled Services. In the image below the BaRS API is called by Consumers and Producers. +* Consumer - Queries the API for existing DocumentReferences for use in finding existing Bookings and Referrals. Usually a BaRS [Sender](https://simplifier.net/guide/nhsbookingandreferralstandard/Home/Core/1.3.0/Core-Functionality-Requirements). +* Producer - Posts and maintains DocumentReferences for Bookings and Referrals that they have received. Usually a BaRS [Receiver](https://simplifier.net/guide/nhsbookingandreferralstandard/Home/Core/1.3.0/Core-Functionality-Requirements). diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Receiver-DocumentReference.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Receiver-DocumentReference.md index 41011bb1..e6e8aae8 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Receiver-DocumentReference.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Receiver-DocumentReference.md @@ -6,33 +6,63 @@ topic: core-StandardPattern-document-reference-Receiver-1.3.1 ## Creating a DocumentReference. -The FHIR DocumentReference resource allows you to create a reference to a clinical document or resource. This section describes the process of creating a FHIR DocumentReference for a resource. A DocumentReference will be created when a Receiver accepts a Booking or a Referral. Each request will warrant a distinct Document Reference. +The FHIR DocumentReference resource allows you to create a reference to a clinical document or resource. This section describes the process of creating a FHIR DocumentReference (pointer) for a booking or referral resource on the central Registry. A DocumentReference will be created when a Receiver accepts a booking or referral. Each booking or referral request processed requires a distinct DocumentReference on the Registry. -### Step 1: Understand the Document Reference Resource -The Document Reference resource in FHIR represents a reference to a clinical document or resource. It contains metadata about the document, such as its type, author, and creation date, along with a reference to the actual document's location. Within BaRS the DocumentReference acts as a pointer towards ServiceRequests, or Appointment resources. -### Step 2: Identify the Resource to Reference -Determine the resource that you want to create a Document Reference for. This will be any ServiceRequest or Appointment Resource that has been created in the Receiver system by means of a booking request or a service request. +### Step 1: Identify the booking or referral to create a pointer for +When a Receiver processes a request for a booking (Appointment) or referral (ServiceRequest), the next step in the workflow is to create a pointer for the newly created resource (Appointment or ServiceRequest) on the central Registry. This will be undertaken via a POST [DocumentReference](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/DocumentReference) request to the BaRS Proxy. -The resources themselves will have unique identifiers upon creation in the receiver system. -### Step 3: Set the Metadata of the Document Reference -Create a new instance of the Document Reference resource and populate the relevant metadata fields. key fields to include are as follows: +### Step 2: Set content of the DocumentReference (pointer) +Create a new instance of the DocumentReference resource and populate the relevant fields. Key fields to include are as follows: -type: Specify the type of document or resource being referenced. For example, if you are referencing a referral you would use the value `https://snomed.info/ict|736253002` or if it is a booking `https://snomed.info/ict|749001000000101`. +**identifier:** The DocumentReference needs several identifiers which allow the booking or referral to be located at a Receiver service. + +The resource .id of the booking (Appointment) or referral (ServiceRequest) (created by the Receiver when processing the request) must be set in the 'value' element of an Identifier, clarified by the system '*https://fhir.nhs.uk/Id/BaRS-Identifier*'. + +```json +"identifier": [ + { + "system": "https://fhir.nhs.uk/Id/BaRS-Identifier", + "value": "8c63d621-4d86-4f57-8699-e8e22d49935d" + } +``` + +The second identifier of note is the Receiving service who own the resource. The 'system' indicates the Service Discovery tool and the 'value', the identifier. In the code snippet below, the system '*https://fhir.nhs.uk/Id/dos-service-id*' indicates the Receiver service is on the Urgent and Emergency Care Directory of Services (UEC DoS) as service 2000072491. The Sender of any request will use the 'system' and 'value' here to build the base64 encoded HTTP Header NHSD-Target-Identifier, as defined for the [booking](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) or [referral](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/ServiceRequest/-id-). + +```json +"identifier": [ + { + "system": "https://fhir.nhs.uk/Id/dos-service-id", + "value": "2000072491" + } +``` + +The third identifier (currently optional) relates to the product-id, system '*https://fhir.nhs.uk/id/product-id*'. This is forth coming functionality and further detail on its utility will follow but [working documentation] (https://github.com/NHSDigital/nhse-epr-integration/blob/main/pages/appendix1.md) is being actively updated. + +```json +"identifier": [ + { + "system": "https://fhir.nhs.uk/Id/product-id", + "value": "P.GH7-4TY" + } +``` + +**type:**, within the DocumentReference resource, indicates whether the pointer is for a booking or referral. BaRS currently only supports bookings (749001000000101) and referrals (736253002), described using SNOMED codes. ```json "type": { "coding": [ { "system": "https://snomed.info/ict", - "code": "736253002" + "code": "749001000000101" } ] } ``` -subject: Specify the subject of the document reference, which is typically the patient associated with the Resource. +**subject:** specifies the subject of the DocumentReference, which will be the patient associated with the Resource. The patient's NHS number must be used to identify them, as outlined below. + ```json "subject": { "identifier": { @@ -42,7 +72,8 @@ subject: Specify the subject of the document reference, which is typically the p }, ``` -custodian: Set the author of the document reference, which will be the ODS code for the organisation writing the DocumentReference. +**custodian:** Set the author of the DocumentReference, which will be the ODS code for the organisation writing the DocumentReference resource entry. + ```json "custodian": { "identifier": { @@ -53,53 +84,23 @@ custodian: Set the author of the document reference, which will be the ODS code ``` -### Step 4: Set the Content Reference -The content element of the Document Reference resource contains the reference to the location of the actual resource. Create a new instance of the content element and set the attachment property. The attachment property has a URL field where you specify the location of the resource. - -Access the content element of the Document Reference. This element contains the reference to the location of the actual resource. The content element is typically an array, as a DocumentReference can reference multiple versions or representations of the same document. Each item in the array will have a URL element, which specifies the location of the resource. - -The content.attachment.URL element in this example is a URL friendly Target Identifier for the receiver endpoint, of which can be used to retrieve the resource via the BaRS proxy by a consumer/sender. This element can also contain a direct URL if appropriate. -The content.format element will contain the coding that describes the format of the resource in question. In this instance this is a [BaRS message event](https://simplifier.net/nhsbookingandreferrals/message-events-bars) of "servicerequest-request". ensure you set the creation date of the resource. - -```json -"content": [ - { - "attachment": { - "language": "en-UK", - "URL": "http://fhir.nhs.uk/Id/dos-service-id|111111111", - "title": "Physical", - "creation": "2005-12-24T09:35:00+11:00" - }, - "format": [ - { - "coding": [ - { - "system": "https://fhir.nhs.uk/CodeSystem/message-events-bars", - "code": "servicerequest-request" - } - ] - } - ] - } -] -``` -### Step 5: Save and Transmit the DocumentReference -Once you have populated all the necessary fields, you will need to perform a POST of the DocumentResource to the /DocumentReference endpoint on the BaRS proxy. This will create a DocumentReference in the NRL. +### Step 3: Save and Transmit the DocumentReference (pointer) +Once all the necessary fields are populated, perform a [POST](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#post-/DocumentReference) of the DocumentReference to the /DocumentReference endpoint on the BaRS proxy. This will create a DocumentReference in the NRL. -After saving, the DocumentReference will be assigned a unique id (e.g., DocumentReference/12345). You can use this identifier to reference or retrieve the DocumentReference in the future. +After saving, the DocumentReference will be assigned a unique id (e.g., DocumentReference/12345). This can be used to reference or [retrieve](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/DocumentReference/-id-) the DocumentReference in the future. -### Step 6: Verify the DocumentReference -To ensure that the DocumentReference was created successfully, you can retrieve it using its identifier or search for it using relevant parameters. Make sure to validate the returned DocumentReference to confirm that all the metadata and content references are accurate. +### Step 4: Verify the DocumentReference +To ensure that the DocumentReference was created successfully, retrieve it using its [id](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/DocumentReference/-id-) or [search](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/DocumentReference) for it using relevant parameters. Make sure to validate the returned DocumentReference to confirm that all the contents are accurate. ### Updating a DocumentReference -A DocumentReference can be updated by performing a PUT request with the updated resource to the /DocumentReference endpoint on the BaRS proxy with the appropriate id. A Read operation must be performed prior to this to ensure that the new DocumentReference is the most up to date. +A DocumentReference can be updated by performing a [PUT](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#put-/DocumentReference/-id-) request with the updated resource to the /DocumentReference endpoint on the BaRS proxy with the appropriate DocumentReference.id. A Read operation must be performed prior to this to ensure that the new DocumentReference is the most up to date. -**Note**: You can only delete DocumentReference resources that you own and that you created. +**Note**: A Receiver can only update DocumentReference resources that they created and own. ### Delete a DocumentReference -A DocumentReference can be updated by performing a DELETE request with the resource to the /DocumentReference endpoint on the BaRS proxy with the appropriate id. A Read operation must be performed prior to this to ensure that the Action is appropriate. +A DocumentReference can be removed by performing a [DELETE](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#delete-/DocumentReference/-id-) request to the /DocumentReference endpoint on the BaRS proxy with the appropriate DocumentReference.id. A Read operation must be performed prior to this to ensure that the action is appropriate. -**Note**: You can only delete DocumentReference resources that you own and that you created. +**Note**: A Receiver can only delete DocumentReference resources that they created and own. diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Sender-DocumentReference.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Sender-DocumentReference.md index b04c75c7..4b9aacb3 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Sender-DocumentReference.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/DocumentReference-StandardPattern/Sender-DocumentReference.md @@ -5,22 +5,21 @@ topic: core-StandardPattern-document-reference-Sender-1.3.1 # {{page-title}} ### Step 1: Understand the Document Reference Resource -The Document Reference resource in FHIR represents a reference to a clinical document or resource. It contains metadata about the document, such as its type, author, and creation date, subject (the patients NHS number), as well as a reference to the actual document's location (URL) and markers for how the method needed to retrieve it. +The FHIR DocumentReference resource represents a reference to a clinical document or resource, in the case of BaRS a pointer to an active booking or referral. It contains metadata about the booking or referral, such as its type (booking or referral), author, and subject (the patient's NHS number), as well as a reference to the actual document's .id and where it resides (the service who owns it); the two key data points needed to retrieve it. -### Step 2: Search for the Document Reference -To find a resource's location, you need to search for the appropriate DocumentReference resource. The most common way to search for Document References is by using search parameters. +### Step 2: Search for the booking or referral pointer (DocumentReference) +FHIR DocumentReference resources holding pointers for BaRS bookings and referrals are stored in a central Registry, within NRL (National Record Locator), as decribed above, and interrogated through the [BaRS API DocumentReference](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/DocumentReference). -For example, if you are looking for a DocumentReference that represents a referral, you could use the following search query, where a snomed code is used to define the type of the document: +To find a booking or referral location, you need to search for the appropriate DocumentReference resource from the Registry, using search parameters. It is mandatory to include the subject:identifier (the patient's NHS number), other parameters can be used to filter the response further e.g type of document (booking and referral). -GET [base-URL]/DocumentReference?type=https://snomed.info/ict|736253002 +### Step 3: Inspect the booking or referral pointer (DocumentReference) +Once you retrieve the Document Reference(s) (pointers) from the search, inspect the returned resources to identify the one you need. Look for relevant metadata, as described below, to confirm the correct resource. -The Booking and Referrals API [v1.1.0 specification](google.com) has more information on search parameters available. +**identifier:** The DocumentReference will have several identifiers which are required to locate the booking or referral at a Receiver service. -### Step 3: Inspect the Document Reference -Once you retrieve the Document Reference(s) from the search, inspect the returned resources to identify the one you need. Look for relevant metadata like the document type, author, creation date or format to confirm it is the correct resource. +The .id of the booking or referral is indicated by the system '*https://fhir.nhs.uk/Id/BaRS-Identifier*'. The value can be used to directly request the [booking](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) or [referral](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/ServiceRequest/-id-) by .id, once you know Receiver service holding it (see next identifier). -identifier: The DocumentReference will have an identifier stating the id of the resource. -``` +```json "identifier": [ { "system": "https://fhir.nhs.uk/Id/BaRS-Identifier", @@ -28,19 +27,41 @@ identifier: The DocumentReference will have an identifier stating the id of the } ``` -type: Below you can see the type, within the DocumentReference Resource. Within BaRS there is currently only bookings (749001000000101) and Referrals (736253002), described using SNOMED codes. +The second identifier, required to make the subsequent request for the booking or referral in question, has a system of '*https://fhir.nhs.uk/Id/dos-service-id*' and enables the Sender to direct their request to the Receiver service which owns it. The Sender will use the system and value here to build the base64 encoded HTTP Header NHSD-Target-Identifier, as defined for the [booking](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) or [referral](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/ServiceRequest/-id-). + +```json +"identifier": [ + { + "system": "https://fhir.nhs.uk/Id/dos-service-id", + "value": "2000072491" + } +``` + +The third identifier (currently optional) relates to the product-id, system '*https://fhir.nhs.uk/id/product-id*'. This is forth coming functionality and further detail on its utility will follow but [working documentation] (https://github.com/NHSDigital/nhse-epr-integration/blob/main/pages/appendix1.md) is being actively updated. + +```json +"identifier": [ + { + "system": "https://fhir.nhs.uk/Id/product-id", + "value": "P.GH7-4TY" + } +``` + +**type:** within the DocumentReference Resource, indicates whether the pointer is for a booking or referral. BaRS currently only supports bookings (749001000000101) and referrals (736253002), described using SNOMED codes. This information is required to direct the subsequent request to the correct endpoint for the [booking](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) or [referral](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/ServiceRequest/-id-) + ```json "type": { "coding": [ { "system": "https://snomed.info/ict", - "code": "736253002" + "code": "749001000000101", + "display": "Appointment (record artifact)" } ] } ``` -subject: The subject will describe the patient, by means of an NHS number. +**subject:** The subject will describe the patient, by means of an NHS number. This element is not explicitly required to request the specific resource dictated by the pointer but could be used to search a service more widely for related [bookings](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment) and [referrals](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/ServiceRequest), using the search by patient endpoints. ```json "subject": { @@ -50,7 +71,7 @@ subject: The subject will describe the patient, by means of an NHS number. } ``` -custodian: The custodian element will describe the organization that owns the resource data. This will be a concatenation of ODS codes. +**custodian:** The custodian element will describe the organisation that owns the resource data. This will be a concatenation of ODS codes. ```json "custodian": { @@ -60,51 +81,24 @@ custodian: The custodian element will describe the organization that owns the re } } ``` -### Step 4: Retrieve the Resource's Location -Access the content element of the Document Reference. This element contains the reference to the location of the actual resource. The content element is typically an array, as a Document Reference can reference multiple versions or representations of the same document. Each item in the array will have a URL element, which specifies the location of the resource. -The content.attachment.URL element in this example is a URL friendly Target Identifier, of which can be used to retrieve the resource. This element can also contain a direct URL if appropriate. -The content.format element will contain the coding that describes the format of the resource in question. In this instance this is a [BaRS message event](https://simplifier.net/nhsbookingandreferrals/message-events-bars) of "servicerequest-request". +### Step 4: Retrieve the booking or referral +The booking or referral resource can be retrieved by making a GET request for the [booking](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/Appointment/-id-) or [referral](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir/v1.3.0#get-/ServiceRequest/-id-). -```json -"content": [ - { - "attachment": { - "language": "en-UK", - "URL": "http://fhir.nhs.uk/Id/dos-service-id|111111111", - "title": "Physical", - "creation": "2005-12-24T09:35:00+11:00" - }, - "format": [ - { - "coding": [ - { - "system": "https://fhir.nhs.uk/CodeSystem/message-events-bars", - "code": "servicerequest-request" - } - ] - } - ] - } -] -``` -### Step 5: Retrieve the Resource -Retrieve the resource by making a GET request to the URL specified in the URL element of the Document Reference's content. Ensure that you have the necessary authorization and access privileges to retrieve the resource. +The two key values required to make the request are the first two identifiers in the DocumentReference; the resource .id ('*https://fhir.nhs.uk/Id/BaRS-Identifier*') and service id ('*https://fhir.nhs.uk/Id/dos-service-id*'). Use the resource .id populate the location of the request and service id to populate the NHSD-Target-Identifier HTTP Header, as described in the worked example below. -For BaRS, a GET of the relevant resource type using the Target Identifiers. In this simplified example the URL above containing a TargetIdentifier is used in the NHSD-Target-Identifier header to instruct the BaRS proxy to route to the request to that target **note**: The header is not base64Encoded in this example: +For BaRS, a GET of the relevant resource using the Target Identifiers. In this simplified example, the identifier containing the service id is used in the NHSD-Target-Identifier header, instructing the BaRS proxy to route to the request to that target **note**: The header is not base64Encoded in this example: -``` bash -cURL --location 'https://int.api.service.nhs.uk/booking-and-referral/FHIR/R4/ServiceRequest/8c63d621-4d86-4f57-8699-e8e22d49935d' \ +```bash +cURL --location 'https://int.api.service.nhs.uk/booking-and-referral/FHIR/R4/Appointment/8c63d621-4d86-4f57-8699-e8e22d49935d' \ --header 'X-Request-ID: {{X-Request-ID}}' \ --header 'X-Correlation-ID: {{X-Correlation-ID}}' \ --header 'NHSD-Target-Identifier: {system:"http://fhir.nhs.uk/Id/dos-service-id", value:"111111111"}' \ --header 'Accept: application/fhir+json' \ ``` -Also, if the content element has a direct URL, this can be obtained using a direct GET request. - -### Step 6: Handle the Retrieved Resource -Once you have retrieved the resource, you can process it according to your requirements. The format and structure of the resource will depend on the specific resource type, such as Patient or ServiceRequest. Refer to the FHIR documentation or resource-specific or application-specific guides for further information on handling the retrieved resource. +### Step 5: Handle the Retrieved booking or referral +Once you have retrieved the booking or referral resource, it can be used in subsequent workflows. Refer to the FHIR documentation or resource-specific or application-specific guides for further information on handling the retrieved resource. **Note**: It's important to consider the security and privacy aspects when working with clinical documents and resources. Ensure that you adhere to applicable regulations and best practices to protect patient data. diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Index.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Index.page.md index f3e36952..bfcbc5e7 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Index.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Core/1.3.1/Index.page.md @@ -22,7 +22,7 @@ topic: design-core-1.3.1 -# BaRS Core 1.3.0 +# BaRS Core 1.3.1 BaRS consists of BaRS Core that provides a core set of functionality and BaRS Applications that provide distinct functionality for each use case. @@ -211,12 +211,13 @@ For more detail please visit the {{pagelink:Core-StandardPattern-1.3.1, text: St # Standard Pattern - Appointment -There are 4 capabilities that are required surrounding appointments. This section will provide information on how to meet them. +The key capabilities surrounding appointments are listed below. This section will provide information on how to meet them. -* The ability to book an appointment. -* The ability to cancel an appointment. -* The ability to update an appointment. -* The ability to rebook an appointment. +* book +* update +* cancel +* reschedule +* rebook For more detail please visit the {{pagelink:core-StandardPattern-appointment-1.3.1, text: Appointment Standard Pattern}} section. diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Deploy/toc.yaml b/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Deploy/toc.yaml index b01110cb..f62a5c9e 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Deploy/toc.yaml +++ b/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Deploy/toc.yaml @@ -6,5 +6,3 @@ filename: KeyDeploymentActivities.page.md - name: Roles & Responsibilities filename: RolesAndResponsibilities.md -- name: DoS Configuration - filename: DirectoryOfServiceConfiguration.md \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Technical deployment/Index.page.md b/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Technical deployment/Index.page.md index aa5a68e2..0b9e0759 100644 --- a/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Technical deployment/Index.page.md +++ b/guides/Live-ImplementationGuide-BaRS/Home/Deploy/Technical deployment/Index.page.md @@ -1,6 +1,5 @@ --- topic: technical deployment --- -# Index diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/999-AST-to-CAS-Referral.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/999-AST-to-CAS-Referral.page.md deleted file mode 100644 index 0ec7d8d2..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/999-AST-to-CAS-Referral.page.md +++ /dev/null @@ -1,44 +0,0 @@ -## {{page-title}} - -This guidance is specific to the 999 AST to CAS Referral Application. It should be applied alongside the core guidance. - -#### UKcore-Encounter resource - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|---------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------|----------------------------| -| start | 0..1 | This SHOULD be populated with the Call Connect time (T0). If this is not available it SHOULD be populated with the Call Answer Time (T1) | | - - -#### UKCore-CarePlan resource - - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|---------------------|--------------------|-----------------------------------------------------------------------------------------------------------|-------------------------| -| system | 0..1 | * Pathways Symptom Group (SG) code use ‘https://fhir.nhs.uk/Id/pathways-sg-code’ value | | -| code | 0..1 | When you are passing an SG code this MUST be populated with the SG code | | -| display | 0..1 | When you are passing an SG code this MUST be populated the SG code description | | -| system | 0..1 | * Pathways Symptom Discriminator (SD) code use ‘https://fhir.nhs.uk/Id/pathways-sd-code’ value | | -| code | 0..1 | When you are passing an SD code this MUST be populated with the SD code | | -| display | 0..1 | When you are passing an SD code this MUST be populated the SD code description | | -| system | 0..1 | * Pathways Disposition (DX) code use ‘https://fhir.nhs.uk/Id/pathways-dx-code’ value | | -| code | 0..1 | When you are passing an Dx code this MUST be populated with the Dx code | | -| display | 0..1 | When you are passing an Dx code this MUST be populated the Dx code description | | -| system | 0..1 | * Ambulance Response Programme (ARP) code use ‘https://fhir.nhs.uk/Id/pathways-arp-code’ value | | -| code | 0..1 | When you are passing an ARP code this MUST be populated with the ARP code | | -| display | 0..1 | When you are passing an ARP code this MUST be populated the ARP code description | | -| system | 0..1 | * AMPDS Dispatch Code use ‘https://fhir.nhs.uk/Id/ampds-code’ value | | -| code | 0..1 | When you are passing an AMPDS dispatch code this MUST be populated with the AMPDS dispatch code | | -| display | 0..1 | When you are passing an AMPDS dispatch code this MUST be populated the AMPDS dispatch code description | | - - -#### UKCore-Organisation resource - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|---------------------|--------------------|--------------------------------------------------------------------------------|----------------------------| -| value | 0..1 | Sender ODS code in the event that they need to receive an ambulance request. | | - - - -#### UKCore-QuestionnaireResponse resource - -This resource is used to communicate links to external sources of clinical information used in the triage/assessment of the patient that would be useful to the recipient. \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/999-AST-to-CAS-Validation.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/999-AST-to-CAS-Validation.page.md deleted file mode 100644 index 0248c13d..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/999-AST-to-CAS-Validation.page.md +++ /dev/null @@ -1 +0,0 @@ -## {{page-title}} \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Index.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Index.page.md deleted file mode 100644 index f7bdc30a..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Index.page.md +++ /dev/null @@ -1,3 +0,0 @@ -## {{page-title}} - -
\ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/NHS-111--including-CAS--to-ED.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/NHS-111--including-CAS--to-ED.page.md deleted file mode 100644 index 1dfc4c13..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/NHS-111--including-CAS--to-ED.page.md +++ /dev/null @@ -1,44 +0,0 @@ -## {{page-title}} - -This guidance is specific to the NHS 111 (including CAS) to ED Application. It should be applied alongside the core guidance. - -#### BARS ServiceRequest-Request Referral - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|---------------------|--------------------|---------------------------------------------------------------------------------------------------------------------|----------------------------| -| supportingInfo | 0..1 | This is used to indicate RejectedServices (Flag and Questionnaire Repsonse) or link to an Appointment resource | | -| reference | 0..1 | reference to Rejected Service Questionnaire or Flag or, alternatively, link to an Appointment | | -| display | 0..1 | Display info | | - - -#### UKCore-Encounter resource - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|---------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------| -| start | 0..1 | This SHOULD be populated with the time the contact with the practicioner was established. This SHOULD be the contact immediately prior to the referral being sent. | | - -#### UKCore-CarePlan resource - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|---------------------|--------------------|--------------------------------------------------------------------------------------------------|----------------------------| -| system | 0..1 | * Pathways Symptom Group (SG) code use ‘https://fhir.nhs.uk/Id/pathways-sg-code’ value | | -| code | 0..1 | When you are passing an SG code this MUST be populated with the SG code. | | -| display | 0..1 | When you are passing an SG code this MUST be populated the SG code description | | -| system | 0..1 | * Pathways Symptom Discriminator (SD) code use ‘https://fhir.nhs.uk/Id/pathways-sd-code’ value | | -| code | 0..1 | When you are passing an SD code this MUST be populated with the SD code | | -| display | 0..1 | When you are passing an SD code this MUST be populated the SD code description | | -| system | 0..1 | * Pathways Disposition (DX) code use ‘https://fhir.nhs.uk/Id/pathways-dx-code’ value | | -| code | 0..1 | When you are passing an Dx code this MUST be populated with the Dx code | | -| display | 0..1 | When you are passing an Dx code this MUST be populated the Dx code description | | - - -#### UKCore-Organisation resource - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|---------------------|--------------------|-------------------------------|-------------------------| -| value | 0..1 | Sender ODS code for reference | | - - -#### UKCore-QuestionnaireResponse resource - -This resource is used to communicate links to external sources of clinical information used in the triage/assessment of the patient that would be useful to the recipient. It is also used to communicate details of services rejected by the patient. \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Referral-Request-Payload.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Referral-Request-Payload.page.md deleted file mode 100644 index 44cd2c11..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Referral-Request-Payload.page.md +++ /dev/null @@ -1,279 +0,0 @@ -# Urgent Referral Payload - -### Applications using this Definition - -{{pagelink:Home/Design/Design--Applications/Applications/111-ED/Index.page.md}} - -{{pagelink:home-design-design--applications-applications-999-cas-referral-index}} -
- -### What is it for? - -The Payloads in this definition are used for workflows that refer patients into or between urgent care services. - -
- -### What is it made up of? - -There are two payloads in this definition. - -1. the request stage of the workflow - -2. the response stage of the workflow - -
- -### Payload Definitions - -{{render:CapabilityStatementflows.drawio}} - -
- -#### BARS MessageDefinition ServiceRequest-Request Referral - -When making a request to transfer a patient to a service the BARSMessageDefinition-ServiceRequest-Request Referral Message Definition is used to define how the bundle should be built. - -This Message Definition is built with the following specific values: - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|------------------------|-------------|-----------------------------------------------------|--------------------------------------------------| -| url | 1..1 | Business Identifier for a given MessageDefinition | | -| status | 1..1 | active | | -| date | 1..1 | Date last changed | | -| useContext | 1..1 | | We are expecting the UseContext to be a DOS ID | -| useContext.code.system | 1..1 | https://fhir.nhs.uk/Id/dos-service-id | | -| useContext.code.code | 1..1 | dos-id | | -| event.system | 1..1 | https://fhir.nhs.uk/CodeSystem/message-events-bars | | -| event.code | 1..1 | servicerequest-request | | -| focus | 2..* | | Bundle and MessageHeader resources must be included in a message type Bundle | -| focus.code | 1..1 | Type of resource | | -| focus.profile | 1..1 | Profile that must be adhered to by focus | | -| focus.min | 1..1 | Minimum number of focuses of this type | | -| focus.max | 1..1 | Maximum number of focuses of this type | | - -
- - - -
- -
-

Table

- {{table:https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-request-referral}} -
- -
-

XML

- {{xml:https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-request-referral}} -
- -
-

JSON

- {{json:https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-request-referral}} -
- -
- -## Referral Request workflow - -When building a bundle from this message definition the following resources are included: - -{{render:bars-map-servicerequest-request-referral}} - -
- -As can be seen from the diagram, the bundle is made up of the following resources: - -#### {{pagelink:Home/FHIRAssets/AllAssets/AllProfiles/BARSBundleMessage.guide.md}} - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|----------------|-------------|-----------------------------------------------|---------------------------------------------------------------------------| -| type | 1..1 | fixed value "message" | The bundle type further expects the next resource to be a MessageHeader | -| timestamp | 1..1 | The date/time that the bundle was assembled | | - -{{tree:https://fhir.nhs.uk/StructureDefinition/BARSBundleMessage, hybrid}} - -
- -#### {{pagelink:Home/FHIRAssets/AllAssets/AllProfiles/BARSMessageHeader-ServiceRequest-Request.guide.md}} - -The MessageHeader resource carries information such as the sender and receiver as is a wrapper for the message. The event.system and event.code will match the MessageDefinition corresponding values. The definition element has a direct link to the MessageDefinition that will be used to check validation of the Bundle contents. - -CDSS Extension - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|----------------------|-------------|----------------------------------------------------|--------------------------------------------------| -| event.system | 1..1 | https://fhir.nhs.uk/CodeSystem/message-events-bars | | -| event.code | 1..1 | servicerequest-request | | -| destination | 1..* | | | -| destination.endpoint | 1..1 | | | -| source | 1..1 | | | -| source.endpoint | 1..1 | | | -| reason | 1..1 | | | -| reason.coding.system | 0..1 | https://fhir.nhs.uk/CodeSystem/message-reason-bars | | -| reason.coding.code | 0..1 | new or update | | -| definition | 0..1 | MessageDefinition | Link to the MessageDefinition for this message | - -{{tree:https://fhir.nhs.uk/StructureDefinition/BARSMessageHeader-servicerequest-request, hybrid}} - -
- -#### {{pagelink:Home/FHIRAssets/AllAssets/AllProfiles/BARSServiceRequest-RequestReferral.guide.md}} - -The ServiceRequest carries the information on the type of Referral, determined by the Category. - -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -|------------------------|-------------|----------------------------------------------------------------|-----------------------| -| status | 1..1 | active | | -| intent | 1..1 | plan | | -| category | 1..1 | | | -| category.coding.system | 0..1 | https://fhir.nhs.uk/CodeSystem/message-category-servicerequest | | -| category.coding.code | 0..1 | referral | | -| subject | 1..1 | UK Core Patient | | -| authoredOn | 1..1 | dateTime | Date request signed | - -{{tree:https://fhir.nhs.uk/StructureDefinition/BARSServiceRequest-request-referral, hybrid}} - -
- -#### UKCore-HealthcareService resource - -http://hl7.org/fhir/StructureDefinition/HealthcareService - -https://fhir.hl7.org.uk/StructureDefinition/UKCore-HealthcareService - -Defines the UK Core constraints and extensions on the HealthcareService resource for the minimal set of data to query and retrieve healthcare service information. - -This profile allows exchange of details of a healthcare service available at a location. - -| HealthcareService | | | | -|----------------------|-------------|--------------------------------------|---------------------| -| FHIR Element | Cardinality | Element Guidance | Additional Guidance | -| identifier.system | 1..1 | http://fhir.nhs.uk/Id/dos-service-id | | -| identifier.code | 1..1 | dos-id | | -| active | 1..1 | fixed value "true" | | -| providedBy.reference | 0..1 | Organization providing the service | | -| name | 0..1 | Name of HealthcareService | | - -
- -#### UKCore-Encounter resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-Encounter - -Defines the UK Core constraints and extensions on the Encounter resource for the minimal set of data to query and retrieve encounter information. - -This profile allows exchange of information about an interaction between an individual and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of an individual. - -
- -#### UKCore-CarePlan resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-CarePlan - -Defines the UK Core constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient’s Care Plan. - -
- -#### UKCore-Patient resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-Patient - -Defines the UK Core constraints and extensions on the Patient resource for the minimal set of data to query and retrieve an individual’s demographic information. - -This profile allows exchange of demographics and other administrative information about an individual receiving care or other health-related services. - -
- -#### UKCore-PractitionerRole resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-PractitionerRole - -Defines the UK Core constraints and extensions on the PractitionerRole resource for the minimal set of data to query and retrieve practitioner role information. - -This profile allows exchange of a specific set of roles, specialties and services that a practitioner may perform at an organisation for a period of time. - -
- -#### UKCore-Practitioner resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-Practitioner - -Defines the UK Core constraints and extensions on the Practitioner resource for the minimal set of data to query and retrieve practitioner information. - -This profile allows exchange of information about all individuals who are engaged in the healthcare process and healthcare-related services as part of their formal responsibilities and this profile is used for attribution of activities and responsibilities to these individuals. - -
- -#### UKCore-Organization resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-Organization - -Defines the UK Core constraints and extensions on the Organization resource for the minimal set of data to query and retrieve organisation information. - -This profile allows exchange of a formally or informally recognised grouping of people or organisations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. - -
- -#### UKCore-MedicationStatement resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-MedicationStatement - -Defines the UK Core constraints and extensions on the MedicationStatement resource for the minimal set of data to query and retrieve medication statement information. - -This profile allows exchange of a record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the individual may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the individual, significant other (such as a family member or spouse), or a clinician. - -
- -#### UKCore-AllergyIntolerance resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-AllergyIntolerance - -Defines the UK Core constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information. - -Profile Purpose -This profile allows a record of a clinical assessment of an allergy or intolerance; a propensity, or a potential risk to an individual, to have an adverse reaction on future exposure to the specified substance, or class of substance. - -Where a propensity is identified, to record information or evidence about a reaction event that is characterised by any harmful or undesirable physiological response that is specific to the individual and triggered by exposure of an individual to the identified substance or class of substance. - -Substances include but are not limited to a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings. - -This resource is used to record physical conditions. It MUST not be used to record preferences for or against types of treatment, for example on religious grounds. For such use cases consider the use of the FHIR Consent resource. - -
- -#### UKCore-Flag resource - -http://hl7.org/fhir/StructureDefinition/Flag - -https://fhir.hl7.org.uk/StructureDefinition/UKCore-Flag - -Defines the UK Core constraints on the Flag resource to provide information on prospective warnings of potential issues when providing care to the patient. - -
- -#### UKCore-QuestionnaireResponse resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-QuestionnaireResponse - -Defines the UK Core constraints and extensions on the QuestionnaireResponse resource for the minimal set of data to query and retrieve a complete or partial list of answers to a set of questions completed when responding to a questionnaire. - -This profile describes a structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to. - -
- -#### UKCore-Observation resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-Observation - -Defines the UK Core constraints and extensions on the observation resource for the minimal set of data to query and retrieve generic observation information. - -
- -#### UKCore-Consent resource - -https://fhir.nhs.uk/StructureDefinition/UKCore-Consent - -Defines the UK Core constraints and extensions on the Consent resource for the minimal set of data to query and retrieve consent information. - -
\ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Referral-Response-Payload.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Referral-Response-Payload.page.md deleted file mode 100644 index eb7baf45..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/Referral-Response-Payload.page.md +++ /dev/null @@ -1,3 +0,0 @@ -## {{page-title}} - -Content TBC \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/toc.yaml b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/toc.yaml deleted file mode 100644 index 91aec823..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/All-Payloads/toc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- name: Index - filename: Index.page.md -- name: Referral Request Payload - filename: Referral-Request-Payload.page.md -- name: Referral Response Payload - filename: Referral-Response-Payload.page.md -- name: NHS 111 (including CAS) to ED - filename: NHS-111--including-CAS--to-ED.page.md -- name: 999 AST to CAS Referral - filename: 999-AST-to-CAS-Referral.page.md -- name: 999 AST to CAS Validation - filename: 999-AST-to-CAS-Validation.page.md \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/BARS-Message-Definition-ServiceRequest---Request-Referral.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/BARS-Message-Definition-ServiceRequest---Request-Referral.page.md deleted file mode 100644 index 9769a666..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/BARS-Message-Definition-ServiceRequest---Request-Referral.page.md +++ /dev/null @@ -1,8 +0,0 @@ -##{{page-title}} - -### Applications using this Definition - -{{pagelink:Home/Design/Design--Applications/Applications/111-ED/Index.page.md}} - -{{pagelink:home-design-design--applications-applications-999-cas-referral-index}} -
diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/Index.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/Index.page.md deleted file mode 100644 index 0248c13d..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/Index.page.md +++ /dev/null @@ -1 +0,0 @@ -## {{page-title}} \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/New-item.page.md b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/New-item.page.md deleted file mode 100644 index d36d575e..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/New-item.page.md +++ /dev/null @@ -1,74 +0,0 @@ - -{{tree:https://hl7.org/fhir/R4/StructureDefinition/Flag , hybrid}} - -# BaRS API Spec Change Log for v1.0.0 -## 2023 Post FOT for exiting private beta -| Owner | Status | -|----------------|-------------| -| Leigh Goslin | In Progress | - -## General - -**The API Spec Version has been uplifted to 1.0.0** - -**Broken links to the BaRS Standard documentation have been rectified.** - -**BaRS Proxy production URL has been added to the [Environments and Testing](https://digital.nhs.uk/developer/api-catalogue/booking-and-referral-fhir#api-description__environments-and-testing) section.** - -**The [Error Handling](https://simplifier.net/guide/nhsbookingandreferralstandard/home/design/design--core#Error-handling) link now correctly refers to the BaRS Core [implementation guidance](https://simplifier.net/guide/nhsbookingandreferralstandard/home/design/design--core#Error-handling).** - -**Broken links within the Specifications schema examples have been rectified.** - -**Examples included within the Specifications files have been updated for clarity.** - -**Examples referenced by the Specification have been updated for clarity.**** - -## Headers - -**The Accept Header must now include a version. The version is mandatory, the specification now shows the Accept header as mandatory to reflect this.** - -```bash - --header 'Accept: application/fhir+json; version=1.0.0-beta' -``` - - - -**The following Access Control headers have been made mandatory where they are currently included.** - -* NHSD-End-User-Organisation (Required) -* NHSD-Requesting-Software (Required) - -**The following Access Control headers have been reintroduced to the GET /metadata and GET /MessageDefinition endpoints. For consistency, the mandated items match other endpoints.** - -* NHSD-End-User-Organisation (Required) -* NHSD-Requesting-Software (Required) -* NHSD-Requesting-Practitioner - -## Parameters - -**The following parameter has been added to the GET /ServiceRequest endpoint to support searching by identifiers.** - -* ServiceRequest.identifier - * This will be a unique booking reference number/identifier of a referral, or a unique UUID/GUID for the referral. This is not the same as the ServiceRequest.id - - - -**The context paramater for GET /MessageDefinition now requires a system|value format, as opposed to a value.** - - http://fhir.nhs.uk/Id/dos-service-id|2000099999 - -## Guidance and QOL -**The descriptions and guidance for all Access Control headers have been expanded.** -* NHSD-End-User-Organisation (Required) -* NHSD-Requesting-Software (Required) -* NHSD-Requesting-Practitioner - -**The description and guidance for _include paramaters on GET /Slot has been expanded.** -* expressions have been added for clarity. -* minimum usage guidance added. - -**The description and guidance for GET /metadata has been expanded.** -* usage and expected content has been added. -* guidance on obtaining the BaRS Proxy CapabilityStatement has been Added. - -**Identified typos and spelling mistakes have been corrected.** \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/toc.yaml b/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/toc.yaml deleted file mode 100644 index 0c13dfee..00000000 --- a/guides/Live-ImplementationGuide-BaRS/Home/TEMP-HOLDING-AREA/toc.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: BARS Message Definition ServiceRequest - Request Referral - filename: BARS-Message-Definition-ServiceRequest---Request-Referral.page.md -- name: All Payloads - filename: All-Payloads -- name: Index - filename: Index.page.md -- name: Failure Scenarios_old - filename: Failure-Scenarios_old.page.md -- name: New item - filename: New-item.page.md -- name: 111-ED backup of placeholder content - filename: 111-ED-backup-of-placeholder-content.page.md -- name: FHIR Assets - filename: FHIRAssets \ No newline at end of file diff --git a/guides/Live-ImplementationGuide-BaRS/guide.yaml b/guides/Live-ImplementationGuide-BaRS/guide.yaml index 26fbc05c..85bed2b9 100644 --- a/guides/Live-ImplementationGuide-BaRS/guide.yaml +++ b/guides/Live-ImplementationGuide-BaRS/guide.yaml @@ -1,5 +1,5 @@ title: NHS Booking and Referral Standard description: FHIR Implementation Guide for the NHS Booking and Referral Standard -version: 1.9.0 +version: 1.10.0 style-root: project style-name: NHSD diff --git a/guides/Live-ImplementationGuide-BaRS/styles/NHSD/master.html b/guides/Live-ImplementationGuide-BaRS/styles/NHSD/master.html index a9c691f2..67641b3e 100644 --- a/guides/Live-ImplementationGuide-BaRS/styles/NHSD/master.html +++ b/guides/Live-ImplementationGuide-BaRS/styles/NHSD/master.html @@ -162,7 +162,7 @@ data-uipath="document.title"> {{guide-title}} -
Guide v{{ guide-version }} | Core v1.3.0 | Package v1.36.0
+
Guide v{{ guide-version }} | Core v1.3.1 | Package v1.37.0