@amida-tech/blue-button-hl7

1.0.4 • Public • Published

Blue Button HL7

HL7 to Blue Button JSON translation

NPM

Build Status Coverage Status

Quick up and running guide

Prerequisites

  • Node.js (v14.19+) and NPM
  • Grunt.js
# Install dependencies
npm i

# Install grunt
npm i -g grunt

# Test
grunt

Usage

var fs = require('fs');
var tr = require('./index.js');

//var data = fs.readFileSync('../hl7/test/fixtures/isabella_jones_lipid_panel.txt').toString().split("\n").join("\r");
var data = fs.readFileSync('../hl7/test/fixtures/isabella_jones_multiple_tests.txt').toString().split("\n").join("\r");

var bb = tr.translate(data);

//Print Blue Button JSON result
console.log(JSON.stringify(bb, null, 4));

Contributing

Contributors are welcome. See issues https://github.com/amida-tech/blue-button-hl7/issues

Release Notes

See release notes here

License

Licensed under Apache 2.0

Package Sidebar

Install

npm i @amida-tech/blue-button-hl7

Weekly Downloads

20

Version

1.0.4

License

Apache-2.0

Unpacked Size

25.5 kB

Total Files

15

Last publish

Collaborators

  • manhydra