healthsim-patientsim

Generate synthetic clinical data in FHIR R4 or HL7v2 formats.

1|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/mark64oswald/healthsim-agent --skill healthsim-patientsim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: healthsim-patientsim
Source: https://github.com/mark64oswald/healthsim-agent/tree/main/skills/patientsim
Command: npx skills add https://github.com/mark64oswald/healthsim-agent --skill healthsim-patientsim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PopulationSim.

What problem does it solve?

HealthSim PatientSim provides a structured way to generate realistic synthetic clinical data that mirrors EMR/EHR records for testing, development, and validation purposes without exposing PHI.

Core Features & Use Cases

  • Generate complete patient histories including demographics, encounters, diagnoses, medications, labs, and vitals
  • Data-grounded generation via PopulationSim to reflect real-world distributions and SDOH influences
  • Multi-format outputs for interoperability testing (FHIR R4, HL7v2, C-CDA, JSON)
  • Provenance tracking and parameterization to ensure reproducible synthetic data
  • Use Case: seed test environments, validate CDS rules, and QA data pipelines across health-IT domains

Quick Start

Install HealthSim, then run the primary PatientSim workflow to generate synthetic EMR data grounded in PopulationSim geography data.

Frequently Asked Questions about healthsim-patientsim

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

FAQPage Schema
How do I generate synthetic EMR data for testing without exposing PHI?

You generate synthetic EMR data for testing without exposing PHI by using geography-grounded generation to create realistic patient histories, including demographics, encounters, diagnoses, medications, labs, and vitals that mirror real EHR records without exposing actual protected health information.

Can I output synthetic healthcare data in FHIR R4 and HL7v2 formats for interoperability testing?

Yes, you can output synthetic healthcare data in FHIR R4 and HL7v2 formats for interoperability testing. The generation process produces multi-format outputs including FHIR R4, HL7v2, C-CDA, and JSON to validate health-IT data pipelines.

Do I need PopulationSim data to generate realistic synthetic clinical records?

Yes, you need PopulationSim data to generate realistic synthetic clinical records. The generation process relies on PopulationSim v2.0 geography data to reflect real-world distributions and social determinants of health influences within the synthetic patient histories.

What is the best way to ensure reproducible synthetic EMR data across test environments?

The best way to ensure reproducible synthetic EMR data across test environments is to use provenance tracking and parameterization during generation. This guarantees that synthetic clinical outputs can be consistently reproduced for downstream QA and validation purposes.

Does synthetic EMR data generation support clinical decision support rule validation?

Yes, synthetic EMR data generation supports clinical decision support rule validation. The generated patient histories contain structured encounters, diagnoses, and lab results that can be used to seed test environments and validate CDS rules effectively.