public class ClinicalFunctional_ScoringModel_v4115 extends java.lang.Object implements HomeHealthScoringModelIF
Modifier and Type | Field and Description |
---|---|
protected HomeHealthGrouperIF |
grouper |
protected DataManagerIF |
grouperDataManager |
Constructor and Description |
---|
ClinicalFunctional_ScoringModel_v4115(HomeHealthGrouperIF grouper,
DataManagerIF grouperDataManager,
int equationId)
Constructor with references to the Grouper, the Data manager, and the
equation id
|
ClinicalFunctional_ScoringModel_v4115(HomeHealthGrouperIF grouper,
DataManagerIF grouperDataManager,
int equationId,
java.lang.String shortName) |
Modifier and Type | Method and Description |
---|---|
protected DiagnosisCodeIF |
getDiagnosisCode(java.lang.String codeValue) |
HomeHealthGrouperIF |
getGrouper()
gets a reference to the Grouper which created this model
|
int |
getId()
the id of the object
|
java.lang.String |
getName()
The run-time name
|
java.lang.String |
getShortName() |
boolean |
isUseOptionalLogic() |
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)
Deprecated.
|
void |
preprocessRecord(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
java.util.Collection<HomeHealthEventListenerIF> listeners)
There is no preprocessing of the HomeHealth Record for this model, and
this does nothing.
|
ScoringPointsIF |
score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator)
Deprecated.
|
ScoringPointsIF |
score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[][] scoreOrder)
Calls score() with listeners being null
|
ScoringPointsIF |
score(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[][] scoreOrder,
java.util.Collection<HomeHealthEventListenerIF> listeners)
This is the overall scoring routine.
|
void |
scoreAny(HomeHealthRecordIF record,
DiagnosisCodeIF diagCode,
HomeHealthRecordValidatorIF validator,
int diagIdx,
DiagnosisScoringGridIF scoringGrid,
java.util.Collection<HomeHealthEventListenerIF> listeners)
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
May 2013: updated to use OASIS-C values
|
int |
scoreClinical(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int[][] scoreOrder,
java.util.Collection<HomeHealthEventListenerIF> listeners)
September 2012 - Overriding this method in order to added check for
payment code pairings prior to scoring related codes.
|
void |
scoreClinicalCode(HomeHealthRecordIF record,
DiagnosisCodeIF diagCode,
HomeHealthRecordValidatorIF validator,
int diagIdx,
DiagnosisScoringGridIF scoringGrid,
java.util.Collection<HomeHealthEventListenerIF> listeners)
This overrides in order to check for primary awarding for Dx in position
2, with the appropriate payment code in position 1
|
void |
scoreClinicalColumn3_4(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int rowIdx,
DiagnosisScoringGridIF scoringGrid,
int[][] scoreOrder,
int currentPass,
java.util.Collection<HomeHealthEventListenerIF> listeners)
After the first column (historically column 2) has determined that it is
an Optional payment 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,
java.util.Collection<HomeHealthEventListenerIF> listeners)
Score the functional part of the model, basically things such as CUR_?
and dressing.
|
void |
scoreOtherOnly(HomeHealthRecordIF record,
DiagnosisCodeIF diagCode,
int diagIdx,
DiagnosisScoringGridIF scoringGrid,
java.util.Collection<HomeHealthEventListenerIF> listeners)
Scores only those codes that can not be in the primary position
|
void |
scorePrimaryOnly(HomeHealthRecordIF record,
DiagnosisCodeIF diagCode,
int diagIdx,
DiagnosisScoringGridIF scoringGrid,
java.util.Collection<HomeHealthEventListenerIF> listeners)
Scores the Primary only code with Primary only CaseMix values.
|
int |
scoreRemainingVariables(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
int currentScore,
java.util.Collection<HomeHealthEventListenerIF> listeners)
This scores the remaining clinical variables.
|
void |
setGrouper(HomeHealthGrouperIF grouper)
Sets the Grouper which created this model at run time.
|
void |
setId(int id)
Sets the id for the object at run time
|
void |
setName(java.lang.String name)
Sets the run-time name associated with the object
|
void |
setUseOptionalLogic(boolean useOptionalLogic) |
protected DataManagerIF grouperDataManager
protected HomeHealthGrouperIF grouper
public ClinicalFunctional_ScoringModel_v4115(HomeHealthGrouperIF grouper, DataManagerIF grouperDataManager, int equationId)
grouper
- grouperDataManager
- equationId
- public ClinicalFunctional_ScoringModel_v4115(HomeHealthGrouperIF grouper, DataManagerIF grouperDataManager, int equationId, java.lang.String shortName)
grouper
- grouperDataManager
- equationId
- shortName
- public boolean isUseOptionalLogic()
public void setUseOptionalLogic(boolean useOptionalLogic)
public HomeHealthGrouperIF getGrouper()
HomeHealthScoringModelIF
getGrouper
in interface HomeHealthScoringModelIF
public java.lang.String getName()
Namable
public java.lang.String getShortName()
protected DiagnosisCodeIF getDiagnosisCode(java.lang.String codeValue)
codeValue
- public void populateCodes(HomeHealthRecordIF record)
populateCodes
in interface HomeHealthScoringModelIF
record
- public ScoringPointsIF score(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator)
HomeHealthScoringModelIF
score
in interface HomeHealthScoringModelIF
record
- validator
- public void preprocessRecord(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator)
preprocessRecord
in interface HomeHealthScoringModelIF
record
- validator
- HomeHealthScoringModelIF.preprocessRecord(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, Collection listeners)
public void preprocessRecord(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, java.util.Collection<HomeHealthEventListenerIF> listeners)
preprocessRecord
in interface HomeHealthScoringModelIF
record
- validator
- listeners
- - can be null, otherwise list of listeners for notified
of eventspublic ScoringPointsIF score(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, int[][] scoreOrder, java.util.Collection<HomeHealthEventListenerIF> listeners)
HomeHealthScoringModelIF
score
in interface HomeHealthScoringModelIF
scoreOrder
- - array of int[6][3] determining the scoring order
of a diagnosis code in the related position.listeners
- - can be null, otherwise list of listeners for notified of eventspublic ScoringPointsIF score(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, int[][] scoreOrder)
score
in interface HomeHealthScoringModelIF
record
- validator
- scoreOrder
- public void scoreAny(HomeHealthRecordIF record, DiagnosisCodeIF diagCode, HomeHealthRecordValidatorIF validator, int diagIdx, DiagnosisScoringGridIF scoringGrid, java.util.Collection<HomeHealthEventListenerIF> listeners) throws AlreadyScoredException
record
- diagCode
- validator
- - used to check edits during scoringdiagIdx
- scoringGrid
- listeners
- - used to collect/report eventsAlreadyScoredException
public int scoreClinical(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, int[][] scoreOrder, java.util.Collection<HomeHealthEventListenerIF> listeners)
record
- validator
- scoreOrder
- listeners
- ClinicalFunctional_ScoringModel_v3312#scoreClinial(HomeHealthRecord_IF
record, HomeHealthRecordValidatorIF validator, int scoreOrder[][])
public void scoreClinicalCode(HomeHealthRecordIF record, DiagnosisCodeIF diagCode, HomeHealthRecordValidatorIF validator, int diagIdx, DiagnosisScoringGridIF scoringGrid, java.util.Collection<HomeHealthEventListenerIF> listeners)
record
- diagCode
- validator
- diagIdx
- scoringGrid
- listeners
- public void scoreClinicalColumn3_4(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, int rowIdx, DiagnosisScoringGridIF scoringGrid, int[][] scoreOrder, int currentPass, java.util.Collection<HomeHealthEventListenerIF> listeners)
record
- validator
- rowIdx
- scoringGrid
- scoreOrder
- currentPass
- listeners
- public int scoreFunctional(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, java.util.Collection<HomeHealthEventListenerIF> listeners)
record
- validator
- listeners
- public void scoreOtherOnly(HomeHealthRecordIF record, DiagnosisCodeIF diagCode, int diagIdx, DiagnosisScoringGridIF scoringGrid, java.util.Collection<HomeHealthEventListenerIF> listeners) throws AlreadyScoredException
record
- diagCode
- diagIdx
- scoringGrid
- listeners
- AlreadyScoredException
public void scorePrimaryOnly(HomeHealthRecordIF record, DiagnosisCodeIF diagCode, int diagIdx, DiagnosisScoringGridIF scoringGrid, java.util.Collection<HomeHealthEventListenerIF> listeners) throws AlreadyScoredException
record
- diagCode
- diagIdx
- scoringGrid
- listeners
- AlreadyScoredException
public int scoreRemainingVariables(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, int currentScore, java.util.Collection<HomeHealthEventListenerIF> listeners)
record
- validator
- public void setGrouper(HomeHealthGrouperIF grouper)
HomeHealthScoringModelIF
setGrouper
in interface HomeHealthScoringModelIF
public void setName(java.lang.String name)
Namable
public int getId()
Identifiable
getId
in interface Identifiable
public void setId(int id)
Identifiable
setId
in interface Identifiable