public class DrugMentionAnnotation
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
DrugMentionAnnotation()
Never called.
|
|
DrugMentionAnnotation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
DrugMentionAnnotation(JCas jcas) |
|
DrugMentionAnnotation(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
getChangeStatusBegin()
getter for changeStatusBegin - gets
|
int |
getChangeStatusEnd()
getter for changeStatusEnd - gets
|
float |
getConfidence()
getter for confidence - gets The confidence of the annotation.
|
java.lang.String |
getDosage()
getter for dosage - gets Dosage refers to how many of each drug the patient is taking.
|
int |
getDosageBegin()
getter for dosageBegin - gets
|
int |
getDosageEnd()
getter for dosageEnd - gets
|
java.lang.String |
getDrugChangeStatus()
getter for drugChangeStatus - gets Status refers to the whether the medication is currently being taken or not.
|
java.lang.String |
getDuration()
getter for duration - gets Duration refers to for how long the patient is expected to take the drug.
|
int |
getDurationBegin()
getter for durationBegin - gets
|
int |
getDurationEnd()
getter for durationEnd - gets
|
java.lang.String |
getForm()
getter for form - gets Form refers to the physical appearance of the drug.
|
int |
getFormBegin()
getter for formBegin - gets
|
int |
getFormEnd()
getter for formEnd - gets
|
java.lang.String |
getFrequency()
getter for frequency - gets Frequency refers to how often the patient needs to take the drug.
|
int |
getFrequencyBegin()
getter for frequencyBegin - gets
|
int |
getFrequencyEnd()
getter for frequencyEnd - gets
|
java.lang.String |
getFrequencyUnit()
getter for frequencyUnit - gets
|
int |
getFuBegin()
getter for fuBegin - gets
|
int |
getFuEnd()
getter for fuEnd - gets
|
FSArray |
getReason()
getter for reason - gets
|
TOP |
getReason(int i)
indexed getter for reason - gets an indexed value -
|
java.lang.String |
getRoute()
getter for route - gets Medication route refers to the way that a drug is introduced into the body.
|
int |
getRouteBegin()
getter for routeBegin - gets
|
int |
getRouteEnd()
getter for routeEnd - gets
|
java.lang.String |
getStartDate()
getter for startDate - gets
|
int |
getStatus()
getter for status - gets
|
java.lang.String |
getStrength()
getter for strength - gets
|
int |
getStrengthBegin()
getter for strengthBegin - gets
|
int |
getStrengthEnd()
getter for strengthEnd - gets
|
java.lang.String |
getStrengthUnit()
getter for strengthUnit - gets
|
int |
getSuBegin()
getter for suBegin - gets
|
int |
getSuEnd()
getter for suEnd - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setChangeStatusBegin(int v)
setter for changeStatusBegin - sets
|
void |
setChangeStatusEnd(int v)
setter for changeStatusEnd - sets
|
void |
setConfidence(float v)
setter for confidence - sets The confidence of the annotation.
|
void |
setDosage(java.lang.String v)
setter for dosage - sets Dosage refers to how many of each drug the patient is taking.
|
void |
setDosageBegin(int v)
setter for dosageBegin - sets
|
void |
setDosageEnd(int v)
setter for dosageEnd - sets
|
void |
setDrugChangeStatus(java.lang.String v)
setter for drugChangeStatus - sets Status refers to the whether the medication is currently being taken or not.
|
void |
setDuration(java.lang.String v)
setter for duration - sets Duration refers to for how long the patient is expected to take the drug.
|
void |
setDurationBegin(int v)
setter for durationBegin - sets
|
void |
setDurationEnd(int v)
setter for durationEnd - sets
|
void |
setForm(java.lang.String v)
setter for form - sets Form refers to the physical appearance of the drug.
|
void |
setFormBegin(int v)
setter for formBegin - sets
|
void |
setFormEnd(int v)
setter for formEnd - sets
|
void |
setFrequency(java.lang.String v)
setter for frequency - sets Frequency refers to how often the patient needs to take the drug.
|
void |
setFrequencyBegin(int v)
setter for frequencyBegin - sets
|
void |
setFrequencyEnd(int v)
setter for frequencyEnd - sets
|
void |
setFrequencyUnit(java.lang.String v)
setter for frequencyUnit - sets
|
void |
setFuBegin(int v)
setter for fuBegin - sets
|
void |
setFuEnd(int v)
setter for fuEnd - sets
|
void |
setReason(FSArray v)
setter for reason - sets
|
void |
setReason(int i,
TOP v)
indexed setter for reason - sets an indexed value -
|
void |
setRoute(java.lang.String v)
setter for route - sets Medication route refers to the way that a drug is introduced into the body.
|
void |
setRouteBegin(int v)
setter for routeBegin - sets
|
void |
setRouteEnd(int v)
setter for routeEnd - sets
|
void |
setStartDate(java.lang.String v)
setter for startDate - sets
|
void |
setStatus(int v)
setter for status - sets
|
void |
setStrength(java.lang.String v)
setter for strength - sets
|
void |
setStrengthBegin(int v)
setter for strengthBegin - sets
|
void |
setStrengthEnd(int v)
setter for strengthEnd - sets
|
void |
setStrengthUnit(java.lang.String v)
setter for strengthUnit - sets
|
void |
setSuBegin(int v)
setter for suBegin - sets
|
void |
setSuEnd(int v)
setter for suEnd - sets
|
protected DrugMentionAnnotation()
public DrugMentionAnnotation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic DrugMentionAnnotation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic DrugMentionAnnotation(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
private void readObject()
public int getStatus()
public void setStatus(int v)
v
- value to set into the featurepublic float getConfidence()
public void setConfidence(float v)
v
- value to set into the featurepublic java.lang.String getFrequency()
public void setFrequency(java.lang.String v)
v
- value to set into the featurepublic int getFrequencyBegin()
public void setFrequencyBegin(int v)
v
- value to set into the featurepublic int getFrequencyEnd()
public void setFrequencyEnd(int v)
v
- value to set into the featurepublic java.lang.String getDuration()
public void setDuration(java.lang.String v)
v
- value to set into the featurepublic int getDurationBegin()
public void setDurationBegin(int v)
v
- value to set into the featurepublic int getDurationEnd()
public void setDurationEnd(int v)
v
- value to set into the featurepublic java.lang.String getRoute()
public void setRoute(java.lang.String v)
v
- value to set into the featurepublic int getRouteBegin()
public void setRouteBegin(int v)
v
- value to set into the featurepublic int getRouteEnd()
public void setRouteEnd(int v)
v
- value to set into the featurepublic java.lang.String getDrugChangeStatus()
public void setDrugChangeStatus(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getDosage()
public void setDosage(java.lang.String v)
v
- value to set into the featurepublic int getDosageBegin()
public void setDosageBegin(int v)
v
- value to set into the featurepublic int getDosageEnd()
public void setDosageEnd(int v)
v
- value to set into the featurepublic java.lang.String getStrength()
public void setStrength(java.lang.String v)
v
- value to set into the featurepublic int getStrengthBegin()
public void setStrengthBegin(int v)
v
- value to set into the featurepublic int getStrengthEnd()
public void setStrengthEnd(int v)
v
- value to set into the featurepublic java.lang.String getStrengthUnit()
public void setStrengthUnit(java.lang.String v)
v
- value to set into the featurepublic int getSuBegin()
public void setSuBegin(int v)
v
- value to set into the featurepublic int getSuEnd()
public void setSuEnd(int v)
v
- value to set into the featurepublic java.lang.String getForm()
public void setForm(java.lang.String v)
v
- value to set into the featurepublic int getFormBegin()
public void setFormBegin(int v)
v
- value to set into the featurepublic int getFormEnd()
public void setFormEnd(int v)
v
- value to set into the featurepublic java.lang.String getFrequencyUnit()
public void setFrequencyUnit(java.lang.String v)
v
- value to set into the featurepublic int getFuBegin()
public void setFuBegin(int v)
v
- value to set into the featurepublic int getFuEnd()
public void setFuEnd(int v)
v
- value to set into the featurepublic java.lang.String getStartDate()
public void setStartDate(java.lang.String v)
v
- value to set into the featurepublic FSArray getReason()
public void setReason(FSArray v)
v
- value to set into the featurepublic TOP getReason(int i)
i
- index in the array to getpublic void setReason(int i, TOP v)
i
- index in the array to setv
- value to set into the arraypublic int getChangeStatusBegin()
public void setChangeStatusBegin(int v)
v
- value to set into the featurepublic int getChangeStatusEnd()
public void setChangeStatusEnd(int v)
v
- value to set into the feature