|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.GrouperDataManager
public class GrouperDataManager
This class provides the Data management related to the Diagnosis codes, the NRS Diagnosis codes, the Diagnostic Categories, the Etiology Pairs, and the optional V-Codes The information is loaded from text files. Refer to the loading methods for the file formats
throws IOException,
FileNotFoundException,IOException,
throws FileNotFoundException, IOException| Field Summary | |
|---|---|
static java.lang.String |
DIAGNOSIS_ETIOLOGY_PAIRS
Diagnosis code Secondary / Etiology pairs table name: DiagnosisEtiologyPairs.txt |
static java.lang.String |
DIAGNOSTIC_CATEGORY_TABLENAME
Diagnostic Category table name: diagnosticCategory.txt |
protected HomeHealthGrouperIF |
homeHealthGrouper
|
static java.lang.String |
ICD_9_DIAGNOSIS_CODE_TABLENAME
Diagnosis Code table name: diagnosisCodes.txt |
static java.lang.String |
NRS_DIAGNOSTIC_CATEGORY_TABLENAME
NRS Diagnostic Category table name: NRSDiagnosticCategory.txt |
static java.lang.String |
NRS_ICD_9_DIAGNOSIS_CODE_TABLENAME
NRS Diagnosis Code table name: nrsDiagnosisCodes.txt |
static java.lang.String |
NRSSCORING_CASEMIX_ADJUSTMENT_TABLENAME
NRS Scoring Case Mix Adjustment table name: NRSScoring_CasemixAdjustments.txt |
static java.lang.String |
OPTIONAL_VCODES_TABLENAME
Optional V-Code table name: OptionalVCodes.txt |
static java.lang.String |
PROPERTY_INCLUDE_CODE_DESCRIPTIONS
Property identifier for indicating that the code information should or should not inculde the code's description information. |
static java.lang.String |
PROPERTY_NAME_BASE_PATH
Property identifier for the data's base directory: base.path |
static java.lang.String |
SCORING_CASEMIX_ADJUSTMENT_TABLENAME
Scoring Case Mix Adjustment table name: Scoring_CasemixAdjustments.txt |
| Constructor Summary | |
|---|---|
GrouperDataManager(HomeHealthGrouperIF homeHealthGrouper)
|
|
| Method Summary | |
|---|---|
java.io.File |
getBasePath()
Get the value of basePath which is the folder location of the data files |
CaseMixAdjustmentItemIF |
getCaseMixAdjustment(int caseMixId)
This will search the case mix table for the case mix id, and return the case mix admjustment item |
Icd9DiagnosisCodeIF |
getDiagnosisCode(java.lang.String value)
This is a proxy to getDiagnosisCodeBase |
protected Icd9DiagnosisCodeIF |
getDiagnosisCodeBase(java.util.Hashtable<java.lang.String,Icd9DiagnosisCodeIF> codes,
java.lang.String value)
Searchs the supplied diagnosis code table, codes, for the code value. |
DiagnosticCategoryIF |
getDiagnosticGroup(long id)
Searches for the Diagnostic Group object based on its ID |
HomeHealthGrouperIF |
getHomeHealthGrouper()
Get the value of homeHealthGrouper |
CaseMixAdjustmentItemIF |
getNRSCaseMixAdjustment(int caseMixId)
This will search the case mix table for the case mix id, and return the case mix admjustment item |
Icd9DiagnosisCodeIF |
getNRSDiagnosisCode(java.lang.String value)
This is a proxy to getDiagnosisCodeBase |
DiagnosticCategoryIF |
getNRSDiagnosticGroup(long id)
Searches for the Non-Routine Supplies Diagnostic Category/Group based on the ID |
void |
init(java.util.Properties props)
This loads all the data required to represent a version of the Home Health Grouper. |
void |
loadCaseMixAdjustments()
Loads the Case mix adjustment values for the Clinical scoring The data is loaded from a tab separated file with the format: Id name equation 1 value equation 2 value equation 3 value equation 4 value |
protected void |
loadDiagnosisCodeBase(java.io.File file,
java.util.Hashtable<java.lang.String,Icd9DiagnosisCodeIF> codeHash)
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 Secondary only code indicated with M (without quotes) - can be blank Diabetes related indicator - D = Diabetes, U = Diabetic Ulcer - can be blank |
protected void |
loadDiagnosisCodes()
This will add the Diagnosis Codes associated with this version. |
protected void |
loadDiagnosticCategoriesBase(java.io.File file,
java.util.Hashtable<java.lang.Integer,DiagnosticCategoryIF> categoryHash)
Loads the Diagnostic Group information from a text file. |
protected void |
loadDiagnosticGroups()
Loads the Diagnostic Group information from a text file The data is loaded from a tab separated file with the format: Id Diagnostic Category/Group name |
void |
loadEtiologyPairs(java.util.Hashtable<java.lang.String,Icd9DiagnosisCodeIF> dxCodes)
IMPORTANT: This requires that the diagnosis codes are loaded first. |
void |
loadNRSCaseMixAdjustments()
Loads the Case mix adjustment values for the Non-Routine Supplies scoring. |
protected void |
loadNRSDiagnosisCodes()
Loads Non-Routine Supplies related Diagnosis codes. |
protected void |
loadNRSDiagnosticGroups()
This loads the Non-Routine Supplies Diagnostic Categories using the loadDiagnosticCategoriesBase() |
void |
loadOptionalVCodes()
IMPORTANT: This requires that the diagnosis codes are loaded first. |
void |
setBasePath(java.io.File basePath)
Set the value of basePath which is the folder location of the data files |
void |
setHomeHealthGrouper(HomeHealthGrouperIF grouperVersion)
Set the value of homeHealthGrouper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_NAME_BASE_PATH
public static final java.lang.String PROPERTY_INCLUDE_CODE_DESCRIPTIONS
public static java.lang.String ICD_9_DIAGNOSIS_CODE_TABLENAME
public static java.lang.String NRS_ICD_9_DIAGNOSIS_CODE_TABLENAME
public static java.lang.String DIAGNOSTIC_CATEGORY_TABLENAME
public static java.lang.String NRS_DIAGNOSTIC_CATEGORY_TABLENAME
public static java.lang.String SCORING_CASEMIX_ADJUSTMENT_TABLENAME
public static java.lang.String NRSSCORING_CASEMIX_ADJUSTMENT_TABLENAME
public static java.lang.String DIAGNOSIS_ETIOLOGY_PAIRS
public static java.lang.String OPTIONAL_VCODES_TABLENAME
protected HomeHealthGrouperIF homeHealthGrouper
| Constructor Detail |
|---|
public GrouperDataManager(HomeHealthGrouperIF homeHealthGrouper)
| Method Detail |
|---|
public HomeHealthGrouperIF getHomeHealthGrouper()
public void setHomeHealthGrouper(HomeHealthGrouperIF grouperVersion)
homeHealthGrouper - new value of homeHealthGrouperpublic java.io.File getBasePath()
public void setBasePath(java.io.File basePath)
basePath - new value of basePathpublic Icd9DiagnosisCodeIF getNRSDiagnosisCode(java.lang.String value)
value -
getDiagnosisCodeBase(Hashtable codes, String value)
protected void loadNRSDiagnosisCodes()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionthrows IOExceptionpublic Icd9DiagnosisCodeIF getDiagnosisCode(java.lang.String value)
value -
getDiagnosisCodeBase(Hashtable codes, String value)
protected Icd9DiagnosisCodeIF getDiagnosisCodeBase(java.util.Hashtable<java.lang.String,Icd9DiagnosisCodeIF> codes,
java.lang.String value)
codes - value -
protected void loadDiagnosisCodes()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionthrows IOException
protected void loadDiagnosisCodeBase(java.io.File file,
java.util.Hashtable<java.lang.String,Icd9DiagnosisCodeIF> codeHash)
throws java.io.IOException
file - codeHash -
java.io.IOExceptionpublic DiagnosticCategoryIF getDiagnosticGroup(long id)
id -
protected void loadDiagnosticGroups()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionpublic DiagnosticCategoryIF getNRSDiagnosticGroup(long id)
id -
protected void loadNRSDiagnosticGroups()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionthrows FileNotFoundException, IOException
protected void loadDiagnosticCategoriesBase(java.io.File file,
java.util.Hashtable<java.lang.Integer,DiagnosticCategoryIF> categoryHash)
throws java.io.FileNotFoundException,
java.io.IOException
file - categoryHash -
java.io.FileNotFoundException
java.io.IOException
public void init(java.util.Properties props)
throws java.lang.Exception,
java.rmi.RemoteException
init in interface Initializableprops -
java.lang.Exception
java.rmi.RemoteException
public void loadCaseMixAdjustments()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionpublic CaseMixAdjustmentItemIF getCaseMixAdjustment(int caseMixId)
caseMixId -
public void loadNRSCaseMixAdjustments()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionpublic CaseMixAdjustmentItemIF getNRSCaseMixAdjustment(int caseMixId)
caseMixId -
public void loadEtiologyPairs(java.util.Hashtable<java.lang.String,Icd9DiagnosisCodeIF> dxCodes)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void loadOptionalVCodes()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||