|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.v2308_1.ClinicalFunctional_ScoringModel_v2308
public class ClinicalFunctional_ScoringModel_v2308
This Model provides scoring for the 4 clinical and functional equations defined for Grouper version 2.03.
| Constructor Summary | |
|---|---|
ClinicalFunctional_ScoringModel_v2308(HomeHealthGrouperIF grouper,
GrouperDataManager grouperDataManager,
int equationId)
Constructor with references to the Grouper, the Data manager, and the equation id |
|
| Method Summary | |
|---|---|
int[] |
calculateInitialScore(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
There is no initial scoring of the HomeHealth Record for this model, and this method should not be used. |
void |
determinePrimaryDiagnosis(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] icd9Points)
Determining the primary diagnosis between the two pairs M0230a/240b or M0246a3/M0246a4. |
protected void |
fireScoringCodeEligible(int position,
Icd9DiagnosisCodeIF code)
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 |
fireScoringIncreaseEvent(java.lang.String message,
int diagnosisPosition,
int rowId)
Scoring Event support method |
protected void |
fireScoringSectionFinished(java.lang.String message,
int score)
Scoring Event support method |
protected void |
fireScoringSectionFinished(java.lang.String message,
int[] scores)
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)
Searches for the case mix object using the id - i.e. |
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)
The Icd9DiagnosisCodeIF with its value being codeValue. |
HomeHealthGrouperIF |
getGrouper()
Gets the reference to the Grouper |
java.lang.String |
getName()
The name of this version. |
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 |
recalculateNonPrimaryCodes(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] icd9Points,
int[] dualPointsSE)
Recalculate the score of each non-primary diagnosis in casemix variables with different scores for primary vs. |
boolean[] |
resolveEtiologyManifestationContention(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] icd9_pointsSE,
boolean[] diagGroupsUsed)
Cycle through all diagnosis positions with points. |
ScoringPointsIF |
score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
This is the main scoring module, which scores the clinical information first and then the functional information. |
int |
scoreClinical(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
Clinically scores the record placing values into the pointSE, and dualPointsSE variables. |
int |
scoreFunctional(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
Score the functional part of the model Pseudo code lines: 1492 thru 1517 |
int |
scoreRemainingVariables(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] points)
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClinicalFunctional_ScoringModel_v2308(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 void preprocessRecord(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
preprocessRecord in interface HomeHealthScoringModelIFrecord - validator -
public int[] calculateInitialScore(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
record - validator -
public void determinePrimaryDiagnosis(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] icd9Points)
record - validator - - the validator should have already preformed validation
on the current recordicd9Points -
public boolean[] resolveEtiologyManifestationContention(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] icd9_pointsSE,
boolean[] diagGroupsUsed)
record - validator - icd9_pointsSE - diagGroupsUsed -
public void recalculateNonPrimaryCodes(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] icd9Points,
int[] dualPointsSE)
record - validator - icd9Points - dualPointsSE -
public int scoreRemainingVariables(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[] points)
record - validator - points -
public java.lang.String getName()
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 scoreFunctional(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
record - validator -
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 void fireScoringEvent(HomeHealthEvent event)
event - HomeHealthEventNotifierIF.notifyEventListeners(HomeHealthEventIF event)
protected void fireScoringIncreaseEvent(java.lang.String message,
int diagnosisPosition,
int rowId)
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[] scores)
message - scores - fireScoringEvent(HomeHealthEvent)
protected void fireScoringSectionFinished(java.lang.String message,
int score)
message - score - fireScoringEvent(HomeHealthEvent)
protected void fireScoringCodeEligible(int position,
Icd9DiagnosisCodeIF code)
position - code - fireScoringEvent(HomeHealthEvent)
protected void fireValidCodeWarning(Icd9DiagnosisCodeIF code,
int position,
boolean isValid)
code - position - isValid - fireScoringEvent(HomeHealthEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||