com.mmm.cms.homehealth.proto
Interface HomeHealthRecordValidatorIF

All Known Implementing Classes:
AbstractBaseValidator_v2308, AbstractBaseValidator_v3110, AbstractBaseValidator_v3210, HomeHealthRecordClinicalValidator, HomeHealthRecordClinicalValidator_v3110_1, HomeHealthRecordClinicalValidator_v3210, HomeHealthRecordNRSValidator, HomeHealthRecordNRSValidator_3110, HomeHealthRecordNRSValidator_v3210

public interface HomeHealthRecordValidatorIF

Provides validation on the Oasis Record and can be performed specific to the version. Once validated, this will indicate what items within the record have issues or are invalid.


Method Summary
 void addEventListener(HomeHealthEventListenerIF listener)
          Adds an event listener to this validator.
 DataValidityFlagIF getDataValidityFlag()
          gets the DataValidityFlag
 int[] getDiagnosisScoringStatus()
          gets the status of a code as it pertains to scoring.
 boolean isASSMT_REASON_INVLD()
          gets the M0100_ASSMT_REASON_INVLD
 boolean isBWLINCONT_INVLD()
          gets the M0540_BWLINCONT_INVLD
 boolean isClinicalDomainDataIssueFlag()
          gets the ClinicalDomainDataIssueFlag
 boolean isCUR_AMBULATION_INVLD()
          gets the M0700_CUR_AMBULATION_INVLD
 boolean isCUR_BATHING_INVLD()
          gets the M0670_CUR_BATHING_INVLD
 boolean isCUR_DRESS_INVLD()
          gets the M0650_660_CUR_DRESS_INVLD
 boolean isCUR_INJECT_MEDS_INVLD()
          gets the M0800_CUR_INJECT_MEDS_INVLD
 boolean isCUR_TOILETING_INVLD()
          gets the M0680_CUR_TOILETING_INVLD
 boolean isCUR_TRANSFER_INVLD()
          gets the M0690_CUR_TRANSFER_INVLD
 boolean isDYSPNEIC_INVLD()
          gets the M0490_DYSPNEIC_INVLD
 boolean isFunctionalDomainDataIssueFlag()
          gets the FunctionalDomainDataIssueFlag
 boolean isINFO_COMPLETED_DT_INVLD()
          gets the M0090_INFO_COMPLETED_DT_INVLD
 boolean isINTERNAL_LOGIC_INVLD()
          gets the M0250_INTERNAL_LOGIC_INVLD
 boolean isLESION_INVLD()
          gets the M0440_LESION_INVLD
 boolean isManifestationSequenceIssueFlag()
          gets the ManifestationSequenceIssueFlag
 boolean isNBR_STASULC_INVLD()
          gets the M0470_NBR_STASULC_INVLD
 boolean isNPRSULC1_INVLD()
          gets the M0450_NPRSULC1_INVLD
 boolean isNPRSULC2_INVLD()
          gets the M0450_NPRSULC2_INVLD
 boolean isNPRSULC3_INVLD()
          gets the M0450_NPRSULC3_INVLD
 boolean isNPRSULC4_INVLD()
          gets the M0450_NPRSULC4_INVLD
 boolean isOSTOMY_INVLD()
          gets the M0550_OSTOMY_INVLD
 boolean isPAIN_INVLD()
          gets the M0420_PAIN_INVLD
 boolean isServiceDomainDataIssueFlag()
          gets the ServiceDomainDataIssueFlag
 boolean isSTATSTASIS_INVLD()
          gets the M0476_STATSTASIS_INVLD
 boolean isSTATSURG_INVLD()
          gets the M0488_STATSURG_INVLD
 boolean isSTGPRSUL_INVLD()
          gets the M0460_STGPRSUL_INVLD
 boolean isTHER_NEED_INVLD()
          gets the M0826_THER_NEED_INVLD
 boolean isTHERAPIES_INVLD()
          gets the M0250_THERAPIES_INVLD
 boolean isUNOBS_PRSULC_INVLD()
          gets the M0450_UNOBS_PRSULC_INVLD
 boolean isUNOBS_STASULC_INVLD()
          gets the M0474_UNOBS_STASULC_INVLD
 boolean isUR_INCONT_INVLD()
          gets the M0520_UR_INCONT_INVLD
 boolean isVISION_INVLD()
          gets the M0390_VISION_INVLD
 void setDataValidityFlag(DataValidityFlagIF dataValidityFlag)
          sets the data validity flag during validation
 void setDiagnosisScoringStatus(int[] diagnosisScoringStatus)
          sets the status of a code as it pertains to scoring.
 boolean validate(HomeHealthRecordIF record)
          This is the main entry into the validation of the record.
 

