org.apache.ctakes.typesystem.type.refsem
Class UmlsConcept_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
org.apache.ctakes.typesystem.type.refsem.OntologyConcept_Type
org.apache.ctakes.typesystem.type.refsem.UmlsConcept_Type
public class UmlsConcept_Type
- extends OntologyConcept_Type
Concepts in the Unified Medical Language System (UMLS)
Metathesaurus have a concept unique identifier (CUI) and a type
unique identifier (TUI, i.e., semantic type) which are curated,
normalized codes. For example, "pain" would have a cui=C0030193 and
tui=T184.
Equivalent to cTAKES:
edu.mayo.bmi.uima.core.type.UmlsConcept
Updated by JCasGen Wed Nov 27 20:11:48 CST 2013
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance |
Constructor Summary |
UmlsConcept_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features |
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type |
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeIndexID
public static final int typeIndexID
featOkTst
public static final boolean featOkTst
UmlsConcept_Type
public UmlsConcept_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
- initialize variables to correspond with Cas Type and Features
getFSGenerator
protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
- Overrides:
getFSGenerator
in class OntologyConcept_Type
getCui
public String getCui(int addr)
setCui
public void setCui(int addr,
String v)
getTui
public String getTui(int addr)
setTui
public void setTui(int addr,
String v)
getPreferredText
public String getPreferredText(int addr)
setPreferredText
public void setPreferredText(int addr,
String v)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.