opensafely-core / opensafely-core/opencodelists
Mappings between coding systems
@rebkwok is already working on this.
Since Nov 18, 2022.
- Dominant language
- Python
- Stars
- 60
- Forks
- 16
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 17
Description
Questions arising from the work on coding system releases:
We have two mapping apps, which map ctv3 to snomed, and bnf to dmd. Both of these import data from a single mapping file; although it seems unlikely that there will ever be any more updates for ctv3/snomed.
https://nhs-digital.citizenspace.com/standards-assurance/mapping-tables-read-v2-snomed/
BNF to dm+d mappings are released as excel spreadsheets here, however, there isn't any indication of which version of each coding system they relate to.
Currently, (or at least, as of #1415) the converters assume that we're always talking about the latest coding system release. Given that there aren't likely to be more ctv3 to snomed mappings, we can probably limit concerns to BNF to dm+d mappings.
- Can we identify a release of dm+d and BNF from the mapping files? Or can we at least identify whether a mapping release is incompatible with any particular dm+d or BNF release (i.e. because there are codes in the mapping that aren't in a dm+d/BNF release)
- Should we also be keeping historic releases of the mapping?
- The mapping is used for a dm+d download of a BNF codelist; if we've been able to identify mappings that are compatible with releases of BNF/dm+d, do we want users to be able to select the dm+d release that's used for downloading?
- Do the mappings change? If we have the same code mapped differently in 2 mapping files, but the mapping files are compatible with multiple versions of the coding systems, which mapping do we choose?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.