org.openmrs.activelist
Class Problem
java.lang.Object
org.openmrs.BaseOpenmrsObject
org.openmrs.BaseOpenmrsData
org.openmrs.activelist.ActiveListItem
org.openmrs.activelist.Problem
- All Implemented Interfaces:
- java.lang.Comparable<Problem>, Auditable, OpenmrsData, OpenmrsObject, Voidable
public class Problem
- extends ActiveListItem
- implements java.lang.Comparable<Problem>
TODO
Methods inherited from class org.openmrs.activelist.ActiveListItem |
getActiveListId, getActiveListType, getComments, getConcept, getEndDate, getId, getPerson, getStartDate, getStartObs, getStopObs, setActiveListId, setActiveListType, setComments, setConcept, setEndDate, setId, setPerson, setStartDate, setStartObs, setStopObs |
Methods inherited from class org.openmrs.BaseOpenmrsData |
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateVoided, getVoided, getVoidedBy, getVoidReason, isVoided, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateVoided, setVoided, setVoidedBy, setVoidReason |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ACTIVE_LIST_TYPE
public static final ActiveListType ACTIVE_LIST_TYPE
Problem
public Problem()
Problem
public Problem(java.lang.Integer activeListId)
Problem
public Problem(Patient person,
Concept concept,
java.util.Date startDate,
ProblemModifier modifier,
java.lang.String comments,
java.lang.Double sortWeight)
getModifier
public ProblemModifier getModifier()
- Returns:
- the status
setModifier
public void setModifier(ProblemModifier modifier)
- Parameters:
status
- the status to set
setModifier
public void setModifier(java.lang.String modifier)
- Parameters:
status
- the status to set
getSortWeight
public java.lang.Double getSortWeight()
- Returns:
- the sortWeight
setSortWeight
public void setSortWeight(java.lang.Double sortWeight)
- Parameters:
sortWeight
- the sortWeight to set
getProblem
public Concept getProblem()
- is actually "concept" in ActiveList
- Returns:
- the problem
setProblem
public void setProblem(Concept problem)
- Set the problem concept
- Parameters:
problem
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class ActiveListItem
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(Problem item)
- Specified by:
compareTo
in interface java.lang.Comparable<Problem>
- See Also:
Comparable.compareTo(java.lang.Object)
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change