You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-hl7-client

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-hl7-client

A pure Node.js HL7 Client that allows for communication to a HL7 Broker/Server that can send properly formatted HL7 messages with ease.It can also parse and then you can extract message segments out.

3.2.0
latest
Source
npmnpm
Version published
Weekly downloads
3.1K
3.77%
Maintainers
1
Weekly downloads
 
Created
Source

Node HL7 Client

A pure TypeScript HL7 client for Node.js enabling seamless communication with HL7 servers.

node-hl7-client is a lightweight, dependency-free library built for high-performance communication with HL7 brokers/servers. It supports sending properly formatted HL7 messages, handling responses, and working with both single and batched HL7 message formats (MSH, BHS, and FHS).

✨ Features

  • Zero External Dependencies – Ultra-fast performance with no bloat.
  • 🔁 Auto Reconnect & Retry – Automatically handles connection interruptions.
  • 🧠 TypeScript + Typed Definitions – Fully typed for modern development environments.
  • 🤝 Companion Package Available – Use alongside node-hl7-server for a complete HL7 solution.
  • 💻 Cross-Platform Support – Works on Windows, macOS, and Linux.
  • 🧭 Standards-Based – Typed builders ensure MSH, BHS, and FHS segments follow HL7.org specifications.

📦 Install

npm install node-hl7-client

📚 What's Included?

  • HL7 Client – Connects to a remote HL7 server, sends messages, and processes responses.
  • HL7 Parser – Parses raw HL7 message strings into accessible segments.
  • HL7 Builder – Builds valid HL7 messages, batches, or complete HL7 batch files.

🧾 Table of Contents

Keyword Definitions

This NPM package is designed to support medical applications with potential impact on patient care and diagnoses. This documentation, along with its peer package node-hl7-server, uses the following standardized definitions for clarity and interoperability:

Keywords such as "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are used consistently throughout the documentation. These terms retain their meaning even when not capitalized.

  • MUST – This word, or the terms "REQUIRED" or "SHALL", indicates an absolute requirement of the specification.
  • MUST NOT – This phrase, or the phrase "SHALL NOT", indicates an absolute prohibition of the specification.
  • SHOULD – This word, or the adjective "RECOMMENDED", means that there may be valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before doing so.
  • SHOULD NOT – This phrase, or the phrase "NOT RECOMMENDED", means that there may be valid reasons in particular circumstances when the behavior is acceptable or even useful. The full implications should be understood and the case carefully weighed before implementation.
  • MAY – This word, or the adjective "OPTIONAL", means that the item is truly optional. Implementations that do not include a particular option MUST still interoperate with those that do, though possibly with reduced functionality. Likewise, implementations that include an option MUST interoperate with those that do not (except, of course, for the specific feature provided by the option).

📖 Documentation

Full API documentation, usage examples, and advanced configurations are available on the project site: 🔗 https://bugs5382.github.io/node-hl7-client/

🙏 Acknowledgements

📄 License

MIT © LICENSE

Keywords

hl7

FAQs

Package last updated on 28 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.