public class Problem extends ActiveListItem implements 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(Integer activeListId) |
Problem(Patient person,
Concept concept,
Date startDate,
ProblemModifier modifier,
String comments,
Double sortWeight) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Problem item) |
boolean |
equals(Object obj) |
ProblemModifier |
getModifier() |
Concept |
getProblem()
is actually "concept" in ActiveList
|
Double |
getSortWeight() |
int |
hashCode() |
void |
setModifier(ProblemModifier modifier) |
void |
setModifier(String modifier) |
void |
setProblem(Concept problem)
Set the problem concept
|
void |
setSortWeight(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
getUuid, setUuid
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getUuid, setUuid
public static final ActiveListType ACTIVE_LIST_TYPE
public Problem()
public Problem(Integer activeListId)
public ProblemModifier getModifier()
public void setModifier(ProblemModifier modifier)
status
- the status to setpublic void setModifier(String modifier)
status
- the status to setpublic Double getSortWeight()
public void setSortWeight(Double sortWeight)
sortWeight
- the sortWeight to setpublic Concept getProblem()
public void setProblem(Concept problem)
problem
- public boolean equals(Object obj)
equals
in class ActiveListItem
public int compareTo(Problem item)
compareTo
in interface Comparable<Problem>
Comparable.compareTo(java.lang.Object)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.