Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Adult patients and patients with infections #123
Conversation
rooster06
changed the title from
Adult patients and corresponding hospital admissions to Adult patients and patients with infections
Sep 11, 2016
|
Thanks for the contribution. Reviewing your code, I think we shouldn't create temporary tables if they are not necessary, and at the very least should clean them up afterward. Have you seen the icustay_details query here: https://github.com/MIT-LCP/mimic-code/blob/master/demographics/postgres/icustay_detail.sql ? It performs a very similar function to your query except it does not limit the data to adult patients. Also, the suspected infection query is interesting, but I'd put that in a separate pull request so we can discuss it separately. |
rooster06
commented
Sep 13, 2016
|
Thanks, I will update it and put it in a separate pull request. |
zh-zhang1984
commented
Oct 10, 2016
|
When I run the status code sql, it returns an error message as shown in the following. How can I fix this problem? ERROR: column reference "cmo" is ambiguous ********** 错误 ********** ERROR: column reference "cmo" is ambiguous |
rooster06
commented
Oct 23, 2016
|
hi zh-zhang, I'm not sure if this question is regarding the code i posted. can you further explain the problem you ran into? |
zh-zhang1984
commented
Oct 23, 2016
|
Yes, it is not your code. I am sorry for the mistake. |
rooster06 commentedSep 9, 2016
•
edited
MIMIC-III V1.3
The AdultPatients.sql script generate a table view of subject_id and corresponding hadm_id that belong to patients over the age of 18.
The infections.sql script generates a table view of subject_id, corresponding hadm_id and the start time of the suspected infection.