A modern web interface for generating synthetic patient data using the Synthea patient generator.
-
Multiple Output Formats:
- FHIR (R4, STU3, DSTU2)
- HL7 v2.4
- C-CDA
- CSV
- JSON
- CPCDS
-
User-Friendly Interface:
- Simple form for patient generation parameters
- Real-time progress updates
- Organized output format selection
- Clear descriptions for each format
-
Flexible Configuration:
- Configurable number of patients
- State selection for demographics
- Customizable output formats
- Dynamic properties management
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/yourusername/Synthea-patient-generator.git
cd Synthea-patient-generator- Build and run with Docker Compose:
docker compose up --build -d- Access the web interface:
http://localhost:8000
- Select your desired output formats from the available options
- Enter the number of patients to generate
- Choose a US state for demographic data
- Click "Generate Patients"
- Monitor the progress in real-time
- Access generated files in the output directory
Generated files are organized in the output directory with subdirectories for each format:
/output/fhir/- FHIR resources (R4, STU3, or DSTU2)/output/hl7/- HL7 v2.4 messages/output/ccda/- C-CDA documents/output/csv/- CSV files/output/json/- JSON files/output/cpcds/- CPCDS format files
- Built with FastAPI and Python
- Uses the official Synthea JAR for patient generation
- Real-time progress updates via Server-Sent Events (SSE)
- Docker containerization for easy deployment
- Dynamic properties file management for Synthea configuration
Synthea is an open-source synthetic patient generator that models the medical history of synthetic patients. The resulting data is free from cost, privacy, and security restrictions, making it ideal for:
- Healthcare software development
- Medical education
- EHR system testing
- Health IT standards development
For more information about Synthea, visit SyntheticMass.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- Synthea Project for the synthetic patient generator
- MITRE Corporation for developing and maintaining Synthea
- Bulk download functionality for FHIR files
- Additional format customization options
- Enhanced error handling and validation