ccmbioinfo / osmp

One-Sided Matching Portal
6 stars 1 forks source link

React / API: Add "observed" field for phenotypic features #314

Closed frewmack closed 2 years ago

frewmack commented 2 years ago

Closes #312

Frontend now shows "YES X" or "NO X" for Phenotypes to indicate whether a phenotype was observed by a clinician.

Based on the results from PhenoTips, the logic is set up as follows:

observed field = "yes"  => true
observed field = "no"   => false
observed field missing  => true

We may need to verify with collaborators before pushing this to develop.