org.apache.ctakes.typesystem.type.refsem
Class MedicationFrequency

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.ctakes.typesystem.type.refsem.Element
              extended by org.apache.ctakes.typesystem.type.refsem.Attribute
                  extended by org.apache.ctakes.typesystem.type.refsem.MedicationFrequency
All Implemented Interfaces:
java.lang.Cloneable, org.apache.uima.cas.FeatureStructure

public class MedicationFrequency
extends Attribute

How often a medication should be used. e.g., BID or b.i.d. or "twice-a-day" would have a number=2 and unit=day. Updated by JCasGen Tue Apr 09 12:44:02 EDT 2013 XML source: trunk/ctakes-pad-term-spotter-res/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected MedicationFrequency()
          Never called.
  MedicationFrequency(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  MedicationFrequency(org.apache.uima.jcas.JCas jcas)
           
 
Method Summary
 java.lang.String getNumber()
          getter for number - gets
 int getTypeIndexID()
           
 java.lang.String getUnit()
          getter for unit - gets The periodic unit used, e.g day, month, hour, etc.
 void setNumber(java.lang.String v)
          setter for number - sets
 void setUnit(java.lang.String v)
          setter for unit - sets The periodic unit used, e.g day, month, hour, etc.
 
Methods inherited from class org.apache.ctakes.typesystem.type.refsem.Element
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setMentions, setMentions, setOntologyConcept, setPolarity, setSubject, setUncertainty
 
Methods inherited from class org.apache.uima.jcas.cas.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
 
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

MedicationFrequency

protected MedicationFrequency()
Never called. Disable default constructor


MedicationFrequency

public MedicationFrequency(int addr,
                           org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator


MedicationFrequency

public MedicationFrequency(org.apache.uima.jcas.JCas jcas)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class Attribute

getNumber

public java.lang.String getNumber()
getter for number - gets


setNumber

public void setNumber(java.lang.String v)
setter for number - sets


getUnit

public java.lang.String getUnit()
getter for unit - gets The periodic unit used, e.g day, month, hour, etc.


setUnit

public void setUnit(java.lang.String v)
setter for unit - sets The periodic unit used, e.g day, month, hour, etc.