dbmi-pitt/dbmi-annotator

[form validation] when drug2 is N/A, marking as precipitant will causes N/A appears in assertion

Opened this issue · 0 comments

From Eric:
Annotation editor permits user to choose Drug2 as Precipitant when Drug2 is “N/A”. Thus an example claim in the Annotation Table shows up as “N/A_inhibits_cyp2c9” which doesn’t seem like it should be correct.
Article used: http://localhost/test/test9384460.html

Solution:
(1) Form validation should check drug selection with precipitant as pair, required drug mention other than N/A when marked as precipitant
(2) When drug required, not allowing N/A as valid selection