public interface DiagnosisScoringGridIF
| Modifier and Type | Method and Description |
|---|---|
void |
addScore(DiagnosisCodeIF 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
|
boolean |
getScoredByWinningContention(int diagnosisIdx)
gets the flag indicating that the diagnosis code scored due to
winning a etiology/manifestation contention
|
int |
getTotalScore()
Returns the summed score of all the items scored
|
int |
getTotalScoreForDiagnosis(int diagnosisIdx)
gets the total score for a single diagnosis
|
boolean |
isCaseMixAdjustmentRowScored(int rowId)
Returns true when 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(DiagnosisCodeIF diagnosisCode,
int diagnosisIdx,
int caseMixAdjustmentRow,
int score,
boolean checkDiagnosticGroup) |
void |
setScoredByWinningContention(int diagnosisIdx,
boolean flag)
sets the flag indicating that the diagnosis code scored due to
winning a etiology/manifestation contention
|
void addScore(DiagnosisCodeIF diagnosisCode, int diagnosisIdx, int caseMixAdjustmentRow, int score, boolean checkDiagnosticGroup) throws AlreadyScoredException
diagnosisCode - diagnosisIdx - caseMixAdjustmentRow - score - checkDiagnosticGroup - - tells the scoring grid to check (true)
duplicate entries for DiagnosticGroup, or not to check (false)AlreadyScoredExceptionvoid clearScore(int diagnosisIdx)
diagnosisIdx - boolean getScoredByWinningContention(int diagnosisIdx)
diagnosisIdx - - zero based index of the diagnosis codeint getTotalScore()
int getTotalScoreForDiagnosis(int diagnosisIdx)
diagnosisIdx - boolean isCaseMixAdjustmentRowScored(int rowId)
rowId - boolean isDiagnosticGroupScored(int diagnosisIdx,
int groupId)
diagnosisIdx - groupId - void setScore(DiagnosisCodeIF diagnosisCode, int diagnosisIdx, int caseMixAdjustmentRow, int score, boolean checkDiagnosticGroup) throws AlreadyScoredException
diagnosisCode - diagnosisIdx - caseMixAdjustmentRow - score - checkDiagnosticGroup - - tells the scoring grid to check (true)
duplicate entries for DiagnosticGroup, or not to check (false)AlreadyScoredExceptionvoid setScoredByWinningContention(int diagnosisIdx,
boolean flag)
diagnosisIdx - - zero based index of the diagnosis codeflag - - true if the score was based on winning a contention