Skip to content

Commit 3deed06

Browse files
docs(mimic-iv): sample eMAR search for Vitamin C
Complement prescriptions when studying administered exposure (#1962). Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ec8adf6 commit 3deed06

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- Candidate Vitamin C administrations in emar (#1962).
2+
3+
SELECT medication, COUNT(*) AS n
4+
FROM hosp.emar
5+
WHERE LOWER(medication) LIKE '%ascorbic%'
6+
OR LOWER(medication) LIKE '%vitamin c%'
7+
OR LOWER(medication) LIKE '%vit c%'
8+
GROUP BY medication
9+
ORDER BY n DESC
10+
LIMIT 50;

0 commit comments

Comments
 (0)