hl7-v2-parser
OpenClaw skill for parsing HL7 v2 text messages (MSH|...) into normalized JSON.
Why this exists
- •Demonstrates legacy clinical interoperability handling in a modern agent workflow.
- •Provides deterministic segment/field extraction for routing and mapping.
- •Uses strict zod validation to prevent malformed parser input.
Inputs
- •
message: HL7 v2 payload string, segment-delimited by newline (\n) or carriage return (\r).
Output
- •JSON object with:
- •
ok: boolean - •
parsed: structured representation includingmessageType,triggerEvent,version, and raw segment fields.
- •
Demo Note
This skill is synthetic-only and publish-safe. Do not include real patient identifiers in public examples.