Thursday, June 19, 2008

Questions on data set and nosocomial pneumonia as a response

We published this post previously, on June 11, but it was placed as a comment to another posting. We hope it will appear as a separate thread this time. We have a few questions, listed below:

1. Most of the patients in the hospital data set have records in the conditions data set. However, the conditions data set covers many more patients. Assuming that the DUPERSID is the unique identifier for an individual patient, and noting that there are multiple records per DUPERSID, the conditions data set covers 43,151 patients, while the hospital data set covers 11,846 patients. Of these 11,846 patients, 11,724 are represented in the conditions data set.

Both the conditions and the hospital data sets contain information on patients with pneumonia. There are 971 patients in the conditions data set with at least one ICD9CODX value between 480 and 486. In the hospital data set, there are 278 unique DUPERSIDs with at least one of Icd1x, Icd2x, Icd3x, and Icd4x between 480 and 486. (These 278 patients all appear to be in the conditions data base as well, with a code of pneumonia for at least one record.)

Our first question relates to the relevance of the conditions data base. Since there does not appear to be any way to determine if pneumonia for these patients was nosocomial, the conditions data set seems not to be relevant to classification into a "likely to contract nosocomial pneumonia" group. Are we correct in this conclusion?

2. Related to the first question, what exactly does the variable ICD9CODX in the conditions data set represent? How does it relate to the four diagnosis codes in the hospital data?

3. Back to the hospital data set. What exactly does SPECCOND represent? How does it help identify the nosocomial pneumonia cases? The definition is vague, and does not correlate directly with RSINNHOS. For example, there are 238 records where SPECCOND is 2, so the hospital stay is not related to the condition. One would suspect that nosocomial pneumonia cases would be included in this number. However, of the 257 records that show pneumonia codes in one of the four ICDx variables and where SPECCOND is not missing, all have SPECCOND = 1.

So, SPECCOND does not help in determining nosocomial. Now RSINHOS may help, as indicated in the blog. However, if one looks at those patients with a pneumonia code and with a 1, 3, 4, or 5 RSINHOS code, one finds exactly 19 such patients. As for ANYOPER, there are 15 patients with operations who had pneumonia as well. These 15 patients have an overlap with the 19 patients, giving us a total of 24 patients whom we can be reasonably sure contracted nosocomial pneumonia. (This does not seem like a big improvement over the situation with 20 MRSA patients!) Is our logic in reaching this conclusion flawed?

4. In the medication data set Rx0304, it is not clear what the nine variables on the Type of Pharmacy Provider (PHARTP1 through PHARTP9) represent. How do these nine variables relate to a single prescription?

Friday, April 18, 2008

Two more questions

1. We only found 20 MRSA cases(by searching V09) in the hospital file, and only 9 patients in the patient conditions file,are these whole MRSA cases or are there more cases in the data set?
2. For the part 2, whether the ultimate objective is to reduce the total cost for MRSA (prophylactic + treatment), or the costs for all the other infections.

Tuesday, April 15, 2008

Response

1. MRSA is represented by ICD9 code V09.0. It can be identified either in the hospital file using one of the ICD9 fields, or in the patient conditions file, which lists all conditions for which a patient was diagnosed for that year.

2. There is a cost of preventive care that you can determine from the prescription database. It generally requires the antibiotic, Vancomycin or the antibiotic, Zyvox (linezolid). Then there is the added cost of MRSA, which is not uniform; rather, it depends upon the patient condition and the patient procedures performed. You will need to estimate this added cost from the data. Both emergency and elective patients have some risk of MRSA. The hospital will want to use the preventive treatment if it costs less than the added cost of MRSA.

3. The fields that were not specifically identified in the data dictionary are not needed for the analysis.

Thursday, April 10, 2008

Misc. Questions

1. Part 1. We'd like to make sure which variable in the data set can identify the patient diagnosed with MRSA.

2. Part 2 Shall we minimize a total cost of medication for all patients or only for those who were admitted for an elective surgery?

3 some unclear variables:
Hospital0304: VARPSU, VARSTR(for which PSU)
RX0304: PCIMPFLG (HC?PC?), RXFLG

Monday, April 7, 2008

Data Issues In RX0304

This file is CSV with quoted fields if a comma is part of the field.

1. There are a few instances where a quote is not part of a matching pair which throws the values off by one column. Typically the pattern is a GX qualifier followed by a dimension that has a quote in it, but it is the same quote that is used to delimit the field.

Here are the line numbers that I have checked that have this issue.

40490, 347931, 347932, 347933, 347934, 347935, 371124, 371125, 371126, 371144, 371152, 417874, 417875, 417876, 469465, 469466, 566255, 621479...there are more later.

2. There are two instances where the PHARTP1 has invaild value of "%"

139722, 139723

Be aware since this can cause problems with import routines.

Ike

Tuesday, April 1, 2008

Welcome

Thanks for checking out the blog for the 2008 INFORMS Data Mining Contest. Please post questions here so they can be answered publicly, and check back for updates. Good luck!