Lab setup
All run on 31 Oct 2026
These are the lab's five commands. Do the prework first: it installs the tools and downloads the two jars.
docker run -d --name hapi -p 8080:8080 hapiproject/hapi:latest
docker run -p 8443:8443 -p 6661:6661 openintegrationengine/engine
java -jar synthea-with-dependencies.jar -p 100 --exporter.fhir.use_us_core_ig=false
mllp_send --loose -f adt.hl7 -p 6661 localhost
java -jar validator_cli.jar p.json -version 4.0.1 -ig hl7.fhir.ca.baseline
Check that the FHIR server answers; it needs about a minute to start. This should print "4.0.1":
curl -s localhost:8080/fhir/metadata | jq .fhirVersion
- Loading patients. POST Synthea's bundles to HAPI in this order:
hospitalInformation*,practitionerInformation*, then the patient bundles. Week 0 shows why the order matters. - The Synthea flag.
--exporter.fhir.use_us_core_ig=falsegives plain FHIR R4. Week 0 uses it. Weeks 1, 2 and 4 leave it out, because they need the clinical notes and the US Core profiles. - OIE. Log in as admin / admin. That is for the lab only.
mllp_sendcomes withpip install hl7.- Canadian patients. Put synthea-international's
ca/first on the classpath; week 1 shows the command.
How this was tested (31 Oct 2026)
| Tool | Version | What we ran |
|---|---|---|
| HAPI FHIR server | hapiproject/hapi:latest (8.12.0), Oct 2026 | Kata target; plain POST vs. conditional PUT; the labs for weeks 0 and 2–6 |
| Open Integration Engine | 4.5.2 | MLLP channel deployed via its REST API; ACK behaviour; one compose file with HAPI and the week 3 bridge |
| FHIR validator | 7.0.3 | US Core 9.0.0; CA Baseline 1.1.0 and 1.2.0 |
| Synthea | Master build, Oct 2026, plus synthea-international ca/ | US and Ontario patients |
| Libraries | HAPI FHIR 8.2.0, HAPI HL7v2 2.6.0, Firely 6.8.0, fhirclient 4.4.0 and 3.0.1, python-hl7 0.4.5 (on OpenJDK 25, .NET 8, Node 20, Python 3.12) | The four katas and their extras |
Not tested yet
- The VXU stretch exercise (week 3).
- Case 1 of the broken message set (week 3).
- SMART in a browser or a real EHR (week 4).
- CDS Hooks inside an EHR (week 4).
- Bulk FHIR with backend-services authentication (week 4).
- The 1–2 h estimate for each secondary stack (week 0).
Course content © 2026 HeyItWorked. All rights reserved.
Site design adapted from The Missing Semester of Your CS Education under CC BY-NC-SA 4.0. See copyright and license.