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

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.MedicationStrength
All Implemented Interfaces:
Cloneable, org.apache.uima.cas.FeatureStructure

public class MedicationStrength
extends Attribute

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 Thu Nov 28 10:33:42 CST 2013 XML source: C:/build-Apache-cTAKES/ctakes-3.1.1/rc2/checkout/ctakes/target/checkout/ctakes-side-effect/src/main/resources/org/apache/ctakes/sideeffect/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 MedicationStrength()
          Never called.
  MedicationStrength(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  MedicationStrength(org.apache.uima.jcas.JCas jcas)
           
 
Method Summary
 String getNumber()
          getter for number - gets
 int getTypeIndexID()
           
 String getUnit()
          getter for unit - gets the unit of measurement
 void setNumber(String v)
          setter for number - sets
 void setUnit(String v)
          setter for unit - sets the unit of measurement
 
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

MedicationStrength

protected MedicationStrength()
Never called. Disable default constructor


MedicationStrength

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


MedicationStrength

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

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class Attribute

getNumber

public String getNumber()
getter for number - gets


setNumber

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


getUnit

public String getUnit()
getter for unit - gets the unit of measurement


setUnit

public void setUnit(String v)
setter for unit - sets the unit of measurement



Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.