{"id":18365311,"url":"https://github.com/mit-lcp/mimic-callout","last_synced_at":"2026-01-31T06:35:43.516Z","repository":{"id":98407867,"uuid":"147733780","full_name":"MIT-LCP/mimic-callout","owner":"MIT-LCP","description":"Study on discharge delays in the MICU using the MIMIC-III database","archived":false,"fork":false,"pushed_at":"2018-11-06T21:39:16.000Z","size":5632,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-20T03:42:57.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MIT-LCP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-06T21:06:42.000Z","updated_at":"2021-08-30T13:23:39.000Z","dependencies_parsed_at":"2023-05-04T20:17:23.453Z","dependency_job_id":null,"html_url":"https://github.com/MIT-LCP/mimic-callout","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MIT-LCP/mimic-callout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIT-LCP%2Fmimic-callout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIT-LCP%2Fmimic-callout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIT-LCP%2Fmimic-callout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIT-LCP%2Fmimic-callout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MIT-LCP","download_url":"https://codeload.github.com/MIT-LCP/mimic-callout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIT-LCP%2Fmimic-callout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28931343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T23:13:09.482Z","updated_at":"2026-01-31T06:35:43.484Z","avatar_url":"https://github.com/MIT-LCP.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# callout [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1410655.svg)](https://doi.org/10.5281/zenodo.1410655)\n\nThe research question of this study is: Do discharge delays from the ICU adversely affect patient outcomes?\n\nThis research was published in the Journal of Intensive Care Medicine as: [Impact of Intensive Care Unit Discharge Delays on Patient Outcomes: A Retrospective Cohort Study](https://doi.org/10.1177/0885066618800276)\n\n```\n@article{bose2018impact,\n  title={Impact of Intensive Care Unit Discharge Delays on Patient Outcomes: A Retrospective Cohort Study},\n  author={Bose, Somnath and Johnson, Alistair EW and Moskowitz, Ari and Celi, Leo Anthony and Raffa, Jesse D},\n  journal={Journal of intensive care medicine},\n  pages={0885066618800276},\n  year={2018},\n  publisher={SAGE Publications Sage CA: Los Angeles, CA},\n  doi={10.1177/0885066618800276}\n}\n```\n\nThis research was generously supported by grants 1U01HL123022-01 (NIH/NHLBI), R01-\nEB017205 (NIH/NIBIB), R01-GM104987 (NIH/NIBIB), and 2T32HL007374-37 (NIH).\n\n# Data extraction\n\nData extraction is done in a set of SQL scripts numbered according to the order in which they should be executed (0-4). Note that data extraction is done in two distinct systems: (i) month/year PHI data (along with hospital census information) is extracted in 0-phi-info.sql, (ii) covariates available in MIMIC-III are extracted in SQL scripts 1-4. Researchers in the LCP at MIT will be able to run script 0-phi-info.sql and extract a file with additional PHI info. All other researchers should ignore this script, and run scripts 1-3, to generate the callout data.\n\nOnce scripts 1-3 have been executed, the data can be copied to file. To generate all the data, run the following in PostgreSQL:\n\n```sql\n\\cd /home/alistairewj/callout/\n\\i 1-define-cohort.sql\n\\i 2-icu-variables.sql\n\\i 3-final-design-matrix.sql\ncopy (select * from dd_design_matrix order by icustay_id) to '/home/alistairewj/callout/callout.csv' CSV HEADER;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmit-lcp%2Fmimic-callout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmit-lcp%2Fmimic-callout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmit-lcp%2Fmimic-callout/lists"}