com.mmm.cms.homehealth.test
Class HomeHealthGroupingTest

java.lang.Object
  extended by com.mmm.cms.homehealth.test.HomeHealthGroupingTest

public class HomeHealthGroupingTest
extends java.lang.Object


Constructor Summary
HomeHealthGroupingTest()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeHealthGroupingTest

public HomeHealthGroupingTest()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
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.

groupingTest

public java.util.List<ScoringResultsIF> groupingTest(HomeHealthGrouperIF grouper,
                                                     java.util.List<HomeHealthRecordIF> oasisRecords,
                                                     java.util.Properties grouperProperties,
                                                     int recordNumber)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

writeOutputFile

public void writeOutputFile(java.util.List<ScoringResultsIF> scoringResults,
                            java.io.File output)
                     throws java.io.IOException
This method assumes the records have been read, converted, and validated

Parameters:
scoringResults -
output -
Throws:
java.io.IOException