-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for HISTORY data #9
Comments
The history data was included from 2023 onwards. This is important as dm+d has switched from using SNOMED identifiers from the International release of SNOMED to dm+d managed codes, which is a good thing. It may be possible to use the SNOMED relationships, and the historical associations contained within that dataset, to properly handle legacy data using older dm+d codes. However, it might not cover all cases, and dmd should probably add support for looking up identifiers and handling 'legacy' data. From the technical specifications. See https://www.nhsbsa.nhs.uk/pharmacies-gp-practices-and-appliance-contractors/dictionary-medicines-and-devices-dmd and https://www.nhsbsa.nhs.uk/sites/default/files/2023-01/Technical%20Specification%20of%20data%20files%20R2%20v3.2%20Jan%202023%20%28213KB%29.docx
|
It is unclear to me how best to model this usefully. The usual approach for It would therefore seem more appropriate to have a single SQLite table with the contents of the HISTORY dataset. This would mean we would be able to add a simple step to expand a code list with historical identifiers and take a historical identifier and find its modern replacement. |
The 'version' would have to be bumped unless the library could check for the existence of the new table before use and gracefully fallback to a NOP to handle data files created before its implementation. |
dm+d includes HISTORY data which looks like this
The text was updated successfully, but these errors were encountered: