synthhl7
v0.1.0
Published
Generate realistic, scenario-driven synthetic FHIR R4 bundles and HL7v2 messages for integration testing.
Maintainers
Readme
synthhl7
Generate realistic, scenario-driven synthetic FHIR R4 bundles and HL7v2 message sequences for integration testing. No PHI, ever — 100% synthetic.
# coherent ADT/ORU feed: ED registration → admit → labs → discharge
npx synthhl7 generate --preset chf-ckd-admit --format hl7v2 --profile dirty
# the same scenario, same patient, as a FHIR R4 transaction bundle
npx synthhl7 generate --preset chf-ckd-admit --format fhir --seed 42
# list preset scenarios
npx synthhl7 presetsSame seed → byte-identical output, so generated fixtures are CI-stable.
Noise profiles (clean | epic-like | cerner-like | dirty) inject the real-world mess your interface engine actually sees: uppercase names, duplicate local-authority MRNs, missing reference ranges, minute-precision timestamps.
Point the CLI at your API instance with --api <url> or SYNTHHL7_API_URL. API keys via SYNTHHL7_API_KEY.
MIT licensed.
