[
https://issues.apache.org/jira/browse/CTAKES-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chen Lin resolved CTAKES-198.
-----------------------------
Resolution: Fixed
Code scheme check was removed. Now drug signatures will be applied to all
MedicationEventMention.
> 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
> Labels: patch
>
> 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