# HL7
Health Level Seven (HL7) for Rust, organized by standard: one module per
release family, so a "message", a "segment", or a "code" in one standard is
never confused with the same word in another.
```
hl7 this crate: re-exports one module per standard
|
+-- hl7::v2 = hl7-2 HL7 v2, releases 2.1-2.9 — parse, navigate,
validate, modify, and render, in three modes:
generic, schema-based, and struct-based
```
Today that's just `hl7::v2`. Room is left for `hl7::v3` and `hl7::fhir` as
those standards get implemented, each its own crate underneath, re-exported
here the same way.
## Install
```sh
cargo add hl7
cargo add hl7 --features derive # pulls in hl7-2's derive macros
```
Depend on [`hl7-2`](https://github.com/hl7-rust/hl7-rust/tree/main/hl7-2) directly instead if
you specifically want v2 with no umbrella indirection — this crate is
nothing but a thin re-export (`pub use hl7_2 as v2;`) plus room for future
standards.
## Use
```rust
use hl7::v2;