public abstract class AbstractPPSClinicalItemValidator extends AbstractItemValidator
ASSESSMENT_1_3_4_5_9_ONLY, ASSESSMENT_1_3_4_5_ONLY, ASSESSMENT_1_3_9_ONLY, ASSESSMENT_1_3_ONLY, ASSESSMENT_4_5_9_ONLY, ASSESSMENT_9_ONLY
Modifier | Constructor and Description |
---|---|
|
AbstractPPSClinicalItemValidator()
creates with a default record class of HomeHealthRecordIF
|
protected |
AbstractPPSClinicalItemValidator(java.lang.Class clazz)
creates with a supplied record class.
|
|
AbstractPPSClinicalItemValidator(java.lang.String primaryPrefix,
java.lang.String otherPrefix,
java.lang.String optPrefix)
used to set the Payment diagnosis field name prefix and the
other diagnosis field name prefix.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getOtherPrefix() |
protected java.lang.String |
getPaymentPrefix() |
java.lang.String |
getPrimaryPrefix() |
protected abstract int |
validate(HomeHealthGrouperIF grouper,
HomeHealthRecordIF record,
CollectionValidationEditsIF edits)
The detailed validator that has no idea about the data validity flag
|
int |
validate(HomeHealthGrouperIF grouper,
HomeHealthRecordIF record,
CollectionValidationEditsIF edits,
DataValidityFlagIF dataValidity)
This validates to a lower level method and if there are any invalid
issues, it sets the Clinical issue flag to true; if there are any
Manifestation issues, it sets the Manifestation issue flag to true.
|
getEditIdsUsed_base, getName, getRecordIFType, setDescription, setName
public AbstractPPSClinicalItemValidator()
public AbstractPPSClinicalItemValidator(java.lang.String primaryPrefix, java.lang.String otherPrefix, java.lang.String optPrefix)
primaryPrefix
- otherPrefix
- optPrefix
- protected AbstractPPSClinicalItemValidator(java.lang.Class clazz)
clazz
- public java.lang.String getPrimaryPrefix()
protected java.lang.String getPaymentPrefix()
protected java.lang.String getOtherPrefix()
protected abstract int validate(HomeHealthGrouperIF grouper, HomeHealthRecordIF record, CollectionValidationEditsIF edits)
grouper
- record
- edits
- public int validate(HomeHealthGrouperIF grouper, HomeHealthRecordIF record, CollectionValidationEditsIF edits, DataValidityFlagIF dataValidity)
grouper
- - the version associated with the recordrecord
- edits
- dataValidity
-