public class TestDG_PrimaryDiscoverer extends CommonTester
dxGroups, readerFactory, recordEOF
Constructor and Description |
---|
TestDG_PrimaryDiscoverer() |
Modifier and Type | Method and Description |
---|---|
protected DiagnosticGroupIF |
findDiagnosticGroupByName(java.util.List<DiagnosticGroupIF> diagGroups,
java.lang.String name) |
protected java.util.List<java.lang.String> |
getPrimaryGroupNames(java.util.List<CaseMixAdjustmentItemIF> casemixItems)
This looks at the case mix description to determine if the item pertains
to primary only, and then collects the Diagnostic Group name
|
static void |
main(java.lang.String[] args) |
void |
runTest(java.io.BufferedReader bufReader,
java.io.Writer writer,
HomeHealthGrouperFactoryIF grouperFactory,
CommandLineParams commandLine) |
getOutFileSuffix, readRecord, runTest
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 CommonTester
protected java.util.List<java.lang.String> getPrimaryGroupNames(java.util.List<CaseMixAdjustmentItemIF> casemixItems)
casemixItems
- protected DiagnosticGroupIF findDiagnosticGroupByName(java.util.List<DiagnosticGroupIF> diagGroups, java.lang.String name)