Chen Lin created CTAKES-198:
-------------------------------
Summary: Drug NER only create drug signatures for RXNOM. Should it
be extended to all identified MedicationEventMention?
Key: CTAKES-198
URL: https://issues.apache.org/jira/browse/CTAKES-198
Project: cTAKES
Issue Type: Improvement
Components: ctakes-drug-ner
Affects Versions: future enhancement
Reporter: Chen Lin
Priority: Minor
In DrugMentionAnnotator of the drug-ner module, it is hard-coded to only add
drug signatures (e.g. dosage, status change, strength, etc.) for RXNOM terms.
Shouldn't the check for RXNOM be removed, so that signatures can be added for
all MedicationEventMentions?
while (uniqueNER.hasNext())
{
tokenAnt = (MedicationEventMention) uniqueNER.next();
boolean isDrugNER = false;
FSArray ocArr = tokenAnt.getOntologyConceptArr();
if (ocArr != null)
{
for (int i = 0; i < ocArr.size() && !isDrugNER;
i++)
{
OntologyConcept oc = (OntologyConcept)
ocArr.get(i);
String scheme = oc.getCodingScheme();
if (scheme.compareTo("RXNORM") == 0)
{
isDrugNER = true;
}
}
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira