org.apache.ctakes.typesystem.type.refsem
Class MedicationStrength_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
org.apache.ctakes.typesystem.type.refsem.Element_Type
org.apache.ctakes.typesystem.type.refsem.Attribute_Type
org.apache.ctakes.typesystem.type.refsem.MedicationStrength_Type
public class MedicationStrength_Type
- extends Attribute_Type
Strength indicates the strength number and unit of the prescribed drug. E.g. "5 mg" in "one 5 mg tablet twice-a-day for 2 weeks"
Updated by JCasGen Tue Apr 09 11:44:34 EDT 2013
Fields inherited from class org.apache.ctakes.typesystem.type.refsem.Element_Type |
casFeat_conditional, casFeat_confidence, casFeat_discoveryTechnique, casFeat_generic, casFeat_id, casFeat_mentions, casFeat_ontologyConcept, casFeat_polarity, casFeat_subject, casFeat_uncertainty, casFeatCode_conditional, casFeatCode_confidence, casFeatCode_discoveryTechnique, casFeatCode_generic, casFeatCode_id, casFeatCode_mentions, casFeatCode_ontologyConcept, casFeatCode_polarity, casFeatCode_subject, casFeatCode_uncertainty |
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance |
Constructor Summary |
MedicationStrength_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features |
Method Summary |
protected org.apache.uima.cas.impl.FSGenerator |
getFSGenerator()
|
java.lang.String |
getNumber(int addr)
|
java.lang.String |
getUnit(int addr)
|
void |
setNumber(int addr,
java.lang.String v)
|
void |
setUnit(int addr,
java.lang.String v)
|
Methods inherited from class org.apache.ctakes.typesystem.type.refsem.Element_Type |
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setId, setMentions, setMentions, setOntologyConcept, setPolarity, setSubject, setUncertainty |
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
casFeat_number
final org.apache.uima.cas.Feature casFeat_number
casFeatCode_number
final int casFeatCode_number
casFeat_unit
final org.apache.uima.cas.Feature casFeat_unit
casFeatCode_unit
final int casFeatCode_unit
MedicationStrength_Type
public MedicationStrength_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 Attribute_Type
getNumber
public java.lang.String getNumber(int addr)
setNumber
public void setNumber(int addr,
java.lang.String v)
getUnit
public java.lang.String getUnit(int addr)
setUnit
public void setUnit(int addr,
java.lang.String v)