public class GrouperDataManager_V3312 extends GrouperDataManager
throws IOException,
FileNotFoundException,IOException,
throws FileNotFoundException,
IOException,
Serialized FormDIAGNOSIS_ETIOLOGY_PAIRS, DIAGNOSTIC_GROUP_TABLENAME, homeHealthGrouper, ICD_9_DIAGNOSIS_CODE_TABLENAME, NRS_DIAGNOSTIC_GROUP_TABLENAME, NRS_ICD_9_DIAGNOSIS_CODE_TABLENAME, NRSSCORING_CASEMIX_ADJUSTMENT_TABLENAME, OPTIONAL_VCODES_TABLENAME, PROPERTY_INCLUDE_CODE_DESCRIPTIONS, PROPERTY_MASTER_NAME_BASE_PATH, PROPERTY_NAME_BASE_PATH_SUFFIX, SCORING_CASEMIX_ADJUSTMENT_TABLENAME| Constructor and Description |
|---|
GrouperDataManager_V3312(HomeHealthGrouperIF homeHealthGrouper) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(java.util.Properties props)
This loads all the data required to represent a version of the Home
Health Grouper.
|
protected void |
loadDiagnosisCodeBase(java.io.File file,
java.util.Map<java.lang.String,DiagnosisCodeIF> codeHash,
boolean isNrs)
This is a consolidated/generic Diagnosis code loaded that requires the
input file, and the hashtable to put the codes into
The data is loaded from a tab separated file with the format:
Diagnosis Code Description Diagnosis Group
Number Code type indicator - M = Secondary only code (without
quotes), P = a Payment code, E = an Etiology code, or can be blank
indicating it is an Etiology code Diabetes related indicator,
used for NRS codes only - D = Diabetes, U = Diabetic Ulcer - can be
blank
September 2012 - instead of parsing each token directly in this method,
several "onParse" methods were created and called which allows extended
classes to add parsing to the specific items.
|
void |
loadEtiologyPairs(java.util.Map<java.lang.String,DiagnosisCodeIF> dxCodes)
IMPORTANT: This requires that the diagnosis codes are loaded first.
|
protected void |
onParseDiagnosisCodeAttributes(DiagnosisCodeIF diag,
java.lang.String str)
Parses the Diagnosis Code Attributes
|
protected void |
onParseDiagnosisDescription(DiagnosisCodeIF diag,
java.lang.String str)
Parses the Diagnosis Description
|
protected void |
onParseDiagnosisDiagGroup(DiagnosisCodeIF diag,
java.lang.String str,
boolean isNrs)
Parses the Diagnosis Diagnostic Group
|
createDiagnosisCode, createDiagnosticGroup, getBasePath, getBasePathName, getCaseMixAdjustment, getCaseMixAdjustments_general, getCaseMixAdjustments, getClinicalCodes, getDiagnosisCode, getDiagnosisCodeBase, getDiagnosticGroup, getDiagnosticGroups, getDiagnosticGroupsNRS, getHomeHealthGrouper, getNonRoutineCodes, getNRSCaseMixAdjustment, getNRSCaseMixAdjustments, getNRSDiagnosisCode, getNRSDiagnosticGroup, getSplitPattern, isIncludeDescriptions, loadCaseMixAdjustments, loadDiagnosisCodes, loadDiagnosticGroups, loadDiagnosticGroupsBase, loadNRSCaseMixAdjustments, loadNRSDiagnosisCodes, loadNRSDiagnosticGroups, loadOptionalVCodes, setBasePath, setHomeHealthGrouper, setIncludeDescriptionspublic GrouperDataManager_V3312(HomeHealthGrouperIF homeHealthGrouper)
public void init(java.util.Properties props)
throws java.lang.Exception,
java.rmi.RemoteException
init in interface Initializableinit in class GrouperDataManagerprops - java.lang.Exceptionjava.rmi.RemoteExceptionprotected void loadDiagnosisCodeBase(java.io.File file,
java.util.Map<java.lang.String,DiagnosisCodeIF> codeHash,
boolean isNrs)
throws java.io.IOException
loadDiagnosisCodeBase in class GrouperDataManagerfile - codeHash - java.io.IOExceptiononParseDiagnosisCodeAttributes(DiagnosisCodeIF, String),
onParseDiagnosisDescription(DiagnosisCodeIF diag, String str),
onParseDiagnosisDiagGroup(DiagnosisCodeIF diag, String str, boolean
isNrs),
*protected void onParseDiagnosisCodeAttributes(DiagnosisCodeIF diag, java.lang.String str)
diag - str - loadDiagnosisCodeBase(File file, Map
codeHash, boolean isNrs) protected void onParseDiagnosisDescription(DiagnosisCodeIF diag, java.lang.String str)
diag - str - loadDiagnosisCodeBase(File file, Map
codeHash, boolean isNrs) protected void onParseDiagnosisDiagGroup(DiagnosisCodeIF diag, java.lang.String str, boolean isNrs)
diag - str - isNrs - loadDiagnosisCodeBase(File file, Map
codeHash, boolean isNrs) public void loadEtiologyPairs(java.util.Map<java.lang.String,DiagnosisCodeIF> dxCodes) throws java.io.FileNotFoundException, java.io.IOException
loadEtiologyPairs in class GrouperDataManagerjava.io.FileNotFoundExceptionjava.io.IOException