com.mmm.cms.homehealth.proto
Interface DiagnosisScoringGridIF

All Known Implementing Classes:
DiagnosisScoringGrid

public interface DiagnosisScoringGridIF


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()
          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(Icd9DiagnosisCodeIF diagnosisCode, int diagnosisIdx, int caseMixAdjustmentRow, int score, boolean checkDiagnosticGroup)
           
 

Method Detail

addScore

void addScore(Icd9DiagnosisCodeIF diagnosisCode,
              int diagnosisIdx,
              int caseMixAdjustmentRow,
              int score,
              boolean checkDiagnosticGroup)
              throws AlreadyScoredException
Add a score to the grid. This performs a check on the caseMixAdjustmentRow to make sure the row has not already scored for the diagnostic group assocaited with the code.

Parameters:
diagnosisCode -
diagnosisIdx -
caseMixAdjustmentRow -
score -
checkDiagnosticGroup - - tells the scoring grid to check (true) duplicate entries for DiagnosticGroup, or not to check (false)
Throws:
AlreadyScoredException

clearScore

void clearScore(int diagnosisIdx)
removes all the current scores so that this object can be reused

Parameters:
diagnosisIdx -

getTotalScore

int getTotalScore()
Returns the summed score of all the items scored

Returns:

getTotalScoreForDiagnosis

int getTotalScoreForDiagnosis(int diagnosisIdx)
gets the total score for a single diagnosis

Parameters:
diagnosisIdx -
Returns:

isCaseMixAdjustmentRowScored

boolean isCaseMixAdjustmentRowScored(int rowId)
Returns true when the case mix adjustment row has already been scored

Parameters:
rowId -
Returns:

isDiagnosticGroupScored

boolean isDiagnosticGroupScored(int diagnosisIdx,
                                int groupId)
Returns true when the diagnostic group has already scored

Parameters:
diagnosisIdx -
groupId -
scoreType -
Returns:

setScore

void setScore(Icd9DiagnosisCodeIF diagnosisCode,
              int diagnosisIdx,
              int caseMixAdjustmentRow,
              int score,
              boolean checkDiagnosticGroup)
              throws AlreadyScoredException
Parameters:
diagnosisCode -
diagnosisIdx -
caseMixAdjustmentRow -
score -
checkDiagnosticGroup - - tells the scoring grid to check (true) duplicate entries for DiagnosticGroup, or not to check (false)
Throws:
AlreadyScoredException