Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add crrt to kdigo concept #1461

Merged
merged 4 commits into from
Jan 18, 2023
Merged

add crrt to kdigo concept #1461

merged 4 commits into from
Jan 18, 2023

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