public class GrouperVersion_v4115 extends AbstractGrouper_2 implements HomeHealthGrouperIF
clinicalModel_1, clinicalModel_2, clinicalModel_3, clinicalModel_4, dataManager, effectiveDateStart, effectiveDateStartWindow, effectiveDateThru, nrsScoringModel, versionDEFAULT_BLANK_VALUE| Modifier | Constructor and Description |
|---|---|
|
GrouperVersion_v4115()
Constructor that sets the effective start and thru date
|
protected |
GrouperVersion_v4115(java.util.Calendar effectiveStart,
java.util.Calendar effectiveThru,
java.util.Calendar effectiveWindow,
java.lang.String versionName)
Allows extended classes to construct with their own date ranges.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(HomeHealthEventListenerIF listener)
Deprecated.
|
HIPPSCodeIF |
createHippsCode() |
HIPPSCodeIF |
createHippsCode(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
PointsScoringEquationsIF clinicalScore,
PointsScoringEquationsIF functionalScore,
int nrsScore) |
java.lang.Class |
getAcceptableRecordClass()
Each version has an acceptable record type that can be processed, and
this returns that class allowing the isValidForVersion() to more
appropriately check the validity of processing a specific record.
|
HomeHealthRecordValidatorIF |
getClinicalValidator()
Provides the validator for the Clinical portion of the scoring
|
HomeHealthRecordValidatorIF |
getClinicalValidator(CollectionValidationEditsIF validationEdits)
Provides the validator for the Clinical portion of the scoring using the
provided validation edits.
|
java.util.Iterator<HomeHealthEventListenerIF> |
getEventListeners()
Deprecated.
|
java.util.List<HomeHealthEventListenerIF> |
getEventListenersList()
Deprecated.
|
int |
getListenerCount()
Deprecated.
|
HomeHealthRecordValidatorIF |
getNRSValidator()
Provides the validator for the Non-Routine Supplies portion of the
scoring
|
HomeHealthRecordValidatorIF |
getNRSValidator(CollectionValidationEditsIF validationEdits)
Provides the validator for the Non-Routine Supplies portion of the
scoring using the provided validation edits.
|
void |
init(java.util.Properties props)
Sets up this version by loading the related Diagnosis code / Group data,
and initializing the scoring models: 4 clinical/functional models (one
for each equation), and one Non-Routine Supplies model
|
void |
notifyEventListeners(HomeHealthEventIF event)
Deprecated.
|
HomeHealthRecordValidatorIF |
populateValidateClinicalCodes(HomeHealthRecordIF record)
This method is not very efficient for scoring a record, since it
populates the codes into the record each time, prior to validating them.
|
void |
removeEventListener(HomeHealthEventListenerIF listener)
Deprecated.
|
void |
removeEventListeners()
Deprecated.
|
void |
reportPrimaryCodeSelection(java.util.Collection<HomeHealthEventListenerIF> listeners,
HomeHealthRecordIF recordOasisC,
int[][] scoreOrder) |
ScoringResultsIF |
score(HomeHealthRecordIF recordOasisC,
boolean validateDates,
CollectionValidationEditsIF validationEdits,
java.util.Collection<HomeHealthEventListenerIF> listeners)
Scores the record using the supplied validation information (if non-null)
instead of using the built in validation capabilities.
|
determineScoreOrder, scorecopyCodes, getCaseMixAdjustments, getClinicalCodes, getClinicalModel_1, getClinicalModel_2, getClinicalModel_3, getClinicalModel_4, getDescription, getDiagnosticGroups, getDiagnosticGroupsNRS, getEffectiveDateStart, getEffectiveDateStartWindow, getEffectiveDateThru, getGrouperDataManager, getName, getNonRoutineCodes, getNRSCaseMixAdjustments, getNrsScoringModel, getVersion, isValidDiagnosisCode, isValidForVersion, reportNonScoringDiagnosis, setClinicalModel_1, setClinicalModel_2, setClinicalModel_3, setClinicalModel_4, setDescription, setEffectiveDateStart, setEffectiveDateStartWindow, setEffectiveDateThru, setGrouperDataManager, setName, setNrsScoringModel, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetermineScoreOrder, getCaseMixAdjustments, getClinicalCodes, getDiagnosticGroups, getDiagnosticGroupsNRS, getEffectiveDateStart, getEffectiveDateStartWindow, getEffectiveDateThru, getGrouperDataManager, getNonRoutineCodes, getNRSCaseMixAdjustments, getVersion, isValidDiagnosisCode, isValidForVersion, score, setEffectiveDateStart, setEffectiveDateStartWindow, setEffectiveDateThru, setVersiongetDescription, setDescriptionpublic GrouperVersion_v4115()
protected GrouperVersion_v4115(java.util.Calendar effectiveStart,
java.util.Calendar effectiveThru,
java.util.Calendar effectiveWindow,
java.lang.String versionName)
effectiveStart - effectiveThru - effectiveWindow - versionName - public java.lang.Class getAcceptableRecordClass()
AbstractGroupergetAcceptableRecordClass in interface HomeHealthGrouperIFgetAcceptableRecordClass in class AbstractGrouperpublic HomeHealthRecordValidatorIF getClinicalValidator()
getClinicalValidator in interface HomeHealthGrouperIFpublic HomeHealthRecordValidatorIF getClinicalValidator(CollectionValidationEditsIF validationEdits)
validationEdits - - this will take the supplied edits and add them
to the new validatorpublic HomeHealthRecordValidatorIF getNRSValidator()
getNRSValidator in interface HomeHealthGrouperIFpublic HomeHealthRecordValidatorIF getNRSValidator(CollectionValidationEditsIF validationEdits)
validationEdits - - this will take the supplied edits and add them
to the new validatorpublic void init(java.util.Properties props)
throws java.lang.Exception
init in interface Initializableprops - java.lang.Exceptionpublic HomeHealthRecordValidatorIF populateValidateClinicalCodes(HomeHealthRecordIF record)
populateValidateClinicalCodes in interface HomeHealthGrouperIFrecord - public ScoringResultsIF score(HomeHealthRecordIF recordOasisC, boolean validateDates, CollectionValidationEditsIF validationEdits, java.util.Collection<HomeHealthEventListenerIF> listeners)
HomeHealthGrouperIFscore in interface HomeHealthGrouperIFscore in class AbstractGrouper_2validationEdits - - if non-null, then this information is used
during scoring as the validation information, otherwise, if null, the
built in validation is performed.public void addEventListener(HomeHealthEventListenerIF listener)
addEventListener in interface HomeHealthEventNotifierIFlistener - public java.util.Iterator<HomeHealthEventListenerIF> getEventListeners()
getEventListeners in interface HomeHealthEventNotifierIFpublic java.util.List<HomeHealthEventListenerIF> getEventListenersList()
getEventListenersList in interface HomeHealthEventNotifierIFpublic void notifyEventListeners(HomeHealthEventIF event)
notifyEventListeners in interface HomeHealthEventNotifierIFevent - public void removeEventListeners()
removeEventListeners in interface HomeHealthEventNotifierIFpublic void removeEventListener(HomeHealthEventListenerIF listener)
removeEventListener in interface HomeHealthEventNotifierIFlistener - public int getListenerCount()
getListenerCount in interface HomeHealthEventNotifierIFpublic void reportPrimaryCodeSelection(java.util.Collection<HomeHealthEventListenerIF> listeners, HomeHealthRecordIF recordOasisC, int[][] scoreOrder)
public HIPPSCodeIF createHippsCode()
createHippsCode in class AbstractGrouper_2public HIPPSCodeIF createHippsCode(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, PointsScoringEquationsIF clinicalScore, PointsScoringEquationsIF functionalScore, int nrsScore)
createHippsCode in class AbstractGrouper_2