com.mmm.cms.homehealth.test
Class HomeHealthDataValidationTest

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

public class HomeHealthDataValidationTest
extends java.lang.Object


Constructor Summary
HomeHealthDataValidationTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.util.List<HomeHealthRecordClinicalValidator_v3210> validateTest(HomeHealthGrouperIF grouper, java.util.List<HomeHealthRecordIF> oasisRecords, java.util.Properties grouperProperties, GrouperDataManager grouperDataManager)
           
 void writeOutputFile(HomeHealthGrouperIF grouper, java.util.List<HomeHealthRecordIF> oasisRecords, java.util.List<HomeHealthRecordClinicalValidator_v3210> validators, 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

HomeHealthDataValidationTest

public HomeHealthDataValidationTest()
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.

validateTest

public java.util.List<HomeHealthRecordClinicalValidator_v3210> validateTest(HomeHealthGrouperIF grouper,
                                                                            java.util.List<HomeHealthRecordIF> oasisRecords,
                                                                            java.util.Properties grouperProperties,
                                                                            GrouperDataManager grouperDataManager)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

writeOutputFile

public void writeOutputFile(HomeHealthGrouperIF grouper,
                            java.util.List<HomeHealthRecordIF> oasisRecords,
                            java.util.List<HomeHealthRecordClinicalValidator_v3210> validators,
                            java.io.File output)
                     throws java.io.IOException
This method assumes the records have been read, converted, and validated

Parameters:
oasisRecords -
validators -
output -
grouper -
Throws:
java.io.IOException