Commit 6df86e5
fix(height): coalesce join keys from h2 in MIMIC-III pivoted height
The FULL OUTER JOIN between cm and inch height measurements used
COALESCE(h1.subject_id, h1.subject_id) (and the same for charttime),
dropping rows that only appear in h2. Use h2 for the fallback keys.
Related to MIT-LCP#2010.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 5706978 commit 6df86e5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments