public class HomeHealthGrouper_RecordsStats extends HomeHealthGrouper_HP implements HomeHealthEventListenerIF
buffer, scoringBLANK, scoringResultsEmpty
dxGroups, readerFactory, recordEOF
Constructor and Description |
---|
HomeHealthGrouper_RecordsStats() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOutFileSuffix() |
void |
homeHealthEvent(HomeHealthEventIF event)
Processes an event for Home Health scoring.
|
static void |
main(java.lang.String[] args) |
void |
runTest(java.io.BufferedReader bufReader,
java.io.Writer writer,
HomeHealthGrouperFactoryIF grouperFactory,
CommandLineParams commandLine) |
ScoringResultsIF |
scoreRecord(HomeHealthGrouperFactoryIF grouperFactory,
HomeHealthRecordIF record,
boolean showDetails) |
void |
writeStats(java.io.Writer outWriter,
int numRecords) |
calendarCompareTest, scoreEachIndividually, scoreRecord, writeOutput, writeOutput
readRecord, runTest
public java.lang.String getOutFileSuffix()
getOutFileSuffix
in class CommonTester
public void homeHealthEvent(HomeHealthEventIF event)
HomeHealthEventListenerIF
homeHealthEvent
in interface HomeHealthEventListenerIF
public static void main(java.lang.String[] args)
args
- An array of 1) input file name, and 2) output filename. The
output filename is optional with the default being the input filename
suffixed with "_TESTOUT" before the extension. The extension will be
the same as the input filename.
Any status of the test or errors are presented to the console.public void runTest(java.io.BufferedReader bufReader, java.io.Writer writer, HomeHealthGrouperFactoryIF grouperFactory, CommandLineParams commandLine)
runTest
in class HomeHealthGrouper_HP
public ScoringResultsIF scoreRecord(HomeHealthGrouperFactoryIF grouperFactory, HomeHealthRecordIF record, boolean showDetails)
scoreRecord
in class HomeHealthGrouper_HP
public void writeStats(java.io.Writer outWriter, int numRecords)