You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
National Integration Adaptor - [GP2GP Sending Adaptor](https://digital.nhs.uk/developer/api-catalogue/gp2gp/gp2gp-sending-adaptor)
4
4
5
-
The existing GP2GP solution uses a legacy messaging standard and infrastructure (HL7v3 and Spine TMS). Reliance
6
-
on these standards going forward presents a significant barrier to successful GP2GP implementation by new suppliers,
7
-
and perpetuation of these standards in the long term presents a risk to the continued operation of GP2GP across all
5
+
The existing GP2GP solution uses a legacy messaging standard and infrastructure (HL7v3 and Spine TMS). Reliance
6
+
on these standards going forward presents a significant barrier to successful GP2GP implementation by new suppliers,
7
+
and perpetuation of these standards in the long term presents a risk to the continued operation of GP2GP across all
8
8
suppliers.
9
9
10
-
A hybrid solution approach has been selected as the best option for GP2GP adoption by NMEs and transition by existing
10
+
A hybrid solution approach has been selected as the best option for GP2GP adoption by NMEs and transition by existing
11
11
incumbent suppliers.
12
12
13
-
The "National Integration Adaptor - GP2GP" implements a GP2GP 2.2b producer using the supplier's existing GP Connect
14
-
Provider implementation to extract the Electronic Health Record. Suppliers that have not already implemented a
13
+
The "National Integration Adaptor - GP2GP" implements a GP2GP 2.2b producer using the supplier's existing GP Connect
14
+
Provider implementation to extract the Electronic Health Record. Suppliers that have not already implemented a
15
15
GP2GP 2.2b producer, or those wishing to decommission their existing producer, may deploy the GP2GP adaptor in its place.
16
16
17
17
## Table of contents
@@ -21,276 +21,13 @@ GP2GP 2.2b producer, or those wishing to decommission their existing producer, m
21
21
1.[Guidance on integrating with the adaptors APIs](#how-to-query-the-ehr-status-api)
22
22
1.[Documentation on how this adaptor maps GPConnect concepts to GP2GP concepts](https://github.com/NHSDigital/patient-switching-adaptors-mapping-documentation)
23
23
24
-
## How to query the EHR Status API
24
+
## How to query the EHR Status API and the Requests endpoint
25
25
26
26
An API is provided to query the status of any transfer to an incumbent.
27
27
28
-
Requests can be made to the following endpoint using the *Conversation ID (SSP-TraceID)* of the transfer:
29
-
30
-
```http request
31
-
{location of gp2gp service}/ehr-status/{conversationId} [GET]
32
-
```
33
-
34
-
The response will contain the following fields:
35
-
36
-
### EhrStatus
37
-
38
-
| Field name | Description | Data type | Possible values | nullable |
| originalRequestDate | The date and time of the original request | ISO-8601 || False |
41
-
| migrationStatus | The current state of the transfer, a status of COMPLETE_WITH_ISSUES is given if placeholder documents were sent | string / enum | COMPLETE <br/><br/>COMPLETE_WITH_ISSUES <br/><br/> FAILED_NME <br/><br/> FAILED_INCUMBENT <br/><br/> IN_PROGRESS | False |
42
-
| attachmentStatus | An array of statuses for each document sent during the transfer | Array of **AttachmentStatus** (See below) || False |
43
-
| migrationLog | An array containing details of acknowledgments received during the transfer | Array of **ReceivedAcknowledgement** (See below) || False |
44
-
45
-
<br/>
46
-
47
-
### Subtypes
48
-
49
-
#### AttachmentStatus
50
-
51
-
| Field name | Description | Data type | Possible values | Nullable |
| identifier | An array of identifiers taken from the `identifier` element of the GP Connect `DocumentReference`| Array of **Identifier** (see below) || False |
54
-
| fileStatus | The status of the document sent to the winning practice (can be used to identify if a placeholder document was sent) | string / enum | PLACEHOLDER <br/><br/>ORIGINAL_FILE <br/><br/>ERROR | False |
55
-
| filename | The filename sent to winning practice in the GP2GP message | string || False |
56
-
| originalDescription | The description of the file as given by the `description` element of the GP Connect `DocumentReference` resource.<br/><br/> This is inserted into the GP2GP placeholder document as the original filename and suffix. So should be of the form *filename.suffix*, e.g. *referral.txt*| string || True |
57
-
58
-
<br/>
59
-
60
-
#### Identifier
61
-
62
-
| Field name | Description | Data type | Nullable |
#### Failed by requester, with multiple positive acknowledgements for COPC messages (without conversation closed) and one negative acknowledgement for EHR Extract (conversation closed and error):
| initialRequestTimestamp | The date and time of the original request. | ISO-8601 || False |
256
-
| actionCompletedTimestamp | The date and time of when the transfer completed. | ISO-8601 || False |
257
-
| nhsNumber || string || False |
258
-
| conversationId || string || False |
259
-
| fromAsid || string || False |
260
-
| toAsid || string || False |
261
-
| fromOdsCode || string || False |
262
-
| toOdsCode || string || False |
263
-
| migrationStatus | The current state of the transfer, a status of COMPLETE_WITH_ISSUES is given if placeholder documents were sent | string / enum | COMPLETE <br/> COMPLETE_WITH_ISSUES <br/> FAILED_NME <br/> FAILED_INCUMBENT | False |
@@ -305,9 +42,9 @@ If you are looking to make changes to the adaptor you should first read the [gui
305
42
306
43
## Disclaimer
307
44
308
-
All Patient data within this repository is synthetic
45
+
All Patient data within this repository is synthetic
309
46
310
47
## Licensing
311
48
This code is dual licensed under the MIT license and the OGL (Open Government License). Any new work added to this repository must conform to the conditions of these licenses. In particular this means that this project may not depend on GPL-licensed or AGPL-licensed libraries, as these would violate the terms of those libraries' licenses.
312
49
313
-
The contents of this repository are protected by Crown Copyright (C).
50
+
The contents of this repository are protected by Crown Copyright (C).
0 commit comments