nhsconnect / gpconnect-demonstrator

GP Connect demonstrator is a reference implementation of a GP Connect providing system and a consumer system demonstration
https://orange.testlab.nhs.uk/
Apache License 2.0
17 stars 10 forks source link

Demonstrator doesn't appear to support translations #147

Closed PeteSalis closed 5 years ago

PeteSalis commented 5 years ago

The demonstrator only has one code field so does not appear to be able to support translations from legacy codes.

When a code has been input into a system as a legacy code eg. Read2 then it is common that this code will be exported along with a SNOMED translation if one exists. How to do this is detailed in our requirements for how to populate the codable concept here,

https://developer.nhs.uk/apis/gpconnect-1-2-1/pages/accessrecord_structured/guidance-on-the-population-of-codeableconcept.pdf

SimonFarrowNHS commented 5 years ago

dont know how this got closed

lucywilcock commented 5 years ago

Does this need doing for every place we record a codeable concept? See comment in #146

lucywilcock commented 5 years ago

Spoke to Pete - this should be done for allergy code and manifestation and medication code. Others can be added in later if need be

lucywilcock commented 5 years ago

Have added a new table for translation codes to avoid adding three new columns in multiple places. Allergy code and manifestion and medication code reference the id of the new translation table. This is added to the codeableConcept in the builder (as with description #146). Branch desc_id to avoid conflicts with #146.

lucywilcock commented 5 years ago

Merged into develop. Closing