|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.v3210.ClinicalFunctional_ScoringModel_v3210
public class ClinicalFunctional_ScoringModel_v3210
This Model provides scoring for the 4 clinical and functional equations defined for Grouper version 2.03.
| Field Summary | |
|---|---|
protected HomeHealthGrouperIF |
grouper
|
protected GrouperDataManager |
grouperDataManager
|
| Constructor Summary | |
|---|---|
ClinicalFunctional_ScoringModel_v3210(HomeHealthGrouperIF grouper,
GrouperDataManager grouperDataManager,
int equationId)
Constructor with references to the Grouper, the Data manager, and the equation id |
|
| Method Summary | |
|---|---|
protected int |
calculatePrimaryAdjustment(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. |
int |
determinePrimaryDiagnosis(HomeHealthRecordIF record,
DiagnosisScoringGridIF scoringGrid)
This method is not used in this model |
int[][] |
determineScoreOrder(HomeHealthRecordIF record)
Returns a non-null double array of int[6][3]. |
void |
fireDxGroupAlreadyScored(Icd9DiagnosisCodeIF code,
int position,
AlreadyScoredException e)
Scoring Event support method |
void |
fireScoringEvent(HomeHealthEvent event)
This method, along with the other fire... |
protected void |
fireScoringGeneral(java.lang.String message)
Scoring Event support method |
protected void |
fireScoringIncreaseCodeEvent(Icd9DiagnosisCodeIF diagCode,
int diagnosisPosition,
int rowId,
int score)
Scoring Event support method |
protected void |
fireScoringIncreaseEvent(java.lang.String message,
int rowId,
int score)
Scoring Event support method |
protected void |
fireScoringIncreaseEvent(java.lang.String message,
int diagnosisPosition,
int rowId,
int value)
Scoring Event support method |
protected void |
fireScoringSectionFinished(java.lang.String message,
int score)
Scoring Event support method |
protected void |
fireScoringSectionStart(java.lang.String message)
Scoring Event support method |
protected void |
fireScoringWarning(java.lang.String message)
Scoring Event support method |
protected void |
fireValidCodeWarning(Icd9DiagnosisCodeIF code,
int position,
boolean isValid)
Scoring Event support method |
CaseMixAdjustmentItemIF |
getCaseMixAdjustment(int caseMixId)
Deprecated. |
int |
getCaseMixAdjustmentEquation(int caseMixId,
int equationId)
This gets the Case Mix Adjustment table value, by essentially getting the caseMixId (i.e. |
protected Icd9DiagnosisCodeIF |
getDiagnosisCode(java.lang.String codeValue)
|
HomeHealthGrouperIF |
getGrouper()
Gets the reference to the Grouper |
java.lang.String |
getName()
The run-time name |
java.lang.String |
getShortName()
gets the short name for this Scoring Model |
void |
populateCodes(HomeHealthRecordIF record)
This populates the record with all Diagnosis codes that are valid for this grouper version that are listed on the record. |
void |
preprocessRecord(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
There is no preprocessing of the HomeHealth Record for this model, and this method should not be used. |
void |
resolveEtiologyManifestationContention(Icd9DiagnosisCodeIF etiologyCode,
int etiologyIdx,
Icd9DiagnosisCodeIF manifestionCode,
int manifestIdx,
DiagnosisScoringGridIF scoringGrid)
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. |
ScoringPointsIF |
score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
This is the main scoring module, which scores the clinical information first and then the functional information. |
ScoringPointsIF |
score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[][] scoreOrder)
This is the main scoring module, which scores the clinical information first and then the functional information. |
void |
scoreAny(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
HomeHealthRecordValidatorIF validator,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
This section covers scoring of Diagnostic groups and Case Mix Adjustment Rows that do not depend on Primary or Other specific values for the code |
int |
scoreClinical(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
Deprecated. |
int |
scoreClinical(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[][] scoreOrder)
Clinically scores the record placing values into the pointSE, and dualPointsSE variables. |
void |
scoreClinicalCode(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
HomeHealthRecordValidatorIF validator,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
|
void |
scoreClinicalColumn3_4(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int rowIdx,
DiagnosisScoringGridIF scoringGrid,
int[][] scoreOrder,
int currentPass)
After the first column (historically column 2) has determined that it is an Optional V-code that can have a column 3 & 4, this method will score those codes on the same row, and resolve any manifestation/ etiology contentions. |
int |
scoreFunctional(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
Score the functional part of the model Pseudo code lines: 1492 thru 1517 |
void |
scoreOtherOnly(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
Scores only those codes that can not be in the primary position |
void |
scorePrimaryOnly(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
Scores the Primary only code with Primary only CaseMix values |
int |
scoreRemainingVariables(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int currentScore)
This scores the remaining clinical variables. |
void |
setGrouper(HomeHealthGrouperIF grouper)
Sets the Home Health grouper that this model is associated with, null if no grouper |
void |
setName(java.lang.String arg0)
This method does nothing - the name can not be reset |
void |
setShortName(java.lang.String shortName)
sets the short name for this Scoring Model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GrouperDataManager grouperDataManager
protected HomeHealthGrouperIF grouper
| Constructor Detail |
|---|
public ClinicalFunctional_ScoringModel_v3210(HomeHealthGrouperIF grouper,
GrouperDataManager grouperDataManager,
int equationId)
grouper - grouperDataManager - equationId - | Method Detail |
|---|
public ScoringPointsIF score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
score in interface HomeHealthScoringModelIFrecord - validator -
scoreClinical(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator),
scoreFunctional(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator)
public ScoringPointsIF score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[][] scoreOrder)
record - validator -
scoreClinical(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator),
scoreFunctional(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator)
public void preprocessRecord(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
preprocessRecord in interface HomeHealthScoringModelIFrecord - validator -
public int scoreRemainingVariables(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int currentScore)
record - validator -
public java.lang.String getName()
Namable
getName in interface Namablepublic void setName(java.lang.String arg0)
setName in interface Namablearg0 -
public int getCaseMixAdjustmentEquation(int caseMixId,
int equationId)
caseMixId - equationId -
public CaseMixAdjustmentItemIF getCaseMixAdjustment(int caseMixId)
caseMixId -
protected Icd9DiagnosisCodeIF getDiagnosisCode(java.lang.String codeValue)
codeValue -
public int scoreClinical(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
record - validator -
public int scoreClinical(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[][] scoreOrder)
record - validator -
public int[][] determineScoreOrder(HomeHealthRecordIF record)
record -
public void scorePrimaryOnly(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
throws AlreadyScoredException
record - diagCode - diagIdx - scoringGrid -
AlreadyScoredException
protected int calculatePrimaryAdjustment(DiagnosisScoringGridIF scoringGrid,
int primaryAdjustmentRow,
int otherAdjustmentRow)
scoringGrid - primaryAdjustmentRow - otherAdjustmentRow -
public void scoreOtherOnly(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
throws AlreadyScoredException
record - diagCode - diagIdx - scoringGrid -
AlreadyScoredException
public void scoreAny(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
HomeHealthRecordValidatorIF validator,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
throws AlreadyScoredException
record - diagCode - diagIdx - scoringGrid -
AlreadyScoredException
public void scoreClinicalCode(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF diagCode,
HomeHealthRecordValidatorIF validator,
int diagIdx,
DiagnosisScoringGridIF scoringGrid)
public void scoreClinicalColumn3_4(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int rowIdx,
DiagnosisScoringGridIF scoringGrid,
int[][] scoreOrder,
int currentPass)
record - diagCode - validator - diagGroupsUsed - rowIdx - scoringGrid -
public int scoreFunctional(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
record - validator -
public void resolveEtiologyManifestationContention(Icd9DiagnosisCodeIF etiologyCode,
int etiologyIdx,
Icd9DiagnosisCodeIF manifestionCode,
int manifestIdx,
DiagnosisScoringGridIF scoringGrid)
diagCode - scoringRowsSecondary - scoringRowsPrevious - public void populateCodes(HomeHealthRecordIF record)
populateCodes in interface HomeHealthScoringModelIFrecord - public HomeHealthGrouperIF getGrouper()
getGrouper in interface HomeHealthScoringModelIFpublic void setGrouper(HomeHealthGrouperIF grouper)
setGrouper in interface HomeHealthScoringModelIFgrouper - public java.lang.String getShortName()
public void setShortName(java.lang.String shortName)
shortName - public void fireScoringEvent(HomeHealthEvent event)
event - HomeHealthEventNotifierIF.notifyEventListeners(HomeHealthEventIF event)
protected void fireScoringIncreaseCodeEvent(Icd9DiagnosisCodeIF diagCode,
int diagnosisPosition,
int rowId,
int score)
message - diagnosisPosition - rowId - fireScoringEvent(HomeHealthEvent)
protected void fireScoringIncreaseEvent(java.lang.String message,
int rowId,
int score)
message - diagnosisPosition - rowId - fireScoringEvent(HomeHealthEvent)
protected void fireScoringIncreaseEvent(java.lang.String message,
int diagnosisPosition,
int rowId,
int value)
message - diagnosisPosition - rowId - fireScoringEvent(HomeHealthEvent)protected void fireScoringGeneral(java.lang.String message)
message - fireScoringEvent(HomeHealthEvent)protected void fireScoringWarning(java.lang.String message)
message - fireScoringEvent(HomeHealthEvent)protected void fireScoringSectionStart(java.lang.String message)
message - fireScoringEvent(HomeHealthEvent)
protected void fireScoringSectionFinished(java.lang.String message,
int score)
message - score - fireScoringEvent(HomeHealthEvent)
protected void fireValidCodeWarning(Icd9DiagnosisCodeIF code,
int position,
boolean isValid)
code - position - isValid - fireScoringEvent(HomeHealthEvent)
public void fireDxGroupAlreadyScored(Icd9DiagnosisCodeIF code,
int position,
AlreadyScoredException e)
code - position - e -
public int determinePrimaryDiagnosis(HomeHealthRecordIF record,
DiagnosisScoringGridIF scoringGrid)
record - scoringGrid -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||