Method Detail

validate

boolean validate(HomeHealthRecordIF record)
This is the main entry into the validation of the record. From here other more detailed validation implementations are built and called. If the value is true, then the scoring of the record should result in a valid, meaningful score.

Parameters:
record -
Returns:
true if the record is completely valid

isASSMT_REASON_INVLD

boolean isASSMT_REASON_INVLD()
gets the M0100_ASSMT_REASON_INVLD

Returns:
true if the assessment reason field was invalid

getDataValidityFlag

DataValidityFlagIF getDataValidityFlag()
gets the DataValidityFlag

Returns:
the data validity flag created during validation

setDataValidityFlag

void setDataValidityFlag(DataValidityFlagIF dataValidityFlag)
sets the data validity flag during validation

Parameters:
dataValidityFlag -

isClinicalDomainDataIssueFlag

boolean isClinicalDomainDataIssueFlag()
gets the ClinicalDomainDataIssueFlag

Returns:
true if there was a clinical domain issue on the record

isFunctionalDomainDataIssueFlag

boolean isFunctionalDomainDataIssueFlag()
gets the FunctionalDomainDataIssueFlag

Returns:
true if there was a functional domain issue on the record

isManifestationSequenceIssueFlag

boolean isManifestationSequenceIssueFlag()
gets the ManifestationSequenceIssueFlag

Returns:
true if there was a manifestation sequence issue on the record

isServiceDomainDataIssueFlag

boolean isServiceDomainDataIssueFlag()
gets the ServiceDomainDataIssueFlag

Returns:
true if there was a service domain issue on the record

isINFO_COMPLETED_DT_INVLD

boolean isINFO_COMPLETED_DT_INVLD()
gets the M0090_INFO_COMPLETED_DT_INVLD

Returns:
true if the info completed data field was invalid

isINTERNAL_LOGIC_INVLD

boolean isINTERNAL_LOGIC_INVLD()
gets the M0250_INTERNAL_LOGIC_INVLD

Returns:
true if the therapies had an internal logic error

isTHERAPIES_INVLD

boolean isTHERAPIES_INVLD()
gets the M0250_THERAPIES_INVLD

Returns:
true if the therapies are invalid - not sure the reason for this and the "internal logic invalid", but this is part of the version 2.03 logic

isVISION_INVLD

boolean isVISION_INVLD()
gets the M0390_VISION_INVLD

Returns:
true if the vision field was invalid

isPAIN_INVLD

boolean isPAIN_INVLD()
gets the M0420_PAIN_INVLD

Returns:
true if the pain field was invalid

isLESION_INVLD

boolean isLESION_INVLD()
gets the M0440_LESION_INVLD

Returns:
true if the lesion field was invalid

isNPRSULC1_INVLD

boolean isNPRSULC1_INVLD()
gets the M0450_NPRSULC1_INVLD

Returns:
true if the non pressure ulcer stage 1 field was invalid

isNPRSULC2_INVLD

boolean isNPRSULC2_INVLD()
gets the M0450_NPRSULC2_INVLD

Returns:
true if the non pressure ulcer stage 2 field was invalid

isNPRSULC3_INVLD

boolean isNPRSULC3_INVLD()
gets the M0450_NPRSULC3_INVLD

Returns:
true if the non pressure ulcer stage 3 field was invalid

isNPRSULC4_INVLD

boolean isNPRSULC4_INVLD()
gets the M0450_NPRSULC4_INVLD

