Skip to content

Commit

Permalink
[ERSSUP-64033]-[]-[Application-restricted OAS Document Update for A02…
Browse files Browse the repository at this point in the history
…4, A025 and A043 Endpoints]-[RG]
  • Loading branch information
RajaGovindharaj16 committed Oct 20, 2022
1 parent 17f3ab8 commit fb79e54
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ description: |
Use this endpoint to retrieve a specific version of `CommunicationRequest`.
## Supported security patterns
- Application-restricted access
- Healthcare worker, user-restricted access
## Pre-requisites
Expand All @@ -14,6 +15,10 @@ description: |
Note: e-RS only supports the retrieval of the most recent version of `CommunicationRequest`. You cannot retrieve earlier versions.
## Important note
The Important notes for this endpoint are the same as for endpoint [[HYPERLINK_A024]].
## Use case
See [[HYPERLINK_A005]].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,29 @@ description: |
The conversation can be retrieved via [[HYPERLINK_A025]].
## Supported security patterns
- Application-restricted access, unattended access
- Healthcare worker, user-restricted access
## Pre-requisites
You need to use the `Unique Booking Reference Number` (UBRN) of the advice and guidance request.
For service provider users, you may have identified the UBRN via [[HYPERLINK_A023]].
## Application-restricted access
In order to use this endpoint you must be an authenticated e-RS calling application.
## Healthcare worker, user-restricted access
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
- `REFERRING_CLINICIAN`
- `REFERRING_CLINICIAN_ADMIN`
- `SERVICE_PROVIDER_CLINICIAN`
- `SERVICE_PROVIDER_CLINICIAN_ADMIN`
You need to use the `Unique Booking Reference Number` (UBRN) of the advice and guidance request.
For service provider users, you may have identified the UBRN via [[HYPERLINK_A023]].
## Use case
As an authenticated user
As an authenticated user or application
I need to retrieve the summary of an advice and guidance request
Expand All @@ -36,6 +43,16 @@ description: |
convert the advice and guidance request into an appointment request.
If authorised, [[HYPERLINK_A027]] can be used to convert the advice and guidance request into an appointment request.
An advice and guidance request may have been converted to a referral (with the same UBRN),
and in addition a referral pathway in e-RS can be made up of more than one UBRN. As such,
it is important that all clinical information is obtained across all the related UBRNs in the pathway.
These may be identified using [[HYPERLINK_A005] and will be returned if the user is authourised to view this.
If the converted advice and guidance request is referred to a service outside of your organisation,
the subsequent referral information may not be accessible due to existing data-access rules. However,
the advice and guidance summary ([[HYPERLINK_A024]]), attachments ([[HYPERLINK_A006]]), advice and guidance conversation ([[HYPERLINK_A025]]) and
clinical information ([[HYPERLINK_A043]]) which took place before such a conversion still forms part of the clinical information and can still be retrieved.
## Related endpoints
After using this endpoint, use [[HYPERLINK_A025]] to retrieve the Advice and Guidance conversation itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,32 @@ description: |
A 'conversation' takes the form of the messages between a referrer (seeking advice) and a provider or specialist. Messages can include attachments.
## Supported security patterns
- Application-restricted access
- Healthcare worker, user-restricted access
## Pre-requisites
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
- `REFERRING_CLINICIAN`
- `REFERRING_CLINICIAN_ADMIN`
- `SERVICE_PROVIDER_CLINICIAN`
- `SERVICE_PROVIDER_CLINICIAN_ADMIN`
You need to use the `Unique Booking Reference Number` (UBRN) of the advice and guidance request. For service provider users,
you may have identified the UBRN via [[HYPERLINK_A023]].
You need to use [[HYPERLINK_A024]] to retrieve the summary of an advice and guidance request.
This will importantly include the latest version of the request which must be used.
## Application-restricted access
In order to use this endpoint you must be an authenticated e-RS calling application.
## Healthcare worker, user-restricted access
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
- `REFERRING_CLINICIAN`
- `REFERRING_CLINICIAN_ADMIN`
- `SERVICE_PROVIDER_CLINICIAN`
- `SERVICE_PROVIDER_CLINICIAN_ADMIN`
## Use case
As an authenticated user
As an authenticated user or application
I need to retrieve the conversation that is present on an advice and guidance request
Expand All @@ -35,6 +42,16 @@ description: |
## Important note
The conversation returned includes links to any attachments associated with the conversation.
This can be done via endpoint [[HYPERLINK_A006]].
Note, dependent on how attachments were added they may be linked to the Advice and Guidance summary instead of the conversation.
These may be retrieved from [[HYPERLINK_A024]].
If the converted advice and guidance request is referred to a service outside of your organisation,
the subsequent referral information may not be accessible due to existing data-access rules.
However, the advice and guidance summary ([[HYPERLINK_A024]]), attachments ([[HYPERLINK_A006]]),
advice and guidance conversation ([[HYPERLINK_A025]]) and
clinical information ([[HYPERLINK_A043]]) which took place before such a conversion still forms part of the clinical information and can still be retrieved.
The conversation also gets included in the form of a PDF file returned by [[HYPERLINK_A007]]
## Related endpoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,39 @@ description: |
This endpoint cannot be used to obtain a PDF file for a referral request.
## Supported security patterns
- Application-restricted access
- Healthcare worker, user-restricted access
## Pre-requisites
You need to use the `Unique Booking Reference Number` (UBRN) of an advice and guidance request.
## Application-restricted access
In order to use this endpoint you must be an authenticated e-RS calling application.
## Healthcare worker, user-restricted access
In order to use this endpoint you must be an authenticated e-RS user and use one of the following e-RS roles:
- `REFERRING_CLINICIAN`
- `REFERRING_CLINICIAN_ADMIN`
- `SERVICE_PROVIDER_CLINICIAN`
- `SERVICE_PROVIDER_CLINICIAN_ADMIN`
You need to use the `Unique Booking Reference Number` (UBRN) of an advice and guidance request.
## Important note
As noted for the [[HYPERLINK_A007]] endpoint that applies to referrals rather than advice and guidance requests,
a referral pathway in e-RS can be made up of more than one UBRN. As such, it is important that all clinical information is obtained from across all the related
UBRNs in the pathway as referenced in [[HYPERLINK_A005]].
An advice and guidance request can only ever exist as a single entity with no related UBRNs *unless* the advice and guidance request is converted to a referral.
This can be done via endpoint [[HYPERLINK_A027]]. When the conversion is complete, the advice and guidance request becomes a
referral (retaining the same UBRN) and continues its existence as such. Meaning that it may gain related referrals.
An advice and guidance request may have been converted to a referral (with the same UBRN),
and in addition a referral pathway in e-RS can be made up of more than one UBRN.
As such, it is important that all clinical information is obtained across all the related UBRNs in the pathway.
These can be identified using [[HYPERLINK_A005]].
The advice and guidance conversation that took place before such a conversion still forms part of the clinical information.
This conversation *does* get included in the PDF file returned by [[HYPERLINK_A007]].
If the converted advice and guidance request is referred to a service outside of your organisation,
the subsequent referral information may not be accessible due to legitimate relationship rules.
However, the advice and guidance summary ([[HYPERLINK_A024]]),
attachments ([[HYPERLINK_A006]]), advice and guidance conversation ([[HYPERLINK_A025]]) and
clinical information ([[HYPERLINK_A043]]) which took place before such aconversion still forms part of the clinical information and can still be retrieved.
## Use case
As an authenticated user
As an authenticated user or application
I need to retrieve a PDF file overview of the advice and guidance request
Expand Down

0 comments on commit fb79e54

Please sign in to comment.