com.mmm.cms.homehealth.test
Class HomeHealthDataValidationTest
java.lang.Object
com.mmm.cms.homehealth.test.HomeHealthDataValidationTest
public class HomeHealthDataValidationTest
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HomeHealthDataValidationTest
public HomeHealthDataValidationTest()
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