public class ScoringModelUtils
extends java.lang.Object
Constructor and Description |
---|
ScoringModelUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
calculatePrimaryAdjustment(DataManagerIF grouperDataManager,
boolean clinical,
int equationId,
DiagnosisScoringGridIF scoringGrid,
int primaryAdjustmentRow,
int otherAdjustmentRow)
This calculates the primary code score, and if the Other Dx has already
been scored, then reduce the primary code by the Other Dx value.
|
static int |
getCaseMixAdjustmentEquation(DataManagerIF grouperDataManager,
boolean clinical,
int caseMixId,
int equationId)
This gets the Case Mix Adjustment table value, by essentially getting the
caseMixId (i.e.
|
static void |
resolveEtiologyManifestationContention(HomeHealthGrouperIF grouper,
HomeHealthScoringModelIF scoringModel,
DiagnosisCodeIF etiologyCode,
int etiologyIdx,
DiagnosisCodeIF manifestionCode,
int manifestIdx,
DiagnosisScoringGridIF scoringGrid,
java.util.Collection<HomeHealthEventListenerIF> listeners)
Given two codes that are part of a Manifestation/Etiology pair, determine
which code has the highest score and remove the value for the code with
the lowest score.
|
public static int calculatePrimaryAdjustment(DataManagerIF grouperDataManager, boolean clinical, int equationId, DiagnosisScoringGridIF scoringGrid, int primaryAdjustmentRow, int otherAdjustmentRow)
scoringGrid
- primaryAdjustmentRow
- otherAdjustmentRow
- public static int getCaseMixAdjustmentEquation(DataManagerIF grouperDataManager, boolean clinical, int caseMixId, int equationId)
caseMixId
- equationId
- public static void resolveEtiologyManifestationContention(HomeHealthGrouperIF grouper, HomeHealthScoringModelIF scoringModel, DiagnosisCodeIF etiologyCode, int etiologyIdx, DiagnosisCodeIF manifestionCode, int manifestIdx, DiagnosisScoringGridIF scoringGrid, java.util.Collection<HomeHealthEventListenerIF> listeners)
etiologyCode
- etiologyIdx
- manifestionCode
- manifestIdx
- scoringGrid
-