Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-198

Drug NER only create drug signatures for RXNOM. Should it be extended to all identified MedicationEventMention?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • future enhancement
    • None
    • ctakes-drug-ner

    Description

      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;

      String scheme = oc.getCodingScheme();
      if (scheme.compareTo("RXNORM") == 0)

      { isDrugNER = true; }

      }
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            linflyer Chen Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: