- Patients and encountersSynthea synthetic patients generated to match the local and regional demographics, naming patterns and care settings of the market being tested. I supply both sides of the data: a synthetic subscriber roster (10,000 members, or about 20,000 for a denser panel with shared addresses and phones) and a full encounter feed aimed at it, covering admits, ED registrations, transfers, discharges, class changes, cancels and updates (A01, A02, A03, A04, A06, A07, A08, A11, A12 and A13), so every expected alert is known in advance and independently verified. The 10,000-member file is far smaller than your production file.Synthea (MITRE)
- Message structureA01, A02, A03, A04, A06, A07, A08, A11, A12 and A13 care-coordination samples follow HL7 v2.5.1 Chapter 3 (Patient Administration) and the NIST HL7 v2 tools, and are modeled on production EHR outbound ADT specifications. The CDC PHIN guide is used only for the public-health tab.HL7 v2.5.1NIST HL7 v2 toolsCDC PHIN guide (public health)
- Hospital mix and volumesBeds, discharges and ED-volume bands from regional CMS hospital data size the critical access, community and tertiary hospitals.CMS Hospital General InformationCMS Cost Reports
- Hourly ADT shapeAfternoon discharge peak, late-morning ED arrivals, overnight lull and NSSP 24-hour timeliness come from published studies.Discharge timingNHAMCSNSSP onboarding
- EMS coverageAgency counts, run volumes, ePCR-to-HIE lag and match rates are a fictional coverage scenario used to show the gap map. Completeness is scored against NEMSIS, the national EMS data standard. These are not published benchmarks.NEMSIS
Methodology, assumptions and substitutions
- Hospitals. Names are fictional. Sizes come from quantiles of the FY2023 CMS cost reports for a regional hospital market (critical access: 77 hospitals, median 18 beds, 15.1 discharges per bed a year; rural PPS: 21, median 79 beds; urban PPS: 25, split at the top bed quartile into community and tertiary). CMS lists 76 of that market’s 136 hospitals as critical access. No row describes a real hospital.
- ADT volume. ED visits use Synthea’s regional ED-to-inpatient encounter ratio (3.0:1) for PPS hospitals and an assumed 12:1 for critical access hospitals, then are checked against CMS’s ED-volume bands (under 20,000; 20,000–39,999; 40,000–59,999; 60,000+ a year). ED registrations are sent as A04 (PV1-2 = E) and inpatient admissions as A01 (PV1-2 = I); the sample dashboard reports each of the ten care-coordination events separately. Class changes (A06, A07) and cancels (A11, A12, A13) are modeled as shares of the admit, transfer and discharge streams, following the end-to-end feed mix (A01 1,500; A02 1,000; A03 1,500; A04 1,000; A06 250; A07 250; A08 1,250; A11, A12 and A13 150 each). Assumptions: 1.4 A02s per inpatient stay, 1.2 A08s per admit or discharge, 60% of admissions via the ED, weekend volume 82% (A03) to 97% (A01) of weekdays. A03 volume is reduced by each feed’s A03 coverage, so feeds that drop discharges send fewer A03s than A01s.
- Hourly shape. Inpatient discharges: 14% before noon and 43% before 3 PM, peaking 3–5 PM, matching a published 2010–2018 hospital discharge study (13.0% before noon, median 3 PM) and an NHS Strategy Unit analysis (most common hour 4–5 PM). ED arrivals peak late morning and early evening and bottom out 4–8 AM (NHAMCS). Latency in this demo is file-pickup-to-alert (file path, not live feed). Checkpoint-level times — file pickup, engine, HIE MPI and panel, then delivery — are an illustrative sample of what one optional query on our test IDs would add: pickup medians run from about 20 seconds at large hospitals to 2 minutes at the smallest critical access feeds; engine, HIE MPI and panel steps take seconds when they auto-resolve; delivery takes under a minute to an EHR inbox and about a minute by Direct. Messages held for review wait about 5 minutes when the queue is staffed (7 AM–10 PM) and about 20 minutes overnight, and queue time grows with hourly load, which produces the weekday 2–6 PM band on the heat map. These are modeling assumptions, not benchmarks. I found no published source for an overnight HIE MPI batch delay, so the 1–4 AM window is an injected scenario, not a benchmark. National reference: 74% of NSSP visits arrived within 24 hours in a 2019 CDC analysis; NSSP asks for data within 24 hours.
- Sample messages. The A04, A02, A08 and A03 samples on this page walk through one synthetic visit as care-coordination ADT per HL7 v2.5.1 Chapter 3 (Patient Administration), with structure checked against the NIST HL7 v2 tools, and are modeled on production EHR outbound ADT specifications: PID with a test assigning authority, full address, home phone and an obviously invalid test SSN in the 900–999 area range (for MPI matching tests), PD1 primary care provider, NK1 emergency contact, PV1 attending, referring and admitting providers, class, locations (PV1-3 new and PV1-6 prior on the A02), admit source and discharge disposition (PV1-36 on the A03), DG1 diagnoses in ICD-10-CM, and IN1 for health-plan routing. The patient is a 71-year-old Synthea patient from a community near the fictional Bluestem RMC: a fall at home, ED arrival, admission to a medical unit, and discharge home with home health on day 3. The A08 carries a registration update: a new primary care provider and a corrected member ID. Timestamps run in order (ED registration, transfer to the inpatient unit, update, discharge), with each message sent seconds after its event (EVN-6 event time, EVN-2 and MSH-7 send time). They carry no OBX segments. The full care-coordination feed also includes inpatient admits (A01), class changes (A06, A07) and cancels (A11, A12, A13). The CDC PHIN syndromic surveillance guide is used only for the public-health tab.
- Who runs the tests. Tests are run by Nick Regier, read-only, using synthetic test messages clearly flagged as test data, under the client’s change control.
- End-to-end test. I supply a synthetic subscriber roster (10,000 members, or about 20,000 for a denser panel with shared addresses and phones) and a matching care-coordination ADT feed covering admits, ED registrations, transfers, discharges, class changes, cancels and updates (A01, A02, A03, A04, A06, A07, A08, A11, A12 and A13, with no OBX segments). The set includes expected matches, expected non-matches, and MPI name, date-of-birth or SSN variants. An answer key lists every message’s expected panel match in advance, so results can be independently verified. Timestamps per spec guide (MSH-7, EVN-2, EVN-6) support file-pickup-to-alert timing. Checkpoint-level times from event to send to match to delivery need the optional query and delivery records for our test IDs.
- MPI equity. Cohort shares come from regional ACS 2019–2023 5-year tables B03003 (Hispanic or Latino), B02010 (American Indian/Alaska Native alone or in combination), B04006 (Somali ancestry), B02018 (Hmong) and B01003 (total), for the counties each fictional hospital is modeled on. Rules generate the variants: Somali patronymic chains and transliterations, January 1 placeholder birth dates, Hispanic dual surnames, Hmong clan surnames and adult names, and tribal shared PO box and rural-route addresses. The HIE MPI tab shows an illustrative outside score (right person, wrong person, or no alert) for those cohorts. It is not a prediction of any live HIE MPI, and it is not an industry benchmark. Held for review versus never linked needs the optional query on our test IDs.
- Injected issues. Silent feeds, PV1-36 gaps, missing A03s, the A02 notification rule at Sandhill Prairie, Direct bounces and A08 storms are deliberate test conditions. Consent scenarios, national-network timings, public-health readiness and peer values are illustrative. EMS agency counts, ePCR lag and match rates are an injected coverage scenario used to show the gap map, not a published benchmark.
- Substitutions. The Census API now needs a key, so ACS estimates come from the Census Bureau’s table-based summary files (same 5-year estimates). Synthea doesn’t generate Somali or Hmong names, so cohort names come from rule lists of common names while birth dates, sex and addresses come from Synthea. Synthea patient names have their numeric suffixes removed, and Synthea first names that read as the other sex (its name lists overlap) are reassigned from Synthea’s own name lists so names agree with sex. The HL7 sample uses a plain street-grid address in the patient’s Synthea city and ZIP, because Synthea’s generated street names read as fake.
- Reproducible. One seeded generator script (Python) builds the dataset, including the 10,000-member roster, the care-coordination ADT feed, a separate public-health feed and the expected-alerts answer key. The browser recomputes every chart from a compact summary. The four sample messages on this page are one visit from that feed, tagged with a test assigning authority.
View sample HL7 v2.5.1 ADT messages: A04, A02, A08, A03 (synthetic)
Care-coordination ADT (A04, A02, A08, A03) for one synthetic Synthea patient at the fictional Bluestem Regional Medical Center, sent to the HIE’s encounter alert service (PSHIE_ALERTS), not NSSP. Synthetic test messages are clearly flagged as test data; the assigning authority PSHIE_SENTINEL tags the sentinel identity. Segments: MSH, EVN, PID, PD1 (primary care provider), NK1, PV1, PV2, DG1 (ICD-10-CM, coding system I10) and IN1 (health plan, for payer routing); the A02 follows the leaner ADT_A02 structure (no NK1, DG1 or IN1). There are intentionally no OBX segments: facility-type, age and chief-complaint OBXs belong to the syndromic surveillance feed, not encounter alerts. PV1-2, PV1-4, PV1-14 and PV1-36 carry bare HL7 table codes (0004, 0007, 0023, 0112), as the v2.5.1 IS data type requires. Providers, health plan, member IDs and phone numbers (555-01xx) are fictional.