eth-mds / ricu

🏥 ICU data with R 🏥
https://eth-mds.github.io/ricu/
GNU General Public License v3.0
33 stars 11 forks source link

Inquiry on Calculating Different Types of Death and Out of Range Entries in ricu Package #68

Open hbmania opened 2 weeks ago

hbmania commented 2 weeks ago

I hope this message finds you well. I am currently utilizing the ricu package from GitHub to analyze clinical data, and I have encountered a couple of points where I seek your expert guidance.

  1. Differentiating Types of Death: I am particularly interested in distinguishing between different types of death outcomes using the death variable. Specifically, I would like to categorize and calculate the following:

ICU Death: Patients who passed away during their ICU stay. In-Hospital Death: Patients who passed away in the hospital but not necessarily within the ICU. Post-Discharge Death: Patients who passed away within 30 days after being discharged from the hospital. Could you please provide guidance or recommend a methodology on how I can compute these distinct outcomes using the available data in ricu? Are there specific fields or transformations that I should consider for accurate categorization?

  1. Understanding "Out of Range Entries": After downloading data using the load_concepts function, I noticed that the output includes warnings about "out of range entries," as illustrated in the attached image.

For example:

po2: Removed rows due to NA values and out of range entries. fio2: Removed rows due to NA values and out of range entries. plt: Removed rows due to NA values and out of range entries. I am keen to understand the criteria or standards used to determine these out-of-range entries. Could you please elaborate on the methods or thresholds applied to classify data as out of range? Is there a way to access or customize these criteria?

Thank you very much for your assistance. Your insights will be highly valuable for my research, and I appreciate any documentation or resources you can provide to help clarify these aspects.

Best regards,