|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.AbstractIcd9Code
public abstract class AbstractIcd9Code
Provides the base information about a Diagnosis or Procedure code, including the code value, type, and assocaited category.
| Field Summary | |
|---|---|
static java.lang.String |
BLANK_CODE
Full length blank code value |
static java.lang.String |
EMPTY_CODE
an Empty string of length 0 |
| Fields inherited from interface com.mmm.cms.homehealth.proto.Icd9CodeIF |
|---|
TYPE_ICD_9_CM_DIAGNOSIS |
| Constructor Summary | |
|---|---|
AbstractIcd9Code()
Constructs the code with an empty code value |
|
AbstractIcd9Code(java.lang.String code,
int codeType)
This method will bypass the code and type validation, assuming that the extended class knows what type it is. |
|
AbstractIcd9Code(java.lang.String code,
int codeType,
boolean validCode,
boolean validForScoring)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this code's value with another code's value |
java.lang.String |
getCode()
Get the value of code |
int |
getCodeType()
gets the code type |
java.lang.String |
getDescription()
Get the value of description |
DiagnosticCategoryIF |
getDiagnosticGroup()
Get the value of diagnosticGroup |
HomeHealthGrouperIF |
getGrouper()
Get the value of grouper |
int |
hashCode()
hash code based on the code's value |
boolean |
isBlank()
determines if the code is blank |
boolean |
isECode()
determines if the code is an E-code |
boolean |
isOptionalVCode()
determines if the code is an optional V-code |
boolean |
isValidCode()
Get the value of validCode |
boolean |
isValidForScoring()
Get the value of validForScoring |
boolean |
isVCode()
determine if the code is a V-code |
void |
setCode(java.lang.String code)
Set the value of code |
void |
setCodeType(int type)
Sets the code type - must be either 1 for diagnosis or 2 for procedure |
void |
setDescription(java.lang.String description)
Set the value of description |
void |
setDiagnosticGroup(DiagnosticCategoryIF diagnosticGroup)
Set the value of diagnosticGroup |
void |
setGrouper(HomeHealthGrouperIF grouper)
Set the value of grouper |
void |
setOptionalVCode(boolean bool)
Sets the optional V-Code flag |
void |
setValidCode(boolean validCode)
Set the value of validCode |
void |
setValidForScoring(boolean validForScoring)
Set the value of validForScoring |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BLANK_CODE
public static final java.lang.String EMPTY_CODE
| Constructor Detail |
|---|
public AbstractIcd9Code()
public AbstractIcd9Code(java.lang.String code,
int codeType)
code - codeType -
public AbstractIcd9Code(java.lang.String code,
int codeType,
boolean validCode,
boolean validForScoring)
code - codeType - validCode - validForScoring - | Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj -
public java.lang.String getDescription()
getDescription in interface Describablepublic void setDescription(java.lang.String description)
setDescription in interface Describabledescription - new value of descriptionpublic java.lang.String getCode()
getCode in interface Icd9CodeIFpublic void setCode(java.lang.String code)
setCode in interface Icd9CodeIFcode - new value of codepublic void setCodeType(int type)
Icd9CodeIF
setCodeType in interface Icd9CodeIFtype - valid code typepublic int getCodeType()
getCodeType in interface Icd9CodeIFpublic DiagnosticCategoryIF getDiagnosticGroup()
getDiagnosticGroup in interface Icd9CodeIFpublic void setDiagnosticGroup(DiagnosticCategoryIF diagnosticGroup)
setDiagnosticGroup in interface Icd9CodeIFdiagnosticGroup - new value of diagnosticGrouppublic boolean isECode()
isECode in interface Icd9CodeIFpublic boolean isVCode()
isVCode in interface Icd9CodeIFpublic HomeHealthGrouperIF getGrouper()
public void setGrouper(HomeHealthGrouperIF grouper)
grouper - new value of grouperpublic boolean isValidForScoring()
isValidForScoring in interface Icd9CodeIFpublic void setValidForScoring(boolean validForScoring)
setValidForScoring in interface Icd9CodeIFvalidForScoring - new value of validForScoringpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isBlank()
isBlank in interface Icd9CodeIFpublic boolean isValidCode()
isValidCode in interface Icd9CodeIFpublic void setValidCode(boolean validCode)
setValidCode in interface Icd9CodeIFvalidCode - new value of validCodepublic boolean isOptionalVCode()
isOptionalVCode in interface Icd9CodeIFpublic void setOptionalVCode(boolean bool)
bool -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||