SemanticGroup - apache/ctakes GitHub Wiki
The major UMLS-related semantic groups as decided at the inception of cTAKES. The major 5 groups are:
Medication
Disease/Disorder
Sign/Symptom
Procedure
Anatomical Site
Minor groups are:
Clinical Attribute
Device
Lab
Phenomenon
Subject
Person Title
Event
Entity
Time
Modifier
Lab Modifier
Unknown
-
Returns: internal cTAKES CONST code for group. These were old constants that shouldn't be used.
-
Returns: Short name for the group. e.g. "Disease" or "Drug".
-
Returns: Long name for the group. e.g. "Disease/Disorder" or "Medication".
-
Returns: the cTAKES java / type system class that represents the group.
-
Returns: A function that can create the java / type system class that represents the group.
-
Parameters:
-
codeinternal cTAKES CONST code for a group. These were old constants that shouldn't be used.
-
-
Returns: the group with the given code.
-
Parameters:
-
name-short- name for a group.
-
-
Returns: the group with the given -short- name.
-
Parameters:
-
nameold name for a group. These were old constants that shouldn't be used.
-
-
Returns: the group with the given -short- name.
-
Parameters:
-
annotationSome annotation.
-
-
Returns: The groups appropriate for the annotation. Done using known TUIs for the annotation.
Compares two groups for the most descriptive/accurate. e.g. Procedure is before Phenomenon.
-
Parameters:
-
annotationSome annotation.
-
-
Returns: The most appropriate group for the annotation. Done using known TUIs for the annotation.
-
Parameters:
-
groupscollection of groups.
-
-
Returns: The most appropriate group for the annotation.
Gets the best group based upon internal cTAKES type code for a group. These were old constants that shouldn't be used. However, an annotation may have a type id but no TUIs.
-
Parameters:
-
annotation-
-
- Returns: the group based upon a type id set in the annotation.