Returns:
true if the non pressure ulcer stage 4 field was invalid

isUNOBS_PRSULC_INVLD

boolean isUNOBS_PRSULC_INVLD()
gets the M0450_UNOBS_PRSULC_INVLD

Returns:
true if the unobserved ulcer field was invalid

isSTGPRSUL_INVLD

boolean isSTGPRSUL_INVLD()
gets the M0460_STGPRSUL_INVLD

Returns:
true if the stage pressure ulcers field was invalid

isNBR_STASULC_INVLD

boolean isNBR_STASULC_INVLD()
gets the M0470_NBR_STASULC_INVLD

Returns:
true if the number of ulcers field was invalid

isUNOBS_STASULC_INVLD

boolean isUNOBS_STASULC_INVLD()
gets the M0474_UNOBS_STASULC_INVLD

Returns:
true if the unobserved stasis ulcer field was invalid

isSTATSTASIS_INVLD

boolean isSTATSTASIS_INVLD()
gets the M0476_STATSTASIS_INVLD

Returns:
true if the stat stasis field was invalid

isSTATSURG_INVLD

boolean isSTATSURG_INVLD()
gets the M0488_STATSURG_INVLD

Returns:
true if the stat surgical field was invalid

isDYSPNEIC_INVLD

boolean isDYSPNEIC_INVLD()
gets the M0490_DYSPNEIC_INVLD

Returns:
true if the dyspniec field was invalid

isUR_INCONT_INVLD

boolean isUR_INCONT_INVLD()
gets the M0520_UR_INCONT_INVLD

Returns:
true if the urine incontinence field was invalid

isBWLINCONT_INVLD

boolean isBWLINCONT_INVLD()
gets the M0540_BWLINCONT_INVLD

Returns:
true if the bowl incontinence field was invalid

isOSTOMY_INVLD

boolean isOSTOMY_INVLD()
gets the M0550_OSTOMY_INVLD

Returns:
true if the ostomy field was invalid

isCUR_DRESS_INVLD

boolean isCUR_DRESS_INVLD()
gets the M0650_660_CUR_DRESS_INVLD

Returns:
true if the current dress field was invalid

isCUR_BATHING_INVLD

boolean isCUR_BATHING_INVLD()
gets the M0670_CUR_BATHING_INVLD

Returns:
true if the current bathing field was invalid

isCUR_TOILETING_INVLD

boolean isCUR_TOILETING_INVLD()
gets the M0680_CUR_TOILETING_INVLD

Returns:
true if the current toileting field was invalid

isCUR_TRANSFER_INVLD

boolean isCUR_TRANSFER_INVLD()
gets the M0690_CUR_TRANSFER_INVLD

Returns:
true if the current transfer field was invalid

isCUR_AMBULATION_INVLD

boolean isCUR_AMBULATION_INVLD()
gets the M0700_CUR_AMBULATION_INVLD

Returns:
true if the current ambulation field was invalid

isCUR_INJECT_MEDS_INVLD

boolean isCUR_INJECT_MEDS_INVLD()
gets the M0800_CUR_INJECT_MEDS_INVLD

Returns:
true if the current injection medications field was invalid

isTHER_NEED_INVLD

boolean isTHER_NEED_INVLD()
gets the M0826_THER_NEED_INVLD

Returns:
true if the therapies needed field was invalid

addEventListener

void addEventListener(HomeHealthEventListenerIF listener)
Adds an event listener to this validator. Used to watch the validation process at run time.

Parameters:
listener -

getDiagnosisScoringStatus

int[] getDiagnosisScoringStatus()
gets the status of a code as it pertains to scoring.
  1. 0 = Invalid
  2. 1 = Valid
  3. 2 = Valid and scorable - actually scoring my rely on manifestion/contention logic which is not represented here.

Parameters:
index -
Returns:

setDiagnosisScoringStatus

void setDiagnosisScoringStatus(int[] diagnosisScoringStatus)
sets the status of a code as it pertains to scoring.

Parameters:
index -
See Also:
int[] getDiagnosisScoringStatus()