Package edu.mayo.bmi.uima.core.type.refsem

Examples of edu.mayo.bmi.uima.core.type.refsem.OntologyConcept


    if (hasConcept)
    {
      firstConceptFS = ontologyConceptArray.get(0);
    }
    //logger.info("hasConcept: " + hasConcept);
    OntologyConcept ontologyConcept = (OntologyConcept)firstConceptFS;
    boolean isRxnorm = false;
    boolean isUmls = false;

    UmlsConcept umlsConcept = null;
    if (ontologyConcept instanceof UmlsConcept)
    {
      isUmls = true;
      umlsConcept = (UmlsConcept)firstConceptFS;
    } else
    {
      isRxnorm = "RXNORM".equalsIgnoreCase(ontologyConcept.getCodingScheme());
    }
   
    //logger.info(String.format("isUmls: %b; isRxnorm: %b", isUmls, isRxnorm));
   
    if (isRxnorm)
View Full Code Here

TOP

Related Classes of edu.mayo.bmi.uima.core.type.refsem.OntologyConcept

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.