Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.24 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.24 KB

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