|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.DiagnosticCategory
public class DiagnosticCategory
Each valid code for a version belongs to a Diagnosis Category. This represents the Category Id and description. Though the category id is required for scoring, the description is only useful for debugging or GUIs. It also provides a non-changable default Category with ID = 0 for use with codes that don't require a category but makes programming easier by assigning an "empty" Category
| Field Summary | |
|---|---|
static DiagnosticCategoryIF |
CATEGORY_UNKNOWN
The default "unknown" category object. |
| Constructor Summary | |
|---|---|
DiagnosticCategory(int id)
Constructor with default Id |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares the objects based on the id |
java.lang.String |
getDescription()
Get the value of description |
int |
getId()
Get the value of id |
int |
hashCode()
The hash code based on the id |
void |
setDescription(java.lang.String description)
Set the value of description |
void |
setId(int id)
Set the value of id |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DiagnosticCategoryIF CATEGORY_UNKNOWN
| Constructor Detail |
|---|
public DiagnosticCategory(int id)
id - | Method Detail |
|---|
public int getId()
getId in interface Identifiablepublic void setId(int id)
setId in interface Identifiableid - new value of idpublic java.lang.String getDescription()
getDescription in interface Describablepublic void setDescription(java.lang.String description)
setDescription in interface Describabledescription - new value of descriptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj -
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||