nhsconnect / gpconnect

GP Connect API specification
https://digital.nhs.uk/services/gp-connect/gp-connect-specifications-for-developers
Apache License 2.0
34 stars 26 forks source link

RegisterPatient - Clarify Address.use element population #305

Closed jonnyry closed 6 years ago

jonnyry commented 7 years ago

The RegisterPatient call accepts a patient resource, including the patients address, which is to be recorded in the GP system.

GP systems (and PDS) record address with an address type (home, temporary, work etc), therefore we should be clarify and be explicit around population of the Address.use element. I.e. make mandatory and specify which elements of the valueset are acceptable to use to allow the GP system to record the address correctly.

james-answer commented 7 years ago

Is that not really up to the consumer and provider to decide based on what the patient tells them. Say they are on holiday it might be a temporary address. If they have moved but their records have not been updated on Spine it might be their home address.

If we restrict the value which can be sent we could be forcing the consumer or provider to populate the field incorrectly for the scenario. There is only four options anyway, three of which would possibly be used so is there really a need to add extra guidance, I would have thought which one to choose would be obvious.

tim1ford commented 6 years ago

Updated gpconnect/pages/foundations/foundations_use_case_register_a_patient.md:

The following data-elements SHOULD be populated if available:

tim1ford commented 6 years ago

Agreed that no .use values of 'old' or 'bad' should be populated, and only a single value per other use be allowed.

james-answer commented 6 years ago

Changes have been made and look good so closing issue.