anvilproject / cmg-data-ingest

Ingest scripts for the CMG dataset to FHIR
0 stars 0 forks source link

What to do with obsolete HPO Codes? #6

Open torstees opened 4 years ago

torstees commented 4 years ago

When transforming the UW data, there was a single code, HP:0005549, which was missing from the API I was using to extract names associated with the codes.

Roberted noted that this particular code had been marked as obsolete. In complete versions of the HPO download, that code is present and is marked as obsolete, but also has a suggested alternative, HP:0001875.

One consideration is to add the preferred alternative in it's place and add the deprecated code next in the list of codes for that valueCodeableConcept. There is some question, however, about whether this would cause problems with servers with strict terminologies which don't contain obsolete codes.

There is also the possibility of simply adding content to the note property (of observation) with the obsolete code and it's name along with it's status as being obsolete.