Guides

Guides

One task per page, each with the API calls that do it and the reasoning behind the choices these crates make. Guides assume you have read the quick start; they do not assume you have read each other.

Working with a v2 message

The five guides that cover the life of a message inside your process: getting it in, finding things in it, changing it, checking it, and teaching the parser a dialect it does not know.

Moving messages around

Getting a message to or from another system — over a socket, over HTTP, or into a format something downstream can read.

The other standard

A suggested reading order

If you are integrating a new v2 feed and want to read straight through, this is the order the work usually happens in:

  1. Parsing — pick a mode. Almost everyone starts in generic mode whether they mean to or not.
  2. Navigating — learn the path grammar. Everything else takes paths.
  3. Validating — decide what you will reject, before a bad message decides for you.
  4. Vendor dictionaries — the first time the sender's Z-segments matter.
  5. Struct mode — once the interface has held still long enough to trust.
  6. Modifying and building — because a system that reads HL7 almost always has to answer in it.
  7. MLLP or SOAP — whichever the far end speaks.

For longer, start-to-finish walkthroughs of the same ground, see Tutorials. For short copyable snippets with no prose around them, see Examples.