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:

PlatformHow Populus connectsBuilders
Base44Personal access token (Full access) → GET /api/apps, entity schemas, bulk create. Automations do not fire on bulk creates.Base44
SupabaseAccess 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
PostgresConnection string → information_schema, multi-row INSERT … RETURNING. Host must be public; private addresses are refused.Replit (DATABASE_URL), Neon, Railway, Render, RDS
BubbleApp 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
AirtablePersonal access token → bases, table schema, 10 records per request with typecast.Softr, Glide, Noloco, Stacker
Match my filesUpload 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 schemaNo 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.

Credentials. Tokens and connection strings are used for the wizard's requests and the generation job, then dropped. They are redacted from the stored job record and from every API response. A server restart during a queued job loses them; resubmit. Use a token or role limited to the app you are filling, and prefer a development database. wipe deletes existing rows and cannot be undone.
Lovable Cloud. Supabase's documentation states that Lovable Cloud projects expose no service-role key, no connection string and accept no external connections. Populus therefore cannot write to them; choose “Paste your schema”, ask Lovable to print the schema as CREATE TABLE statements, and have Lovable run the resulting 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.

FieldDefaultMeaning
nrequiredNumber of patients (1 to your tier's limit).
stateCaliforniaUS state name or code. All 50 states and DC.
citywhole stateA census place in that state (Synthea's list), e.g. "Columbus".
sexanyany, F, M.
age_min, age_max0, 100Age 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_onlytrueExclude patients who died before the reference date.
seedrandomSame spec and seed reproduce the same cohort (same Synthea version).
reference_datetodayYYYY-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.modeallall: every included condition. any: at least one.
calibration.enabledautoRake 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_claimsfalseAlso export claims.csv and claims_transactions.csv (ten times the size of everything else).
noise.level00–1. noise.kinds selects error types.
notes.enabledfalseLLM clinical notes. max_encounters, style (soap, narrative, brief), model.
output.formats["synthea_csv"]Any of synthea_csv, fhir_r4, flat, sql, custom.
output.sql_dialectpostgrespostgres, 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_namestrueDrop Synthea's numeric name suffixes.
output.years_of_history10How 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.

KeyLabelSNOMED CTBRFSS indicator
type_2_diabetesType 2 diabetes44054006Ever told you have diabetes
prediabetesPrediabetes714628002—
hypertensionHypertension59621000Ever told you have high blood pressure
hyperlipidemiaHyperlipidemia
Synthea only models hyperlipidemia inside its veteran modules, so the uncalibrated pool has few cases.
55822004Told cholesterol is high
obesityObesity (BMI 30+)162864005, 408512008BMI 30 or more
current_smokerCurrent smoker449868002Current smoker
copdCOPD87433001, 185086009Ever told you have COPD
asthmaAsthma195967001, 233678006Currently have asthma
coronary_heart_diseaseCoronary heart disease414545008, 399261000Ever told you had angina or CHD
myocardial_infarctionMyocardial infarction22298006, 401314000, 401303003, 399211009Ever told you had a heart attack
heart_failureHeart failure88805009, 84114007—
atrial_fibrillationAtrial fibrillation49436004—
strokeStroke230690007Ever told you had a stroke
chronic_kidney_diseaseChronic kidney disease431855005, 431856006, 433144002, 431857002, 46177005, 127013003Ever told you have kidney disease
depressionMajor depression
Synthea only models depression inside its veteran modules, so the uncalibrated pool has few cases.
370143000, 36923009Ever told you have depression
osteoarthritisOsteoarthritis239873007, 239872002, 201834006—
rheumatoid_arthritisRheumatoid arthritis69896004—
arthritisArthritis (any)239873007, 239872002, 201834006, 69896004Ever told you have arthritis
osteoporosisOsteoporosis64859006—
goutGout90560007—
lupusLupus200936003—
fibromyalgiaFibromyalgia95417003, 203082005—
hypothyroidismHypothyroidism83664006—
sleep_apneaSleep apnea78275009, 73430006—
dementiaAlzheimer's disease / dementia26929004, 230265002—
epilepsyEpilepsy84757009, 128613002—
breast_cancerBreast cancer254837009—
colorectal_cancerColorectal cancer93761005, 109838007, 363406005, 94260004—
lung_cancerLung cancer254637007, 254632001, 424132000, 425048006, 422968005, 423121009, 67811000119102—
any_cancerCancer (breast, colorectal, lung or AML)254837009, 93761005, 109838007, 363406005, 94260004, 254637007, 254632001, 424132000, 425048006, 422968005, 423121009, 67811000119102, 91861009Ever told you had cancer (other than skin)
anemiaAnemia271737000—
sepsisSepsis91302008—
opioid_use_disorderOpioid use disorder5602001—
pregnancyPregnancy72892002, 47200007—
cystic_fibrosisCystic fibrosis190905008—
allergic_rhinitisAllergic rhinitis367498001, 446096008, 232353008—
chronic_sinusitisChronic sinusitis40055000—

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:

  1. Generate a pool larger than the cohort (3x by default, capped at 6000).
  2. 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.
  3. 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.
  4. Sample the cohort without replacement, probability proportional to weight.
  5. 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}.

Conditioned cohorts. BRFSS rates describe the general adult population. A cohort of diabetics has, rightly, far more hypertension and kidney disease than Ohio as a whole, so calibration is off by default whenever 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.
Raking moves marginal prevalence. It cannot create cases Synthea never generates (depression and hyperlipidemia appear only in Synthea's veteran modules, so the pool has few; the report flags indicators with none), it does not model how conditions co-occur beyond what Synthea already encodes, and with small cohorts sampling error dominates: at n = 100, ±5 points is normal. Conditions you required are at 100% by design and are left out of calibration.

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.csv and noise_log.csv when 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) and events.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.

CallWhat it does
POST /cohortsQueue a job from a spec. 202 with id, url, api_url, queue_position.
POST /cohorts/validateCheck 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}/downloadThe 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-schemaData dictionary; JSON Schema of the spec.
GET /meYour 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.

