# Generate synthetic FHIR patient records for EHR testing

**Use case:** 

Generate realistic synthetic patients as FHIR R4 bundles for EHR testing, no privacy risk. Returns demographics, conditions, medications, procedures.

## Input

```json
{
  "population_size": 2,
  "age_range": "0-100",
  "exporter_fhir_use_us_core_ig": true
}
```

## Output

```json
{
  "patient_count": {
    "label": "Patient Count",
    "format": "integer"
  },
  "generation_timestamp": {
    "label": "Generation Timestamp",
    "format": "string"
  },
  "summary": {
    "label": "Generation Summary",
    "format": "object"
  },
  "generated_files": {
    "label": "Generated Files",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [Synthea - Create Synthetic FHIR Compliant Health Records](https://apify.com/johnvc/synthea-medical-record-generator-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/synthea-medical-record-generator-api) to learn more, explore other use cases, and run it yourself.