ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Ebert (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CTAKES-317) lookupConceptType may inappropriately ignore a concept if it has multiple ontology types.
Date Tue, 07 Oct 2014 21:43:34 GMT
Kim Ebert created CTAKES-317:
--------------------------------

             Summary: lookupConceptType may inappropriately ignore a concept if it has multiple
ontology types.
                 Key: CTAKES-317
                 URL: https://issues.apache.org/jira/browse/CTAKES-317
             Project: cTAKES
          Issue Type: Bug
          Components: ctakes-assertion
    Affects Versions: 3.2.0
            Reporter: Kim Ebert


in ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/ConceptLookup.java
public static ConceptType lookupConceptType(FSArray ontologyConceptArray)

FSArray ontologyConceptArray is unsorted, and only the first item is examined.

OntologyConcept ontologyConcept = (OntologyConcept)firstConceptFS;

This means we get inconsistent codes as a result.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message