Skip to content

Commit a425259

Browse files
docs(mimic-iv): explain qualitative NEG/POS labevents values
NEG in value/comments is a valid negative finding, not a failed test (#1938). Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fd316a8 commit a425259

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

mimic-iv/buildmimic/TABLE_NOTES.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,16 @@ When harmonizing labs across itemids, compare value distributions and `valueuom`
5454
`labevents` rather than assuming semantic equivalence from the dictionary label alone.
5555

5656
See also: [GitHub issue #1937](https://github.com/MIT-LCP/mimic-code/issues/1937).
57+
58+
## `labevents` qualitative `NEG` / `POS` values
59+
60+
Many lab rows are qualitative rather than numeric. In those cases:
61+
62+
- `valuenum` is often **null**
63+
- `value` (and sometimes `comments`) holds a categorical result such as `NEG`, `POS`, `NEGATIVE`, or `POSITIVE`
64+
65+
Treat `NEG` / `NEGATIVE` as a **valid negative finding** for that assay (for example, little or no glucose detected on a urine dipstick), not as a failed or missing test. The same applies when `value` is null but `comments` contains `NEG.` — that comment is still the recorded result.
66+
67+
Numeric analyses should filter on `valuenum IS NOT NULL` (and usually a sensible `valueuom`) so qualitative rows are excluded deliberately rather than dropped as errors.
68+
69+
See also: [GitHub issue #1938](https://github.com/MIT-LCP/mimic-code/issues/1938).

0 commit comments

Comments
 (0)