ColumnNotes
Id keyPatient UUID. Foreign key PATIENT in every clinical table.
BIRTHDATEYYYY-MM-DD
DEATHDATEYYYY-MM-DD, empty if alive
SSNSynthetic SSN (999-xx-xxxx range)
DRIVERSSynthetic licence
PASSPORTSynthetic passport
PREFIXMr./Mrs./Ms./Dr.
FIRSTFirst name
MIDDLEMiddle name
LASTLast name
SUFFIX
MAIDENMaiden name
MARITALM/S/D/W
RACEwhite/black/asian/native/hawaiian/other
ETHNICITYhispanic/nonhispanic
GENDERM/F
BIRTHPLACECity, State, Country
ADDRESS
CITY
STATE
COUNTY
FIPSCounty FIPS
ZIP
LAT
LON
HEALTHCARE_EXPENSESLifetime out-of-pocket (USD)
HEALTHCARE_COVERAGELifetime paid by payers (USD)
INCOMEAnnual household income (USD)

encounters One row per encounter (visit, admission).

ColumnNotes
Id keyEncounter UUID
STARTISO 8601 UTC
STOPISO 8601 UTC
PATIENT-> patients.Id
ORGANIZATION-> organizations.Id
PROVIDER-> providers.Id
PAYER-> payers.Id
ENCOUNTERCLASSambulatory/emergency/inpatient/wellness/urgentcare/outpatient/...
CODESNOMED CT encounter type
DESCRIPTION
BASE_ENCOUNTER_COSTUSD
TOTAL_CLAIM_COSTUSD
PAYER_COVERAGEUSD
REASONCODESNOMED CT
REASONDESCRIPTION

conditions Diagnoses and findings. Empty STOP = still active.

ColumnNotes
STARTYYYY-MM-DD
STOPYYYY-MM-DD or empty
PATIENT-> patients.Id
ENCOUNTER-> encounters.Id
SYSTEMSNOMED-CT
CODESNOMED CT
DESCRIPTION

medications Prescriptions. Empty STOP = still active.

