Overview
Populus turns a short description of a patient population into a complete synthetic dataset. Under the hood it runs Synthea, MITRE's open-source patient simulator, then adds what Synthea does not do on its own: cohorts defined by conditions, prevalence calibrated to the state you chose, clinical notes, realistic data-quality problems with an answer key, and output in the shape your app expects.
Nothing in the output is derived from real patients. Synthea simulates each life from census demographics and published clinical guidelines. There is no PHI to protect, so the files can go into any tool, including Base44, Lovable, Replit, Bolt or Cursor, where real patient data must not.
Quick start
curl -X POST https://populus.paloaltohealthlabs.com/api/v1/cohorts -H 'Content-Type: application/json' -d '{
"n": 25, "state": "Ohio",
"conditions": {"include": ["type_2_diabetes", "hypertension"], "mode": "all"},
"calibration": {"enabled": true},
"noise": {"level": 0.3},
"output": {"formats": ["synthea_csv", "flat"]}
}'
# → {"id": "…", "status": "queued", "url": "https://populus.paloaltohealthlabs.com/jobs/…", "api_url": "https://populus.paloaltohealthlabs.com/api/v1/jobs/…"}
curl https://populus.paloaltohealthlabs.com/api/v1/jobs/ID # poll until status is "done"
curl -o cohort.zip https://populus.paloaltohealthlabs.com/api/v1/jobs/ID/download
Or use the builder, or the MCP server from an AI coding tool.
Connect your app
The Connect flow fills the app you already built. Populus reads the app's own tables, proposes how to fill each from the cohort, shows a preview on an 8-patient sample, then generates and loads. Platforms:
| Platform | How Populus connects | Builders |
|---|---|---|
| Base44 | Personal access token (Full access) → GET /api/apps, entity schemas, bulk create. Automations do not fire on bulk creates. | Base44 |
| Supabase | Access token (or “Connect with Supabase” where enabled) → Management API lists projects, reads information_schema, inserts with SQL as the postgres role (RLS does not apply). | Lovable on your own Supabase, Bolt, v0, FlutterFlow, Softr |
| Postgres | Connection string → information_schema, multi-row INSERT … RETURNING. Host must be public; private addresses are refused. | Replit (DATABASE_URL), Neon, Railway, Render, RDS |
| Bubble | App URL + API token → types from meta/swagger.json, bulk create 1,000 things per call. Needs Data API, Swagger and “Create via API” enabled. | Bubble |
| Airtable | Personal access token → bases, table schema, 10 records per request with typecast. | Softr, Glide, Noloco, Stacker |
| Match my files | Upload CSV/TSV/XLSX/JSON/SQL/Prisma files or a screenshot of the schema. No connection; you get the dataset back in that exact layout (CSV per table, XLSX, JSON, SQL), with your date, boolean and id conventions. | Import templates, spreadsheets, any app |
| Paste your schema | No connection. SQL DDL, JSON or table: field (type) lines → a seed package: load/seed.sql, seed.json, CSV per table, and PROMPT.txt to paste into the builder's AI. | Lovable Cloud (no external DB access), Glide, FlutterFlow, Adalo, anything |
Match my files
The first option in the wizard takes what you already have instead of a connection: one CSV or a batch, a TSV, an Excel workbook (one sheet per table), JSON (array of objects or object of arrays), a SQL or Prisma schema, a plain table: field (type) list, a PDF data dictionary with a text layer, or a screenshot of an ER diagram, a table editor, a spreadsheet or a form (read by the LLM). Populus infers each column's type, enum values, and conventions (date style such as 03/05/1961, boolean style such as Yes/No or TRUE/FALSE, zero-padded codes, prefixed ids like MRN-000123), links id columns across files, maps the cohort onto it, and returns the dataset in the same layout: a CSV/TSV per table with the original column order and delimiter, dataset.xlsx with a sheet per table, dataset.json, and seed.sql. Uploads are not stored; five sample values per column travel with the schema to guide the mapping. Do not upload real patient data; tick headers only if in doubt.
curl -F "files=@patients.csv" -F "files=@visits.csv" https://populus.paloaltohealthlabs.com/api/v1/connect/ingest > schema.json
# then POST /connect/mapping with that schema, and generate with
# "output": {"load": {"platform": "files", "credentials": {"schema": <schema.json>}, "mapping": <mapping>}}
MCP: connect_ingest(files=[{name, content_base64}], text, headers_only).
Mapping
A mapping says, per target table, which cohort source fills it and how each field is computed. With an LLM configured Populus proposes it from the schema (field names, types, enums, foreign keys); otherwise name heuristics do (patients/members/clients → patients, visits/appointments → encounters, and so on). Edit the JSON in the wizard or send your own through the API.
{"tables": {
"Patient": {"source": "patients", "columns": {"full_name": "FULL_NAME", "date_of_birth": "BIRTHDATE", "gender": "MAP(GENDER, M=male|F=female|*=other)",
"email": "EMAIL", "phone_number": "PHONE", "primary_care_physician": "PCP_NAME", "chronic_conditions": "CONDITIONS", "risk_score": "RISK_LEVEL"}},
"Appointment": {"source": "encounters", "columns": {"patient_id": "REF(Patient, PATIENT)", "scheduled_for": "START", "kind": "ENCOUNTERCLASS", "chief_complaint": "CHIEF_COMPLAINT", "clinician": "PROVIDER_NAME", "soap_note": "NOTE_TEXT"}},
"LabResult": {"source": "observations", "where": {"CATEGORY": "laboratory"}, "limit": 2000,
"columns": {"patient_id": "REF(Patient, PATIENT)", "test_name": "DESCRIPTION", "value": "NUMERIC_VALUE", "unit": "UNITS", "taken_at": "DATE", "abnormal": "IS_ABNORMAL"}}
}}
Expressions: a source or virtual column; {A} {B}; DATE_ONLY, YEAR, UPPER, LOWER, INT; CONST(text); RANDOM(a|b|c); FAKE(phone|email|mrn|member_id|ssn_last4|npi|street|zip|uuid|int); MAP(col, a=X|b=Y|*=Z); REF(target_table, col) which becomes the id the platform assigned to the related row (tables load in dependency order); UUID(). Values are coerced to the target field's type (dates, booleans, numbers, enums by closest match).
Virtual columns on patients: AGE, AGE_BAND, FULL_NAME, SEX_LABEL, EMAIL, PHONE, MRN, MEMBER_ID, PRIMARY_CONDITION, PRIMARY_CONDITION_CODE, CONDITIONS, CONDITION_CODES, ACTIVE_MEDICATIONS, ALLERGIES, ENCOUNTER_COUNT, LAST_VISIT_DATE, NEXT_VISIT_DATE, PCP_NAME, PCP_ID, ORGANIZATION_NAME, INSURANCE, LATEST_BMI, LATEST_SYSTOLIC_BP, LATEST_DIASTOLIC_BP, LATEST_HBA1C, LATEST_WEIGHT_KG, LATEST_HEIGHT_CM, LATEST_GLUCOSE, LATEST_CHOLESTEROL, SMOKING_STATUS, RISK_LEVEL. On encounters: DATE, DURATION_MIN, PATIENT_NAME, PROVIDER_NAME, PROVIDER_SPECIALTY, ORGANIZATION_NAME, PAYER_NAME, DIAGNOSES, CHIEF_COMPLAINT, NOTE_TEXT, STATUS. Conditions and medications add STATUS, IS_ACTIVE, ENCOUNTER_DATE (medications also DRUG_NAME, PRESCRIBER_NAME); observations add NUMERIC_VALUE, IS_ABNORMAL. Full list: /api/v1/connect/mapping-doc.
By API and MCP
POST /api/v1/connect/apps {"platform": "base44", "credentials": {"token": "..."}} → apps
POST /api/v1/connect/schema {"platform": "base44", "credentials": {...}, "app_id": "..."} → target schema
POST /api/v1/connect/mapping {"schema": <target schema>, "use_llm": true} → mapping proposal
POST /api/v1/connect/preview {"mapping": <mapping>, "schema": <target schema>} → rows from the sample
POST /api/v1/cohorts {"n": 100, "state": "OH", "output": {"load": {"platform": "base44", "credentials": {...}, "app_id": "...", "mapping": <mapping>, "wipe": false}}}
MCP tools: connect_platforms, connect_list_apps, connect_describe_app, suggest_mapping, preview_mapping, then generate_cohort with output.load. An agent inside Replit or Cursor can therefore fill the app it is working on in one conversation.
wipe deletes existing rows and cannot be undone.seed.sql as a migration. Projects connected to your own Supabase account work through the Supabase connector.Cohort spec
The same JSON object everywhere: the builder, POST /api/v1/cohorts, and the MCP generate_cohort tool. Full JSON Schema at /api/v1/spec-schema.
| Field | Default | Meaning |
|---|---|---|
n | required | Number of patients (1 to your tier's limit). |
state | California | US state name or code. All 50 states and DC. |
city | whole state | A census place in that state (Synthea's list), e.g. "Columbus". |
sex | any | any, F, M. |
age_min, age_max | 0, 100 | Age on the reference date. At the defaults ages follow the census; any narrowing samples ages uniformly within the range (Synthea's behaviour), so 18–100 gives far more 90-year-olds than real life. |
alive_only | true | Exclude patients who died before the reference date. |
seed | random | Same spec and seed reproduce the same cohort (same Synthea version). |
reference_date | today | YYYY-MM-DD. Records end here. |
conditions.include | [] | Conditions every patient must have (see catalog; snomed:<code> for any Synthea condition). |
conditions.exclude | [] | Conditions no patient may have. |
conditions.mode | all | all: every included condition. any: at least one. |
calibration.enabled | auto | Rake to BRFSS state prevalence. null = on for a general population, off when conditions are required. indicators limits which; oversample (1.5–6) sets pool size. |
output.include_claims | false | Also export claims.csv and claims_transactions.csv (ten times the size of everything else). |
noise.level | 0 | 0–1. noise.kinds selects error types. |
notes.enabled | false | LLM clinical notes. max_encounters, style (soap, narrative, brief), model. |
output.formats | ["synthea_csv"] | Any of synthea_csv, fhir_r4, flat, sql, custom. |
output.sql_dialect | postgres | postgres, sqlite, mysql. |
output.custom_schema | — | Required with custom. See custom mapping. |
output.push | — | {dsn, schema_name, mode, tables}. Key tier only. |
output.load | — | {platform, credentials, app_id, mapping, wipe, dry_run}: load into a connected app. See Connect. |
output.realistic_names | true | Drop Synthea's numeric name suffixes. |
output.years_of_history | 10 | How far back the record goes; 0 = whole lifetime. |
Conditions
Each catalog entry maps to the SNOMED CT codes Synthea actually writes, so "type 2 diabetes" matches the record exactly. Entries with a BRFSS indicator are also the ones calibration can target. Full list with codes: /api/v1/conditions; every one of Synthea's 300+ condition codes: ?all=true, usable as snomed:44054006.
| Key | Label | SNOMED CT | BRFSS indicator |
|---|---|---|---|
type_2_diabetes | Type 2 diabetes | 44054006 | Ever told you have diabetes |
prediabetes | Prediabetes | 714628002 | — |
hypertension | Hypertension | 59621000 | Ever told you have high blood pressure |
hyperlipidemia | Hyperlipidemia Synthea only models hyperlipidemia inside its veteran modules, so the uncalibrated pool has few cases. | 55822004 | Told cholesterol is high |
obesity | Obesity (BMI 30+) | 162864005, 408512008 | BMI 30 or more |
current_smoker | Current smoker | 449868002 | Current smoker |
copd | COPD | 87433001, 185086009 | Ever told you have COPD |
asthma | Asthma | 195967001, 233678006 | Currently have asthma |
coronary_heart_disease | Coronary heart disease | 414545008, 399261000 | Ever told you had angina or CHD |
myocardial_infarction | Myocardial infarction | 22298006, 401314000, 401303003, 399211009 | Ever told you had a heart attack |
heart_failure | Heart failure | 88805009, 84114007 | — |
atrial_fibrillation | Atrial fibrillation | 49436004 | — |
stroke | Stroke | 230690007 | Ever told you had a stroke |
chronic_kidney_disease | Chronic kidney disease | 431855005, 431856006, 433144002, 431857002, 46177005, 127013003 | Ever told you have kidney disease |
depression | Major depression Synthea only models depression inside its veteran modules, so the uncalibrated pool has few cases. | 370143000, 36923009 | Ever told you have depression |
osteoarthritis | Osteoarthritis | 239873007, 239872002, 201834006 | — |
rheumatoid_arthritis | Rheumatoid arthritis | 69896004 | — |
arthritis | Arthritis (any) | 239873007, 239872002, 201834006, 69896004 | Ever told you have arthritis |
osteoporosis | Osteoporosis | 64859006 | — |
gout | Gout | 90560007 | — |
lupus | Lupus | 200936003 | — |
fibromyalgia | Fibromyalgia | 95417003, 203082005 | — |
hypothyroidism | Hypothyroidism | 83664006 | — |
sleep_apnea | Sleep apnea | 78275009, 73430006 | — |
dementia | Alzheimer's disease / dementia | 26929004, 230265002 | — |
epilepsy | Epilepsy | 84757009, 128613002 | — |
breast_cancer | Breast cancer | 254837009 | — |
colorectal_cancer | Colorectal cancer | 93761005, 109838007, 363406005, 94260004 | — |
lung_cancer | Lung cancer | 254637007, 254632001, 424132000, 425048006, 422968005, 423121009, 67811000119102 | — |
any_cancer | Cancer (breast, colorectal, lung or AML) | 254837009, 93761005, 109838007, 363406005, 94260004, 254637007, 254632001, 424132000, 425048006, 422968005, 423121009, 67811000119102, 91861009 | Ever told you had cancer (other than skin) |
anemia | Anemia | 271737000 | — |
sepsis | Sepsis | 91302008 | — |
opioid_use_disorder | Opioid use disorder | 5602001 | — |
pregnancy | Pregnancy | 72892002, 47200007 | — |
cystic_fibrosis | Cystic fibrosis | 190905008 | — |
allergic_rhinitis | Allergic rhinitis | 367498001, 446096008, 232353008 | — |
chronic_sinusitis | Chronic sinusitis | 40055000 | — |
Requiring a condition makes Synthea generate and discard patients until it has enough that match, so rare conditions and combinations take longer. Three or more required conditions can take many minutes; jobs time out after 30 minutes.
Calibration
Synthea's disease modules are calibrated to national (in places, Massachusetts) rates, applied to each location's census demographics. State differences in its output therefore come only from the age, sex, race and income mix, not from the real geographic variation in disease. A synthetic West Virginia has roughly Colorado's diabetes rate.
Populus corrects this at the cohort level:
- Generate a pool larger than the cohort (3x by default, capped at 6000).
- Compute BRFSS-style indicators for every patient from the record: ever diagnosed with diabetes, hypertension, COPD, CHD, MI, stroke, depression, kidney disease, arthritis, cancer, high cholesterol; currently has asthma; latest BMI 30+; latest smoking status is current.
- Rake (iterative proportional fitting): reweight patients until the weighted prevalence of each indicator within each sex and each age band matches the state's CDC BRFSS 2023 crude prevalence, while the sex × age distribution stays as Synthea generated it.
- Sample the cohort without replacement, probability proportional to weight.
- Report target, pool and achieved prevalence for every indicator and stratum.
Source: CDC BRFSS Prevalence Data, survey year 2023, crude prevalence, broken out by sex and age group, for all 50 states and DC. Per-state targets: /api/v1/prevalence/{state}.
conditions.include is set (calibration.enabled null = automatic). Force it with true if you know you want general-population marginals anyway; the report will show you what it did.Noise
Synthea output is too clean. noise.level from 0 to 1 injects, at rates that scale with the level:
- missing: blanked optional fields (middle names, SSNs, addresses, encounter reasons, stop dates, units).
- duplicates: the same person twice with a new Id and a nickname, typo, shifted birthday or maiden name, and their most recent encounters moved to the duplicate (a split record).
- typos and whitespace: swapped, dropped or doubled characters, case changes, stray spaces in names and addresses.
- units: height in inches, weight in pounds, glucose in mmol/L, temperature in °F, with the unit label updated (
units) or, a quarter of the time, left unchanged (units_silent). - dates: 3/5/2021, 05-03-2021, 20210305, Mar 5, 2021, timestamps with the timezone dropped.
- coding: codes as floats (44054006.0), upper-cased or truncated descriptions, codes swapped for another row's code with the description left as is, blank descriptions.
- outliers: decimal-point slips (×10, ÷10), sign errors and zeros in vitals and labs.
- demographics: Male/male/1 for M, lost leading zeros in ZIPs, inconsistent race casing.
Every change is recorded in noise_log.csv with table, row key, column, kind, before and after, so you can score a cleaning pipeline against ground truth. Noise is applied to the CSV-derived outputs (Synthea CSV, flat, SQL, custom, push); FHIR bundles stay clean, because FHIR validators reject most of these errors before your code would see them.
Clinical notes
With notes.enabled, an LLM (default anthropic/claude-haiku-5.5 via OpenRouter) writes one note per encounter, most recent encounters first and spread across patients. Each prompt contains only that encounter's facts: patient age and sex, encounter type and reason, the clinician and specialty, problems active on that date, diagnoses and medications from the visit, current medications, allergies, procedures, immunizations, care plans, vitals, labs and screening scores. The model is instructed to add nothing that contradicts them. Styles: soap, narrative, brief. Output: notes.csv (Id, PATIENT, ENCOUNTER, DATE, NOTE_TYPE, AUTHOR, SPECIALTY, MODEL, TEXT) and, with FHIR, fhir/notes_documentreference.ndjson. Notes are the slowest step (about half a second each) and the only one with an external dependency.
Output formats
- synthea_csv: Synthea's own 17-table CSV layout (dictionary), plus
notes.csvandnoise_log.csvwhen produced. Codes are SNOMED CT (conditions, procedures, encounters), LOINC (observations), RxNorm (medications), CVX (immunizations). - fhir_r4: FHIR R4 transaction bundles with US Core profiles, one file per patient, plus hospital and practitioner bundles. What Epic, Cerner and SMART-on-FHIR apps speak.
- flat:
patients_flat.csv, one wide row per patient (demographics, utilisation counts, latest vitals, latest HbA1c, a boolean per catalog condition) andevents.csv, every clinical event in one long table. - sql: a CREATE TABLE + INSERT script in Postgres, SQLite or MySQL dialect, lower-cased column names, types inferred from the data (which is why noisy dates become text, as they would in real life).
- custom: your table and column names, see below.
Every zip also has manifest.json (spec, seed, Synthea version, row counts, calibration report, noise summary, data dictionary with inferred types) and README.txt.
Custom mapping
Describe the tables your app expects and Populus fills them:
"output": {"formats": ["custom"], "custom_schema": {"tables": {
"members": {"source": "patients", "columns": {
"member_id": "Id", "full_name": "FULL_NAME", "dob": "BIRTHDATE", "sex": "GENDER", "age": "AGE", "zip": "ZIP", "plan": "Gold PPO"}},
"visits": {"source": "encounters", "columns": {
"visit_id": "Id", "member_id": "PATIENT", "visit_date": "DATE_ONLY(START)", "setting": "UPPER(ENCOUNTERCLASS)", "minutes": "DURATION_MIN"},
"where": {"ENCOUNTERCLASS": "inpatient"}},
"problems": {"source": "conditions", "columns": {"member_id": "PATIENT", "snomed": "CODE", "name": "DESCRIPTION", "onset": "START", "resolved": "STOP"}}
}}}
A column value is a source column name, a template with {COL} placeholders, a function DATE_ONLY(col), YEAR(col), UPPER(col), LOWER(col), or a literal (anything that is not a column name). Virtual columns: AGE, AGE_BAND, FULL_NAME on patients; DURATION_MIN on encounters. where keeps rows whose source columns equal the given values. Sources: patients, encounters, conditions, medications, observations, procedures, immunizations, allergies, careplans, devices, imaging_studies, providers, organizations, payers, notes.
Postgres push
With an API key, output.push loads the cohort straight into your database: Supabase, Neon, Railway, RDS, anything that speaks Postgres and is reachable from the internet.
"output": {"push": {"dsn": "postgresql://user:pass@db.xxxx.supabase.co:5432/postgres", "schema_name": "populus", "mode": "replace", "tables": "synthea"}}
tables is synthea, flat or custom. replace drops and recreates each table; append adds rows. Column names are lower-cased; types are inferred. The connection string is used for this job only and is redacted from everything Populus stores or returns. Use a database role with rights limited to that schema.
REST API
Base URL https://populus.paloaltohealthlabs.com/api/v1. Interactive reference: /api/docs; OpenAPI: /api/openapi.json. Authentication is optional: Authorization: Bearer pop_… for key-tier limits.
| Call | What it does |
|---|---|
POST /cohorts | Queue a job from a spec. 202 with id, url, api_url, queue_position. |
POST /cohorts/validate | Check a spec and your quota without running it. |
GET /jobs/{id} | Status (queued, running, done, failed, expired), progress, and on completion result with files, row counts, calibration report, noise summary, download URL. |
GET /jobs/{id}/download | The zip. |
GET /jobs/{id}/files/{path} | One file, e.g. csv/patients.csv. |
GET /jobs/{id}/preview?table=&limit= | First rows of a table as JSON. |
GET /conditions?all= | Condition catalog. |
GET /states, GET /prevalence/{state} | States and BRFSS targets. |
GET /dictionary, GET /spec-schema | Data dictionary; JSON Schema of the spec. |
GET /me | Your tier, limits and usage. |
POST /keys/request | {"email": …}: a free key by email. |
Python, no SDK needed:
import requests, time
spec = {"n": 200, "state": "FL", "sex": "F", "age_min": 50, "age_max": 75,
"conditions": {"include": ["breast_cancer"]}, "output": {"formats": ["fhir_r4", "flat"]}}
h = {"Authorization": "Bearer pop_..."}
job = requests.post("https://populus.paloaltohealthlabs.com/api/v1/cohorts", json=spec, headers=h).json()
while (j := requests.get(job["api_url"]).json())["status"] in ("queued", "running"):
time.sleep(3)
open("cohort.zip", "wb").write(requests.get(j["result"]["download_url"]).content)
MCP server
Populus is also an MCP server, so Claude Code, Cursor, Replit Agent, Windsurf and other MCP clients can ask for data in plain language ("give me 100 Ohio diabetics with notes and load them into my Supabase"). Transport: streamable HTTP at https://populus.paloaltohealthlabs.com/mcp.
# Claude Code
claude mcp add --transport http populus https://populus.paloaltohealthlabs.com/mcp --header "Authorization: Bearer pop_..."
# Cursor / Windsurf / generic (mcp.json)
{"mcpServers": {"populus": {"url": "https://populus.paloaltohealthlabs.com/mcp", "headers": {"Authorization": "Bearer pop_..."}}}}
Tools: list_conditions, list_states, get_state_prevalence, get_limits, generate_cohort(spec, wait_seconds), get_job, preview_table, request_api_key. generate_cohort takes the same spec as the API; with wait_seconds up to 170 it blocks until the cohort is ready and returns download URLs, so an agent can fetch the files in the next step. The header is optional; without it the anonymous tier applies.
Data dictionary
Synthea CSV tables (what you get with synthea_csv) and Populus additions. Every clinical table joins to patients.Id through PATIENT and to encounters.Id through ENCOUNTER. Empty STOP means ongoing. Dates are YYYY-MM-DD or ISO 8601 UTC timestamps. The manifest in every zip repeats this with the column types inferred from your actual data.
patients One row per patient.
| Column | Notes |
|---|---|
Id key | Patient UUID. Foreign key PATIENT in every clinical table. |
BIRTHDATE | YYYY-MM-DD |
DEATHDATE | YYYY-MM-DD, empty if alive |
SSN | Synthetic SSN (999-xx-xxxx range) |
DRIVERS | Synthetic licence |
PASSPORT | Synthetic passport |
PREFIX | Mr./Mrs./Ms./Dr. |
FIRST | First name |
MIDDLE | Middle name |
LAST | Last name |
SUFFIX | |
MAIDEN | Maiden name |
MARITAL | M/S/D/W |
RACE | white/black/asian/native/hawaiian/other |
ETHNICITY | hispanic/nonhispanic |
GENDER | M/F |
BIRTHPLACE | City, State, Country |
ADDRESS | |
CITY | |
STATE | |
COUNTY | |
FIPS | County FIPS |
ZIP | |
LAT | |
LON | |
HEALTHCARE_EXPENSES | Lifetime out-of-pocket (USD) |
HEALTHCARE_COVERAGE | Lifetime paid by payers (USD) |
INCOME | Annual household income (USD) |
encounters One row per encounter (visit, admission).
| Column | Notes |
|---|---|
Id key | Encounter UUID |
START | ISO 8601 UTC |
STOP | ISO 8601 UTC |
PATIENT | -> patients.Id |
ORGANIZATION | -> organizations.Id |
PROVIDER | -> providers.Id |
PAYER | -> payers.Id |
ENCOUNTERCLASS | ambulatory/emergency/inpatient/wellness/urgentcare/outpatient/... |
CODE | SNOMED CT encounter type |
DESCRIPTION | |
BASE_ENCOUNTER_COST | USD |
TOTAL_CLAIM_COST | USD |
PAYER_COVERAGE | USD |
REASONCODE | SNOMED CT |
REASONDESCRIPTION |
conditions Diagnoses and findings. Empty STOP = still active.
| Column | Notes |
|---|---|
START | YYYY-MM-DD |
STOP | YYYY-MM-DD or empty |
PATIENT | -> patients.Id |
ENCOUNTER | -> encounters.Id |
SYSTEM | SNOMED-CT |
CODE | SNOMED CT |
DESCRIPTION |
medications Prescriptions. Empty STOP = still active.
| Column | Notes |
|---|---|
START | ISO 8601 |
STOP | ISO 8601 or empty |
PATIENT | |
PAYER | |
ENCOUNTER | |
CODE | RxNorm |
DESCRIPTION | |
BASE_COST | USD per dispense |
PAYER_COVERAGE | USD |
DISPENSES | Count |
TOTALCOST | USD |
REASONCODE | SNOMED CT |
REASONDESCRIPTION |
observations Vitals, labs, surveys, social history.
| Column | Notes |
|---|---|
DATE | ISO 8601 |
PATIENT | |
ENCOUNTER | |
CATEGORY | vital-signs/laboratory/survey/social-history/... |
CODE | LOINC |
DESCRIPTION | |
VALUE | |
UNITS | UCUM |
TYPE | numeric/text |
procedures Procedures performed.
| Column | Notes |
|---|---|
START | ISO 8601 |
STOP | ISO 8601 |
PATIENT | |
ENCOUNTER | |
SYSTEM | SNOMED-CT |
CODE | SNOMED CT |
DESCRIPTION | |
BASE_COST | USD |
REASONCODE | |
REASONDESCRIPTION |
immunizations Vaccines given.
| Column | Notes |
|---|---|
DATE | ISO 8601 |
PATIENT | |
ENCOUNTER | |
CODE | CVX |
DESCRIPTION | |
BASE_COST | USD |
allergies Allergies and intolerances with up to two reactions.
| Column | Notes |
|---|---|
START | |
STOP | |
PATIENT | |
ENCOUNTER | |
CODE | SNOMED CT or RxNorm |
SYSTEM | |
DESCRIPTION | |
TYPE | allergy/intolerance |
CATEGORY | food/medication/environment |
REACTION1 | SNOMED CT |
DESCRIPTION1 | |
SEVERITY1 | MILD/MODERATE/SEVERE |
REACTION2 | |
DESCRIPTION2 | |
SEVERITY2 |
careplans Care plans.
| Column | Notes |
|---|---|
Id key | |
START | |
STOP | |
PATIENT | |
ENCOUNTER | |
CODE | SNOMED CT |
DESCRIPTION | |
REASONCODE | |
REASONDESCRIPTION |
devices Implanted or issued devices.
| Column | Notes |
|---|---|
START | |
STOP | |
PATIENT | |
ENCOUNTER | |
CODE | SNOMED CT |
DESCRIPTION | |
UDI | Unique device identifier |
supplies Supplies used.
| Column | Notes |
|---|---|
DATE | |
PATIENT | |
ENCOUNTER | |
CODE | SNOMED CT |
DESCRIPTION | |
QUANTITY |
imaging_studies Imaging studies (one row per instance).
| Column | Notes |
|---|---|
Id | |
DATE | |
PATIENT | |
ENCOUNTER | |
SERIES_UID | |
BODYSITE_CODE | SNOMED CT |
BODYSITE_DESCRIPTION | |
MODALITY_CODE | DICOM |
MODALITY_DESCRIPTION | |
INSTANCE_UID | |
SOP_CODE | DICOM |
SOP_DESCRIPTION | |
PROCEDURE_CODE | SNOMED CT |
organizations Hospitals and clinics (real facilities from public datasets).
| Column | Notes |
|---|---|
Id key | |
NAME | |
ADDRESS | |
CITY | |
STATE | |
ZIP | |
LAT | |
LON | |
PHONE | |
REVENUE | |
UTILIZATION | Encounter count |
providers Clinicians (synthetic names, real organizations).
| Column | Notes |
|---|---|
Id key | |
ORGANIZATION | -> organizations.Id |
NAME | |
GENDER | |
SPECIALITY | |
ADDRESS | |
CITY | |
STATE | |
ZIP | |
LAT | |
LON | |
ENCOUNTERS | |
PROCEDURES | |
NPI | Synthetic NPI |
payers Insurance payers.
| Column | Notes |
|---|---|
Id key | |
NAME | |
OWNERSHIP | Government/Private/No insurance |
ADDRESS | |
CITY | |
STATE_HEADQUARTERED | |
ZIP | |
PHONE | |
AMOUNT_COVERED | |
AMOUNT_UNCOVERED | |
REVENUE | |
COVERED_ENCOUNTERS | |
UNCOVERED_ENCOUNTERS | |
COVERED_MEDICATIONS | |
UNCOVERED_MEDICATIONS | |
COVERED_PROCEDURES | |
UNCOVERED_PROCEDURES | |
COVERED_IMMUNIZATIONS | |
UNCOVERED_IMMUNIZATIONS | |
UNIQUE_CUSTOMERS | |
QOLS_AVG | |
MEMBER_MONTHS |
payer_transitions Insurance coverage periods.
| Column | Notes |
|---|---|
PATIENT | |
MEMBERID | |
START_DATE | |
END_DATE | |
PAYER | |
SECONDARY_PAYER | |
PLAN_OWNERSHIP | Self/Guardian/Spouse |
OWNER_NAME |
claims Claim headers.
claims_transactions Claim line items (charges, payments, adjustments).
notes LLM-written clinical notes, one per selected encounter (Populus).
| Column | Notes |
|---|---|
Id key | |
PATIENT | |
ENCOUNTER | |
DATE | |
NOTE_TYPE | |
AUTHOR | Clinician name |
SPECIALTY | |
MODEL | LLM used |
TEXT | Note body |
noise_log Every error Populus injected (ground truth for data-quality testing).
| Column | Notes |
|---|---|
TABLE | |
ROW_KEY | Id, or PATIENT|ENCOUNTER|CODE|DATE |
COLUMN | |
KIND | missing/duplicate/typo/units/units_silent/date_format/code_as_float/wrong_code/outlier/... |
BEFORE | |
AFTER | |
DETAIL |
patients_flat One wide row per patient: demographics, utilisation counts, latest vitals and condition flags (Populus).
events Every clinical event in one long table (Populus).
| Column | Notes |
|---|---|
patient_id | |
encounter_id | |
date | |
event_type | condition/medication/observation/procedure/immunization/allergy/careplan/device/note |
code | |
system | |
description | |
value | |
units | |
start | |
stop |
Methods and limits
What Synthea is
Synthea simulates every patient from birth using census demographics for the chosen place and a library of disease modules (state machines written by clinicians from published guidelines and incidence statistics). Providers and facilities are real organisations from public datasets; the people are invented. It is good for building, demoing and testing software. It is not a substitute for real data in research or model training: only modelled conditions appear, care is guideline-perfect, comorbidity interactions are limited to what modules encode, and published validation finds it does not reproduce real-world quality and outcome measures well.
What Populus adds and does not
- Condition targeting changes who is kept, not how disease is simulated.
- Calibration moves marginal prevalence to the state's BRFSS figures by sex and age; it does not change clinical detail, co-occurrence, or anything about children.
- Noise is injected after simulation and fully logged.
- Notes are LLM text grounded in structured facts; they are plausible, not validated clinical prose, and may contain errors a clinician would notice.
- Synthea version and seed are recorded in every manifest; the same spec and seed reproduce the same cohort on the same Synthea version only.
Privacy
No real patient data enters Populus at any point. We store the spec you submit (minus any database connection string), the generated files until they expire, and, for API keys, the email address and the job counts needed to enforce limits. Downloads are unlisted URLs. Do not type real PHI into a spec field.
Tiers
| Anonymous | Free key | |
|---|---|---|
| Patients per run | 25 | 1000 |
| Runs | 5 per hour | 30 per day, 5000 patients per day |
| Clinical notes per run | 10 | 300 |
| Postgres push | no | yes |
| Downloads kept | 24 hours | 7 days |
Larger volumes, private deployments, or your own disease modules: talk to us.
FAQ
Is this HIPAA-relevant? No. Synthetic data is not PHI. That is the point: you can build on it anywhere, then move to real data in an environment with a BAA, such as Fabrica.
Can I use the data commercially? Yes. Synthea is Apache 2.0, BRFSS is public domain, and we claim no rights in generated cohorts.
Why do names look real? realistic_names removes Synthea's numeric suffixes. Names come from Synthea's name lists and are not tied to any person.
Can I get conditions not in the catalog? Any of Synthea's condition codes via snomed:<code>. Conditions Synthea does not model (most psychiatric and dermatological diagnoses, for example) cannot be generated; ask us about custom modules.
Why "Populus"? Latin for "the people". It sits beside Fabrica, the workshop.