|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.DiagnosisCode_Empty
public class DiagnosisCode_Empty
This class represents a blank code that can not be alterred. Since so many records include blank items this class helps to save memory by providing a single non-changing code for use when processing those blank codes
| Field Summary | |
|---|---|
static DiagnosisCode_Empty |
DEFAULT
|
| Fields inherited from interface com.mmm.cms.homehealth.proto.Icd9CodeIF |
|---|
TYPE_ICD_9_CM_DIAGNOSIS |
| Constructor Summary | |
|---|---|
protected |
DiagnosisCode_Empty()
|
| Method Summary | |
|---|---|
Icd9DiagnosisCodeIF |
clone()
creates an exact copy of this object that can be manipulated separately without effecting this object |
java.lang.String |
getCode()
Gets the code value |
int |
getCodeType()
gets the code type |
java.lang.String |
getDescription()
The description of the object |
DiagnosticCategoryIF |
getDiagnosticGroup()
gets the Diagnostic Group indicator |
java.util.List<Icd9DiagnosisCodeIF> |
getEtiologyPairCodes()
gets the list of etiology pairs - only valid when the code is flagged as a secondary only |
boolean |
isBlank()
Codes can be blank, and this will return true if it is |
boolean |
isDiabeticUlcer()
gets the Diabetic Ulcer indicator |
boolean |
isECode()
This checks the current code value for a starting 'E'. |
boolean |
isOptionalVCode()
This checks the code value for a starting 'V'. |
boolean |
isPrimary()
Indicates if the code is considered the primary code in the case mix. |
boolean |
isSecondaryOnly()
gets the secondary only indicator |
boolean |
isUlcer()
gets the Ulcer indicator |
boolean |
isValidCode()
gets the valid ICD-9-CM code indicator. |
boolean |
isValidEtiologyPair(Icd9DiagnosisCodeIF code)
check to determine if the code is on the list of allowable code pairs for this diagnosis. |
boolean |
isValidForScoring()
This value is used to determine if a code is used in the scoring or should be skipped. |
boolean |
isVCode()
This checks the current code value for a starting 'V'. |
void |
setCode(java.lang.String code)
Sets the code value |
void |
setCodeType(int type)
Sets the code type - must be either 1 for diagnosis or 2 for procedure |
void |
setDescription(java.lang.String description)
Sets the objects internal description |
void |
setDiabeticUlcer(boolean diabeticUlcer)
Sets the relating to Diabetic Ulcer flag |
void |
setDiagnosticGroup(DiagnosticCategoryIF diagnosticGroup)
sets the Diagnostic Grouper indicator |
void |
setEtiologyPairCodes(java.util.List<Icd9DiagnosisCodeIF> pairs)
Sets the Allowable Etiology Pair codes for this current code. |
void |
setGrouper(HomeHealthGrouperIF grouper)
|
void |
setOptionalVCode(boolean bool)
|
void |
setPrimary(boolean primary)
Sets the Primary Diagnosis indicator |
void |
setSecondaryOnly(boolean bool)
sets the secondary only flag |
void |
setUlcer(boolean ulcer)
Sets the relating to Ulcer flag |
void |
setValidCode(boolean validCode)
Sets the valid code flag |
void |
setValidForScoring(boolean validForScoring)
sets the valid for scoring flag |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DiagnosisCode_Empty DEFAULT
| Constructor Detail |
|---|
protected DiagnosisCode_Empty()
| Method Detail |
|---|
public void setDiabeticUlcer(boolean diabeticUlcer)
Icd9DiagnosisCodeIF
setDiabeticUlcer in interface Icd9DiagnosisCodeIFpublic void setEtiologyPairCodes(java.util.List<Icd9DiagnosisCodeIF> pairs)
Icd9DiagnosisCodeIF
setEtiologyPairCodes in interface Icd9DiagnosisCodeIFpublic void setPrimary(boolean primary)
Icd9DiagnosisCodeIF
setPrimary in interface Icd9DiagnosisCodeIFprimary - - true or falsepublic void setSecondaryOnly(boolean bool)
Icd9DiagnosisCodeIF
setSecondaryOnly in interface Icd9DiagnosisCodeIFpublic void setUlcer(boolean ulcer)
Icd9DiagnosisCodeIF
setUlcer in interface Icd9DiagnosisCodeIFpublic void setCode(java.lang.String code)
Icd9CodeIF
setCode in interface Icd9CodeIFpublic void setCodeType(int type)
Icd9CodeIF
setCodeType in interface Icd9CodeIFpublic void setDescription(java.lang.String description)
Describable
setDescription in interface Describablepublic void setDiagnosticGroup(DiagnosticCategoryIF diagnosticGroup)
Icd9CodeIF
setDiagnosticGroup in interface Icd9CodeIFpublic void setGrouper(HomeHealthGrouperIF grouper)
public void setOptionalVCode(boolean bool)
public void setValidCode(boolean validCode)
Icd9CodeIF
setValidCode in interface Icd9CodeIFpublic void setValidForScoring(boolean validForScoring)
Icd9CodeIF
setValidForScoring in interface Icd9CodeIF
public Icd9DiagnosisCodeIF clone()
throws java.lang.CloneNotSupportedException
Icd9DiagnosisCodeIF
clone in interface Icd9DiagnosisCodeIFclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.util.List<Icd9DiagnosisCodeIF> getEtiologyPairCodes()
Icd9DiagnosisCodeIF
getEtiologyPairCodes in interface Icd9DiagnosisCodeIFpublic boolean isDiabeticUlcer()
Icd9DiagnosisCodeIF
isDiabeticUlcer in interface Icd9DiagnosisCodeIFpublic boolean isPrimary()
Icd9DiagnosisCodeIF
isPrimary in interface Icd9DiagnosisCodeIFpublic boolean isSecondaryOnly()
Icd9DiagnosisCodeIF
isSecondaryOnly in interface Icd9DiagnosisCodeIFpublic boolean isUlcer()
Icd9DiagnosisCodeIF
isUlcer in interface Icd9DiagnosisCodeIFpublic boolean isValidEtiologyPair(Icd9DiagnosisCodeIF code)
Icd9DiagnosisCodeIF
isValidEtiologyPair in interface Icd9DiagnosisCodeIFpublic java.lang.String getCode()
Icd9CodeIF
getCode in interface Icd9CodeIFpublic int getCodeType()
Icd9CodeIF
getCodeType in interface Icd9CodeIFpublic DiagnosticCategoryIF getDiagnosticGroup()
Icd9CodeIF
getDiagnosticGroup in interface Icd9CodeIFpublic boolean isBlank()
Icd9CodeIF
isBlank in interface Icd9CodeIFpublic boolean isECode()
Icd9CodeIF
isECode in interface Icd9CodeIFpublic boolean isOptionalVCode()
Icd9CodeIF
isOptionalVCode in interface Icd9CodeIFpublic boolean isVCode()
Icd9CodeIF
isVCode in interface Icd9CodeIFpublic boolean isValidCode()
Icd9CodeIF
isValidCode in interface Icd9CodeIFpublic boolean isValidForScoring()
Icd9CodeIF
isValidForScoring in interface Icd9CodeIFpublic java.lang.String getDescription()
Describable
getDescription in interface Describablepublic 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 | |||||||||