|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.DiagnosisScoringGrid
public class DiagnosisScoringGrid
This holds the score and scoring rows for all the diagnosis positions within the record as a grid with 3 columns and 6 rows to make up the 18 position for possible diagnoses. Scoring rows returned from this may be null because it is a sparse array
| Constructor Summary | |
|---|---|
DiagnosisScoringGrid()
|
|
| Method Summary | |
|---|---|
void |
addScore(Icd9DiagnosisCodeIF diagnosisCode,
int diagnosisIdx,
int caseMixAdjustmentRow,
int score,
boolean checkDiagnosticGroup)
Add a score to the grid. |
void |
clearScore(int diagnosisIdx)
removes all the current scores so that this object can be reused |
int |
getTotalScore()
gets the total score by adding all the individual items |
int |
getTotalScoreForDiagnosis(int diagnosisIdx)
gets the total score for a single diagnosis |
boolean |
isCaseMixAdjustmentRowScored(int caseMixAdjustmentRow)
Determines if the Case Mix Adjustment row has already been scored |
boolean |
isDiagnosticGroupScored(int diagnosisIdx,
int groupId)
Returns true when the diagnostic group has already scored |
void |
setScore(Icd9DiagnosisCodeIF diagnosisCode,
int diagnosisIdx,
int caseMixAdjustmentRow,
int score,
boolean checkDiagnosticGroup)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagnosisScoringGrid()
| Method Detail |
|---|
public void addScore(Icd9DiagnosisCodeIF diagnosisCode,
int diagnosisIdx,
int caseMixAdjustmentRow,
int score,
boolean checkDiagnosticGroup)
throws AlreadyScoredException
DiagnosisScoringGridIF
addScore in interface DiagnosisScoringGridIFcheckDiagnosticGroup - - tells the scoring grid to check (true)
duplicate entries for DiagnosticGroup, or not to check (false)
AlreadyScoredException
public void setScore(Icd9DiagnosisCodeIF diagnosisCode,
int diagnosisIdx,
int caseMixAdjustmentRow,
int score,
boolean checkDiagnosticGroup)
throws AlreadyScoredException
setScore in interface DiagnosisScoringGridIFcheckDiagnosticGroup - - tells the scoring grid to check (true)
duplicate entries for DiagnosticGroup, or not to check (false)
AlreadyScoredExceptionpublic void clearScore(int diagnosisIdx)
DiagnosisScoringGridIF
clearScore in interface DiagnosisScoringGridIFpublic int getTotalScore()
getTotalScore in interface DiagnosisScoringGridIFpublic int getTotalScoreForDiagnosis(int diagnosisIdx)
DiagnosisScoringGridIF
getTotalScoreForDiagnosis in interface DiagnosisScoringGridIF
public boolean isDiagnosticGroupScored(int diagnosisIdx,
int groupId)
DiagnosisScoringGridIF
isDiagnosticGroupScored in interface DiagnosisScoringGridIFpublic boolean isCaseMixAdjustmentRowScored(int caseMixAdjustmentRow)
isCaseMixAdjustmentRowScored in interface DiagnosisScoringGridIFcaseMixAdjustmentRow -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||