public class HomeHealthGroupingTest
extends java.lang.Object
Constructor and Description |
---|
HomeHealthGroupingTest() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ScoringResultsIF> |
groupingTest(HomeHealthGrouperIF grouper,
java.util.List<HomeHealthRecordIF> oasisRecords,
java.util.Properties grouperProperties,
int recordNumber) |
static void |
main(java.lang.String[] args) |
void |
writeOutputFile(java.util.List<ScoringResultsIF> scoringResults,
java.io.File output)
This method assumes the records have been read, converted, and validated
|
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 java.util.List<ScoringResultsIF> groupingTest(HomeHealthGrouperIF grouper, java.util.List<HomeHealthRecordIF> oasisRecords, java.util.Properties grouperProperties, int recordNumber) throws java.lang.Exception
java.lang.Exception
public void writeOutputFile(java.util.List<ScoringResultsIF> scoringResults, java.io.File output) throws java.io.IOException
scoringResults
- output
- java.io.IOException