ColumnNotes
STARTISO 8601
STOPISO 8601 or empty
PATIENT
PAYER
ENCOUNTER
CODERxNorm
DESCRIPTION
BASE_COSTUSD per dispense
PAYER_COVERAGEUSD
DISPENSESCount
TOTALCOSTUSD
REASONCODESNOMED CT
REASONDESCRIPTION

observations Vitals, labs, surveys, social history.

ColumnNotes
DATEISO 8601
PATIENT
ENCOUNTER
CATEGORYvital-signs/laboratory/survey/social-history/...
CODELOINC
DESCRIPTION
VALUE
UNITSUCUM
TYPEnumeric/text

procedures Procedures performed.

ColumnNotes
STARTISO 8601
STOPISO 8601
PATIENT
ENCOUNTER
SYSTEMSNOMED-CT
CODESNOMED CT
DESCRIPTION
BASE_COSTUSD
REASONCODE
REASONDESCRIPTION

immunizations Vaccines given.

ColumnNotes
DATEISO 8601
PATIENT
ENCOUNTER
CODECVX
DESCRIPTION
BASE_COSTUSD

allergies Allergies and intolerances with up to two reactions.

ColumnNotes
START
STOP
PATIENT
ENCOUNTER
CODESNOMED CT or RxNorm
SYSTEM
DESCRIPTION
TYPEallergy/intolerance
CATEGORYfood/medication/environment
REACTION1SNOMED CT
DESCRIPTION1
SEVERITY1MILD/MODERATE/SEVERE
REACTION2
DESCRIPTION2
SEVERITY2

careplans Care plans.

ColumnNotes
Id key
START
STOP
PATIENT
ENCOUNTER
CODESNOMED CT
DESCRIPTION
REASONCODE
REASONDESCRIPTION

devices Implanted or issued devices.

ColumnNotes
START
STOP
PATIENT
ENCOUNTER
CODESNOMED CT
DESCRIPTION
UDIUnique device identifier

supplies Supplies used.

ColumnNotes
DATE
PATIENT
ENCOUNTER
CODESNOMED CT
DESCRIPTION
QUANTITY

imaging_studies Imaging studies (one row per instance).

ColumnNotes
Id
DATE
PATIENT
ENCOUNTER
SERIES_UID
BODYSITE_CODESNOMED CT
BODYSITE_DESCRIPTION
MODALITY_CODEDICOM
MODALITY_DESCRIPTION
INSTANCE_UID
SOP_CODEDICOM
SOP_DESCRIPTION
PROCEDURE_CODESNOMED CT

organizations Hospitals and clinics (real facilities from public datasets).

ColumnNotes
Id key
NAME
ADDRESS
CITY
STATE
ZIP
LAT
LON
PHONE
REVENUE
UTILIZATIONEncounter count

providers Clinicians (synthetic names, real organizations).

ColumnNotes
Id key
ORGANIZATION-> organizations.Id
NAME
GENDER
SPECIALITY
ADDRESS
CITY
STATE
ZIP
LAT
LON
ENCOUNTERS
PROCEDURES
NPISynthetic NPI

payers Insurance payers.

ColumnNotes
Id key
NAME
OWNERSHIPGovernment/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.

ColumnNotes
PATIENT
MEMBERID
START_DATE
END_DATE
PAYER
SECONDARY_PAYER
PLAN_OWNERSHIPSelf/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).

ColumnNotes
Id key
PATIENT
ENCOUNTER
DATE
NOTE_TYPE
AUTHORClinician name
SPECIALTY
MODELLLM used
TEXTNote body

noise_log Every error Populus injected (ground truth for data-quality testing).

ColumnNotes
TABLE
ROW_KEYId, or PATIENT|ENCOUNTER|CODE|DATE
COLUMN
KINDmissing/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).

ColumnNotes
patient_id
encounter_id
date
event_typecondition/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

AnonymousFree key
Patients per run251000
Runs5 per hour30 per day, 5000 patients per day
Clinical notes per run10300
Postgres pushnoyes
Downloads kept24 hours7 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.