public class Problem extends ActiveListItem implements java.lang.Comparable<Problem>
Modifier and Type | Field and Description |
---|---|
static ActiveListType |
ACTIVE_LIST_TYPE |
activeListId, activeListType, comments, concept, endDate, person, startDate, startObs, stopObs
creator
Constructor and Description |
---|
Problem() |
Problem(java.lang.Integer activeListId) |
Problem(Patient person,
Concept concept,
java.util.Date startDate,
ProblemModifier modifier,
java.lang.String comments,
java.lang.Double sortWeight) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Problem item) |
ProblemModifier |
getModifier() |
Concept |
getProblem()
is actually "concept" in ActiveList
|
java.lang.Double |
getSortWeight() |
void |
setModifier(ProblemModifier modifier) |
void |
setModifier(java.lang.String modifier) |
void |
setProblem(Concept problem)
Set the problem concept
|
void |
setSortWeight(java.lang.Double sortWeight) |
getActiveListId, getActiveListType, getComments, getConcept, getEndDate, getId, getPerson, getStartDate, getStartObs, getStopObs, setActiveListId, setActiveListType, setComments, setConcept, setEndDate, setId, setPerson, setStartDate, setStartObs, setStopObs
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateVoided, getVoided, getVoidedBy, getVoidReason, isVoided, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateVoided, setVoided, setVoidedBy, setVoidReason
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final ActiveListType ACTIVE_LIST_TYPE
public Problem()
public Problem(java.lang.Integer activeListId)
public Problem(Patient person, Concept concept, java.util.Date startDate, ProblemModifier modifier, java.lang.String comments, java.lang.Double sortWeight)
public ProblemModifier getModifier()
public void setModifier(ProblemModifier modifier)
status
- the status to setpublic void setModifier(java.lang.String modifier)
status
- the status to setpublic java.lang.Double getSortWeight()
public void setSortWeight(java.lang.Double sortWeight)
sortWeight
- the sortWeight to setpublic Concept getProblem()
public void setProblem(Concept problem)
problem
- Copyright © 2018 OpenMRS Inc.. All Rights Reserved.