-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TaskExtractorConfig accepts optional predicates_path to split predica… (
#82) * TaskExtractorConfig accepts optional predicates_path to split predicates from main config_path (#42) * Extract trigger only (#85) * Make windows struct optional when loading config * Update spacing * Added patient_demographics and parsing of static variables (#48) (#86) * Added patient_demographics and parsing of static variables (#48) * Added filtering based on static predicates (#48) * Fix tests and column renames to match MEDS * Update e2e test * Added tests to boost coverage * Added more tests for coverage
- Loading branch information
1 parent
3817bd4
commit 74d0abf
Showing
8 changed files
with
736 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,55 @@ | ||
subject_id,timestamp,admission,death,discharge,lab,spo2,normal_spo2,abnormally_low_spo2,abnormally_high_spo2,procedure_start,procedure_end,ventilation,diagnosis_ICD9CM_41071,diagnosis_ICD10CM_I214 | ||
1,12/1/1989 12:03,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,12/1/1989 13:14,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/1/1989 15:17,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/1/1989 16:17,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/1/1989 20:17,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/2/1989 3:00,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/2/1989 9:00,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,12/2/1989 10:00,0,0,0,0,0,0,0,0,1,0,1,0,0 | ||
1,12/2/1989 14:22,0,0,0,0,0,0,0,0,0,1,1,0,0 | ||
1,12/2/1989 15:00,0,0,1,0,0,0,0,0,0,0,0,0,0 | ||
1,1/21/1991 11:59,0,0,0,0,0,0,0,0,0,0,0,1,0 | ||
1,1/27/1991 23:32,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,1/27/1991 23:46,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/28/1991 3:18,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
1,1/28/1991 3:28,0,0,0,0,0,0,0,0,1,0,1,0,0 | ||
1,1/28/1991 4:36,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/29/1991 23:32,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/30/1991 5:00,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
1,1/30/1991 8:00,0,0,0,1,1,0,0,1,0,0,0,0,0 | ||
1,1/30/1991 11:00,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/30/1991 14:00,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,1/30/1991 14:15,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
1,1/31/1991 1:00,0,0,0,0,0,0,0,0,0,1,1,0,0 | ||
1,1/31/1991 2:15,0,0,1,0,0,0,0,0,0,0,0,0,0 | ||
1,2/8/1991 8:15,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,3/3/1991 19:33,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,3/3/1991 20:33,0,0,0,1,1,0,1,0,0,0,0,0,0 | ||
1,3/3/1991 21:38,0,1,0,0,0,0,0,0,0,0,0,0,0 | ||
2,3/8/1996 2:24,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
2,3/8/1996 2:35,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
2,3/8/1996 4:00,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
2,3/8/1996 10:00,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
2,3/8/1996 16:00,0,0,1,0,0,0,0,0,0,0,0,0,0 | ||
2,6/5/1996 0:32,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
2,6/5/1996 0:48,0,0,0,0,0,0,0,0,0,0,0,0,1 | ||
2,6/5/1996 1:59,0,0,0,0,0,0,0,0,1,0,1,0,0 | ||
2,6/7/1996 6:00,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
2,6/7/1996 9:00,0,0,0,1,1,0,1,0,0,0,0,0,0 | ||
2,6/7/1996 12:00,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
2,6/7/1996 15:00,0,0,0,0,0,0,0,0,0,1,1,0,0 | ||
2,6/7/1996 15:00,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
2,6/8/1996 3:00,0,1,0,0,0,0,0,0,0,0,0,0,0 | ||
3,3/8/1996 2:22,0,0,0,0,0,0,0,0,1,0,1,0,0 | ||
3,3/8/1996 2:24,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
3,3/8/1996 2:37,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
3,3/9/1996 8:00,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
3,3/9/1996 11:00,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
3,3/9/1996 19:00,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
3,3/9/1996 22:00,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
3,3/11/1996 21:00,0,0,0,0,0,0,0,0,0,1,1,0,0 | ||
3,3/12/1996 0:00,0,1,0,0,0,0,0,0,0,0,0,0,0 | ||
subject_id,timestamp,male,female,admission,death,discharge,lab,spo2,normal_spo2,abnormally_low_spo2,abnormally_high_spo2,procedure_start,procedure_end,ventilation,diagnosis_ICD9CM_41071,diagnosis_ICD10CM_I214 | ||
1,,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,12/1/1989 12:03,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,12/1/1989 13:14,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/1/1989 15:17,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/1/1989 16:17,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/1/1989 20:17,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/2/1989 3:00,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,12/2/1989 9:00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,12/2/1989 10:00,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0 | ||
1,12/2/1989 14:22,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0 | ||
1,12/2/1989 15:00,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0 | ||
1,1/21/1991 11:59,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0 | ||
1,1/27/1991 23:32,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,1/27/1991 23:46,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/28/1991 3:18,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
1,1/28/1991 3:28,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0 | ||
1,1/28/1991 4:36,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/29/1991 23:32,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/30/1991 5:00,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
1,1/30/1991 8:00,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0 | ||
1,1/30/1991 11:00,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
1,1/30/1991 14:00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
1,1/30/1991 14:15,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
1,1/31/1991 1:00,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0 | ||
1,1/31/1991 2:15,0,0,0,0,1,0,0,0,0,0,0,0,0,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3/8/1996 2:37,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
3,3/9/1996 8:00,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0 | ||
3,3/9/1996 11:00,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
3,3/9/1996 19:00,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 | ||
3,3/9/1996 22:00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
3,3/11/1996 21:00,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0 | ||
3,3/12/1996 0:00,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0 |
Oops, something went wrong.