Skip to content

Commit ec8adf6

Browse files
docs(mimic-iv): sample prescriptions search for Vitamin C
Give #1962 researchers a starting drug-name query. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 717571f commit ec8adf6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-- Candidate Vitamin C / ascorbic acid orders in hosp.prescriptions (#1962).
2+
-- Review hits manually — multivitamins and abbreviations create false positives.
3+
4+
SELECT drug, COUNT(*) AS n
5+
FROM hosp.prescriptions
6+
WHERE LOWER(drug) LIKE '%ascorbic%'
7+
OR LOWER(drug) LIKE '%vitamin c%'
8+
OR LOWER(drug) LIKE '%vit c%'
9+
GROUP BY drug
10+
ORDER BY n DESC
11+
LIMIT 50;

0 commit comments

Comments
 (0)