Skip to content

Conversation

@aegis301
Copy link
Contributor

Dear MIMIC-Community,

I noticed that the presence of CRRT is missing as a parameter for KDIGO stage calculation. KDIGO states that "presence of CRRT" automatically classifies the patient as AKI stage 3.

I allowed myself to quickly write up a query which I believe would fix the problem.

I am so grateful to be able to contribute to this amazing project and I am looking forward to your input.

Kind regards
Christian

@alistairewj
Copy link
Member

Thanks for the PR! I think this is a good contribution - two quick comments:

  1. We automatically generate the scripts in the concepts_postgres folder from the concepts folder. So you'll need to move your edits over to the concepts/ folder
  2. You'll need to add in the times from the CRRT table to the tm_stg CTE, with something like UNION DISTINCT SELECT stay_id, charttime FROM mimiciv_derived.crrt

@aegis301
Copy link
Contributor Author

Hello @alistairewj, thank you so much for your kind reply. I put in place the changes you recommend and am looking forward to your input. Thank you so much for this opportunity to contribute to this project.

Copy link
Member

@alistairewj alistairewj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one last fix then it looks good!

@alistairewj alistairewj merged commit 30c7bcc into MIT-LCP:main Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants