Get started
FHIR Drill lab docs
Everything you need to run the lab, practise FHIR and HL7 v2, and get ready for connectathons, written for this lab.
FHIR Drill is a private practice lab for healthcare integration. It runs a real FHIR server, a real integration engine and tools that generate realistic synthetic patients, so you can break things without touching anyone's health data.
10 minQuickstartMake your first FHIR request, find a patient and create one of your own.
How-toSearch like a proParameters, modifiers, chaining, includes and paging.
How-toHL7 v2 in 15 minutesSegments, fields, delimiters and the ADT events you will see every day.
WalkthroughADT to FHIR PatientBuild the channel that turns an ADT^A04 into a FHIR Patient in HAPI.
How-toPass AU CoreFix a Synthea patient until the validator reports zero errors.
NewThe IG labExplore AU Core profiles, validate against them, and practise on a strict mock server.
NewSMART on FHIR, for realLaunch an app from an OpenEMR patient chart and watch the whole OAuth flow.
ProgramThe drillsSix stages, each with a pass/fail test, from REST basics to connectathon-ready.
What's in the lab#
| Component | What it is | Where |
|---|---|---|
| HAPI FHIR 8.12 | Open-source FHIR R4 server backed by PostgreSQL 17 | https://fhir.fhirdrill.dev/fhir · LAN http://192.168.1.181:8080/fhir |
| Open Integration Engine 4.5.2 | Open-source continuation of Mirth Connect for HL7 v2 and other message flows | Administrator at https://192.168.1.181:8443 (LAN only) |
| Synthea | Generates lifelike synthetic patients as FHIR bundles | ~/fhir-lab/synthea |
| FHIR Validator CLI | The official HL7 validator, preset to AU Core 2.0.0 | ~/fhir-lab/validator |
| HL7 sender | Turns a Synthea patient into an ADT^A04 and sends it over MLLP | ~/fhir-lab/hl7 |
| Cloudflare Tunnel + Access | Publishes the FHIR server behind an email-code login | fhirlab tunnel |
Synthetic data only
Never load real patient data into this lab, not even "just to test". The lab is built for practice: it has no audit log, no backups and only a single login gate.
How these docs are organised#
- Get started: orientation, endpoints and a quickstart.
- FHIR API: task-focused how-tos for the REST API, from basic reads to bulk export.
- Data: generating, loading and resetting synthetic data.
- Profiles & validation: implementation guides, AU Core and the validator.
- HL7 v2 & integration: the message format, MLLP and building channels in the engine.
- Terminology: SNOMED CT-AU, AMT, LOINC and terminology operations.
- Security: how the lab is protected and how to call it from outside.
- Operate the lab: stacks, upgrades, the tunnel, backups and troubleshooting.
- Drills and Reference: the practice program, cheat sheets and a glossary.
Search everything
Press Ctrl K (or /) on any page to search every heading and code sample.