🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@keepsolutions/mllp-node

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keepsolutions/mllp-node

MLLP (HL7) implementation in Node.js

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
7
16.67%
Maintainers
3
Weekly downloads
 
Created
Source

Forked from https://github.com/amida-tech/mllp because it needed to get issues fixed, namely:

  • Create a clone of the input data array prior to swapping elements

mllp

NPM

Build Status Coverage Status

HL7's MLLP (Minimum Lower Layer Protocol) server implementation in Node.js.

Listen on predefined port for HL7 messages in format:

<VT>[HL7 Message]<FS><CR>

Quick up and running guide

Prerequisites

  • Node.js (v0.10+) and NPM
  • Grunt.js
# you need Node.js and Grunt.js installed

# install dependencies and build
npm install
grunt

Usage

See example.js:

var mllp = require('mllp-node');

var server = new mllp.MLLPServer('127.0.0.1', 1234);

// Subscribe to inbound messages
server.on('hl7', function (data){
    console.log('received payload:', data);
});

// Send outbound messages
server.send('127.0.0.1', 4321, 'outbound-hl7-message', function (err, ackData) {
    // async callback code here
});

Contributing

Contributors are welcome. See issues on GitHub issues

Release Notes

See release notes [here] (./RELEASENOTES.md)

License

Licensed under Apache 2.0

Keywords

mllp

FAQs

Package last updated on 04 Feb 2020

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