public class Medication extends Event
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Medication()
Never called.
|
|
Medication(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Medication(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
getter for endDate - gets
|
MedicationDosage |
getMedicationDosage()
getter for medicationDosage - gets
|
MedicationDuration |
getMedicationDuration()
getter for medicationDuration - gets
|
MedicationForm |
getMedicationForm()
getter for medicationForm - gets
|
MedicationFrequency |
getMedicationFrequency()
getter for medicationFrequency - gets
|
MedicationRoute |
getMedicationRoute()
getter for medicationRoute - gets
|
MedicationStatusChange |
getMedicationStatusChange()
getter for medicationStatusChange - gets
|
MedicationStrength |
getMedicationStrength()
getter for medicationStrength - gets
|
TemporalRelation |
getRelativeTemporalContext()
getter for relativeTemporalContext - gets
|
Date |
getStartDate()
getter for startDate - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setEndDate(Date v)
setter for endDate - sets
|
void |
setMedicationDosage(MedicationDosage v)
setter for medicationDosage - sets
|
void |
setMedicationDuration(MedicationDuration v)
setter for medicationDuration - sets
|
void |
setMedicationForm(MedicationForm v)
setter for medicationForm - sets
|
void |
setMedicationFrequency(MedicationFrequency v)
setter for medicationFrequency - sets
|
void |
setMedicationRoute(MedicationRoute v)
setter for medicationRoute - sets
|
void |
setMedicationStatusChange(MedicationStatusChange v)
setter for medicationStatusChange - sets
|
void |
setMedicationStrength(MedicationStrength v)
setter for medicationStrength - sets
|
void |
setRelativeTemporalContext(TemporalRelation v)
setter for relativeTemporalContext - sets
|
void |
setStartDate(Date v)
setter for startDate - sets
|
getProperties, setProperties
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setMentions, setMentions, setOntologyConcept, setPolarity, setSubject, setUncertainty
protected Medication()
public Medication(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Medication(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
getTypeIndexID
in class Event
private void readObject()
public MedicationFrequency getMedicationFrequency()
public void setMedicationFrequency(MedicationFrequency v)
v
- value to set into the featurepublic MedicationDuration getMedicationDuration()
public void setMedicationDuration(MedicationDuration v)
v
- value to set into the featurepublic MedicationRoute getMedicationRoute()
public void setMedicationRoute(MedicationRoute v)
v
- value to set into the featurepublic MedicationStatusChange getMedicationStatusChange()
public void setMedicationStatusChange(MedicationStatusChange v)
v
- value to set into the featurepublic MedicationDosage getMedicationDosage()
public void setMedicationDosage(MedicationDosage v)
v
- value to set into the featurepublic MedicationStrength getMedicationStrength()
public void setMedicationStrength(MedicationStrength v)
v
- value to set into the featurepublic MedicationForm getMedicationForm()
public void setMedicationForm(MedicationForm v)
v
- value to set into the featurepublic Date getStartDate()
public void setStartDate(Date v)
v
- value to set into the featurepublic Date getEndDate()
public void setEndDate(Date v)
v
- value to set into the featurepublic TemporalRelation getRelativeTemporalContext()
public void setRelativeTemporalContext(TemporalRelation v)
v
- value to set into the feature