OCTRI / fhir2hpo

Library for converting FHIR messages to HPO
MIT License
7 stars 2 forks source link

Interpretations and codes #1

Closed aeyates closed 6 years ago

aeyates commented 6 years ago

This adds an interface for Loinc2HpoAnnotations with a default implementation for the standard extraction of an HPOTerm from a single observation using interpretation codes only. It also standardizes the internal codes into an enumeration of 5 values.

aeyates commented 6 years ago

I'm still puzzling over the Github interface where I don't seem to have the ability to reply directly to a specific comment. @kirenotneb The idea of having the annotations interface and a default implementation is to eventually allow for more complex conversions such as the Glucose Tolerance Test we discussed previously. The interface may change once we get there, but I wanted to start giving it some consideration. I've put some thought into a JSON representation of more complex cases that might help us standardize. More info here: https://octri.ohsu.edu/wiki/display/L2H/Multiple+Observations+-%3E+Single+HPO%3A+Glucose+Tolerance+Use+Case