public class GrouperVersion_v4115 extends AbstractGrouper_2 implements HomeHealthGrouperIF
clinicalModel_1, clinicalModel_2, clinicalModel_3, clinicalModel_4, dataManager, effectiveDateStart, effectiveDateStartWindow, effectiveDateThru, nrsScoringModel, version
DEFAULT_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, score
copyCodes, 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, setVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
determineScoreOrder, getCaseMixAdjustments, getClinicalCodes, getDiagnosticGroups, getDiagnosticGroupsNRS, getEffectiveDateStart, getEffectiveDateStartWindow, getEffectiveDateThru, getGrouperDataManager, getNonRoutineCodes, getNRSCaseMixAdjustments, getVersion, isValidDiagnosisCode, isValidForVersion, score, setEffectiveDateStart, setEffectiveDateStartWindow, setEffectiveDateThru, setVersion
getDescription, setDescription
public 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()
AbstractGrouper
getAcceptableRecordClass
in interface HomeHealthGrouperIF
getAcceptableRecordClass
in class AbstractGrouper
public HomeHealthRecordValidatorIF getClinicalValidator()
getClinicalValidator
in interface HomeHealthGrouperIF
public HomeHealthRecordValidatorIF getClinicalValidator(CollectionValidationEditsIF validationEdits)
validationEdits
- - this will take the supplied edits and add them
to the new validatorpublic HomeHealthRecordValidatorIF getNRSValidator()
getNRSValidator
in interface HomeHealthGrouperIF
public 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 Initializable
props
- java.lang.Exception
public HomeHealthRecordValidatorIF populateValidateClinicalCodes(HomeHealthRecordIF record)
populateValidateClinicalCodes
in interface HomeHealthGrouperIF
record
- public ScoringResultsIF score(HomeHealthRecordIF recordOasisC, boolean validateDates, CollectionValidationEditsIF validationEdits, java.util.Collection<HomeHealthEventListenerIF> listeners)
HomeHealthGrouperIF
score
in interface HomeHealthGrouperIF
score
in class AbstractGrouper_2
validationEdits
- - 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 HomeHealthEventNotifierIF
listener
- public java.util.Iterator<HomeHealthEventListenerIF> getEventListeners()
getEventListeners
in interface HomeHealthEventNotifierIF
public java.util.List<HomeHealthEventListenerIF> getEventListenersList()
getEventListenersList
in interface HomeHealthEventNotifierIF
public void notifyEventListeners(HomeHealthEventIF event)
notifyEventListeners
in interface HomeHealthEventNotifierIF
event
- public void removeEventListeners()
removeEventListeners
in interface HomeHealthEventNotifierIF
public void removeEventListener(HomeHealthEventListenerIF listener)
removeEventListener
in interface HomeHealthEventNotifierIF
listener
- public int getListenerCount()
getListenerCount
in interface HomeHealthEventNotifierIF
public void reportPrimaryCodeSelection(java.util.Collection<HomeHealthEventListenerIF> listeners, HomeHealthRecordIF recordOasisC, int[][] scoreOrder)
public HIPPSCodeIF createHippsCode()
createHippsCode
in class AbstractGrouper_2
public HIPPSCodeIF createHippsCode(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, PointsScoringEquationsIF clinicalScore, PointsScoringEquationsIF functionalScore, int nrsScore)
createHippsCode
in class AbstractGrouper_2