Skip to content

Commit

Permalink
Updated specification with gp code changes (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlzhry2nhs authored Nov 20, 2023
1 parent a2a4f54 commit 76ef852
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions specification/components/schemas/pdsEventData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ properties:
description: "The URL where the subscriber can retrieve the source of truth record for the patient or the full event payload."
registrationEncounterCode:
type: "string"
example: "03"
example: "3"
description: |
Numeric code that represents the type of GP registration that occurred. This field is only provided for the pds-change-of-gp-1 event type.
The permitted codes are as follows:
| Code | Type | Description |
| ---- | ------------------ | ---------------------------------------------------------------------------------------------------------------- |
| 1 | Birth | At the time of registration, if the patient has been born in the last year then it is counted as such. |
| 2 | First Acceptance | Very rare scenario - patient is a UK National and has never previously been reigistered with an NHS GP Practice. |
| 3 | Transfer In | Accounts for the vast majority of registrations - a patient registers with a new GP Practice |
| 4 | Immigrant | A patient has moved to the UK and registers with a GP Practice |
| 2 | First Acceptance | Very rare scenario - patient is a UK National and has never previously been registered with an NHS GP Practice. |
| 3 | Transfer In | Accounts for the vast majority of registrations - a patient registers with a new GP Practice. |
| 4 | Immigrant | A patient has moved to the UK and registers with a GP Practice . |
| 6 | Internal Transfer | A deprecated type. In [NHAIS](https://digital.nhs.uk/services/nhais) a transfer between two GP practices in the same NHAIS region is counted as this type within [PCRM](https://digital.nhs.uk/services/primary-care-registration-management) registrations are centralised and will be counted as Type 3 |
provenance:
type: "object"
Expand Down
2 changes: 1 addition & 1 deletion specification/multicast-notification-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ paths:
data:
versionId: 'W/"2"'
fullUrl: "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9912003888"
registrationEncounterCode: "03"
registrationEncounterCode: "3"
provenance:
name: "The GP Practice"
identifier:
Expand Down

0 comments on commit 76ef852

Please sign in to comment.