Decision Workspace
hl7-3 vs hl7-2-xml-lite-helper vs hl7-3-derive
Side-by-side comparison of Rust crates
HL7® v3 for Rust: the Reference Information Model (RIM) backbone classes, the data types they're built from (identifiers, coded values, intervals, quantities, encapsulated data, explicit null), and the three-level message envelope (transport wrapper, control act wrapper, domain payload). A foundation, not a full implementation — see spec/index.md for exact scope. HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7. This project is an independent work.
A small, dependency-free XML reader shared by the hl7-2 crates: elements, attributes, text, and nesting, for documents whose shape you already know, with namespace prefixes ignored rather than resolved. A helper for that family rather than a general-purpose parser. HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7. This project is an independent work.
Derive macro for the hl7-3 crate: #[derive(FromElement)] maps struct fields to Health Level Seven (HL7®) version 3 (v3) XML element attributes and children. Used through hl7-3's `derive` feature, not directly. HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7. This project is an independent work.
Core Metrics
| hl7-3 | hl7-2-xml-lite-helper | hl7-3-derive | |
|---|---|---|---|
| Health Score | 46 | 50 | 49 |
| Total Downloads | 219 | 355 | 134 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 10 | 36 | 8 |
| Releases | 9 | 7 | 7 |
| Last Updated | 41d ago | 41d ago | 41d ago |
| Age | 1m | 1m | 1m |
Health Breakdown
Technical Details
| hl7-3 | hl7-2-xml-lite-helper | hl7-3-derive | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only |
| Dependencies | 2 | 1 | 3 |
| Crate Size | 21KB | 16KB | 9KB |
| Features | 2 | 0 | 0 |
| Yanked % | 22.2% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.96 | 1.96 | 1.96 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hl7-2-xml-lite-helper leads with a health score of 50/100, but none of the options score above 80.