25 releases (6 breaking)
| 0.9.0 | Feb 8, 2026 |
|---|---|
| 0.8.11 | Jan 27, 2026 |
| 0.8.3 | Nov 5, 2025 |
| 0.7.3 | Jun 23, 2025 |
| 0.1.1 | Nov 24, 2024 |
#829 in Science
Used in 2 crates
575KB
7K
SLoC
Rumtk-HL7-V2
Rust's Universal Medical Toolkit is a toolkit being developed to put together a set of tools and libraries to facilitate communication and automation in medicine.
Goal
- To create a simple toolkit with the necessary libraries, dependencies, and utilities for managing bridging HL7 V2 Medical IT infrastructure to FHIR based systems.
- Also, I would like the project to be accessible to hospitals to enable interoperability between systems. I plan to package it for package managers and containers.
- The toolkit will focus on increasing security and simplicity with the first step taken by starting the project using Rust.
- The toolkit shall foster reliability and will make attempts to be as strictly standards compliant as possible. Strictness may be relaxed later once the project sees use in the wild.
Features
- HL7 v2 Library
- Parser
- HL7 v2 Sanitize Segment Separator (\n\r, \n) => \r
- HL7 v2 Escape Sequences Support
- HL7 v2 Repeating Field Support
- HL7 v2 UTF-8/Unicode Support
- HL7 v2 Encodings to UTF-8 Conversion
- Hl7 v2 Message to JSON Serialization Support
- HL7 v2 Component Searching (<segment>(<subgroup>)<field>[sub_field].<component>)
- HL7 v2 Primitive Types
- HL7 v2 Component Optionality
- HL7 v2 Complex Types (aka structs)
- HL7 v2 Tables + Validation
- HL7 v2 Complex traits
- HL7 v2 Base Message to HL7 Type casting
- HL7 v2 Custom Message Overrides
- HL7 v2 Message Validator
- HL7 v2 Message to ASCII Message Generation
- HL7 v2 Message Python Bindings
- MLLP
- Protocol
- Client
- Server
- Tests
- Fuzz Targets
- Parser
Contributing
In its initial stages, I will be pushing code directly to the main branch. Once basic functionality has been stablished, everyone including myself is required to open an issue for discussions, fork the project, and open a PR under your own feature or main branch. I kindly ask you include a battery of unit tests with your PR to help protect the project against regressions. Any contributions are very appreciated.
Dependencies
~20MB
~399K SLoC