MIT-LCP / MIT-LCP/mimic-code

Vitamin C in MIMIC database, where?

Open
#1,962 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
3.4k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,
I am working on a project that explores the clinical effects of Vitamin C (ascorbic acid) in critically ill patients.

Recently, I noticed that three published papers (up to Jan 2026) reported studies using “Vitamin C exposure” based on MIMIC data. However, I have had great difficulty locating Vitamin C records in the database.

Specifically:
Does Vitamin C actually exist as a structured variable in MIMIC (III or IV)?
If yes, in which tables should it appear (pharmacy / prescriptions / inputevents / others)?
Are there confirmed itemid (or drug names / codes) that correspond to intravenous or oral Vitamin C?
I have searched for keywords in d_items, d_labitems, and medication tables, but still cannot reliably identify Vitamin C administration.
If anyone has experience with this or has successfully extracted Vitamin C data from MIMIC, I would really appreciate your guidance or examples.

Thank you very much!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the MIMIC III and IV medication-related tables named in the issue, including d_items, d_labitems, pharmacy, prescriptions, and inputevents. Search the documented drug names, itemids, and codes for intravenous or oral Vitamin C. Done means providing a reliable table and identifier reference, or documenting that no structured Vitamin C record was found.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.