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

Fixing examples' bug in MIMIC-IV. #301

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyhealth/tasks/drug_recommendation.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def drug_recommendation_mimic4_fn(patient: Patient):
>>> from pyhealth.datasets import MIMIC4Dataset
>>> mimic4_base = MIMIC4Dataset(
... root="/srv/local/data/physionet.org/files/mimiciv/2.0/hosp",
... tables=["diagnoses_icd", "procedures_icd"],
... tables=["diagnoses_icd", "procedures_icd", "prescriptions"],
... code_mapping={"ICD10PROC": "CCSPROC"},
... )
>>> from pyhealth.tasks import drug_recommendation_mimic4_fn
Expand Down
2 changes: 1 addition & 1 deletion pyhealth/tasks/length_of_stay_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def length_of_stay_prediction_mimic4_fn(patient: Patient):
>>> from pyhealth.datasets import MIMIC4Dataset
>>> mimic4_base = MIMIC4Dataset(
... root="/srv/local/data/physionet.org/files/mimiciv/2.0/hosp",
... tables=["diagnoses_icd", "procedures_icd"],
... tables=["diagnoses_icd", "procedures_icd", "prescriptions"],
... code_mapping={"ICD10PROC": "CCSPROC"},
... )
>>> from pyhealth.tasks import length_of_stay_prediction_mimic4_fn
Expand Down
2 changes: 1 addition & 1 deletion pyhealth/tasks/mortality_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def mortality_prediction_mimic4_fn(patient: Patient):
>>> from pyhealth.datasets import MIMIC4Dataset
>>> mimic4_base = MIMIC4Dataset(
... root="/srv/local/data/physionet.org/files/mimiciv/2.0/hosp",
... tables=["diagnoses_icd", "procedures_icd"],
... tables=["diagnoses_icd", "procedures_icd", "prescriptions"],
... code_mapping={"ICD10PROC": "CCSPROC"},
... )
>>> from pyhealth.tasks import mortality_prediction_mimic4_fn
Expand Down
2 changes: 1 addition & 1 deletion pyhealth/tasks/readmission_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def readmission_prediction_mimic4_fn(patient: Patient, time_window=15):
>>> from pyhealth.datasets import MIMIC4Dataset
>>> mimic4_base = MIMIC4Dataset(
... root="/srv/local/data/physionet.org/files/mimiciv/2.0/hosp",
... tables=["diagnoses_icd", "procedures_icd"],
... tables=["diagnoses_icd", "procedures_icd", "prescriptions"],
... code_mapping={"ICD10PROC": "CCSPROC"},
... )
>>> from pyhealth.tasks import readmission_prediction_mimic4_fn
Expand Down