mimic-iv-patient-analysis

Analyze MIMIC-IV patient records and generate clinical QA pairs.

128|12|Updated May 21, 2025
One-click install
npx skills add https://github.com/zjunlp/DataMind --skill mimic-iv-patient-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mimic-iv-patient-analysis
Source: https://github.com/zjunlp/DataMind/tree/main/datacope/report_task/skill/checklist/mimic-checklist-skills/mimic-checklist-skill-2-2/mimic-iv-patient-analysis
Command: npx skills add https://github.com/zjunlp/DataMind --skill mimic-iv-patient-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive strategy for analyzing individual patient records in the MIMIC-IV EHR database and generating high-quality, diverse QA pairs.

Core Features & Use Cases

  • Patient Record Analysis: Analyze clinical data from MIMIC-IV, including diagnoses, procedures, medications, and care trajectory.
  • QA Pair Generation: Generate QA pairs covering the patient's full clinical story for various clinical domains.
  • Use Case: When tasked with analyzing a specific patient's clinical data or generating QA pairs for patient-centric EHR exploration tasks.

Quick Start

Use the mimic-iv-patient-analysis skill to analyze patient records and generate QA pairs for a specific patient ID.

Frequently Asked Questions about mimic-iv-patient-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate QA pairs from MIMIC-IV patient records?

To generate QA pairs from MIMIC-IV patient records, you need to use SQL queries to extract clinical data from the EHR database and execute Python scripts to construct diverse question and answer pairs covering various clinical domains.

What clinical data is needed to analyze a patient's care trajectory in an EHR database?

Analyzing a patient's care trajectory in an EHR database requires retrieving their diagnoses, procedures, medications, and overall clinical story to build a comprehensive patient record for analysis.

Can I use Python scripts to analyze MIMIC-IV diagnoses and procedures for a specific patient?

Yes, you can use Python scripts alongside SQL queries to access the MIMIC-IV EHR database and analyze specific patient data including their diagnoses, procedures, and medication history.

Do I need SQL to access patient data for EHR QA pair generation?

Yes, SQL is required to query and access patient data within the MIMIC-IV EHR database before you can use Python scripts to generate the QA pairs.

What is the best way to create patient-centric QA pairs for EHR exploration tasks?

The best way to create patient-centric QA pairs is to extract the patient's full clinical story from the EHR database and systematically generate questions covering multiple clinical domains based on that data.

Are there limitations when analyzing individual patient records from the MIMIC-IV EHR database?

Analyzing individual patient records requires executing specific SQL queries against the MIMIC-IV EHR database for each patient ID, meaning the process is tailored to single-patient data extraction rather than bulk cohort analysis.