All Projects → evanlucas → nodengine-hl7

evanlucas / nodengine-hl7

Licence: MIT license
HL7 parser for nodengine

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nodengine-hl7

Machete
Cut through the Crap, with Machete, a text parser, object mapper, and query engine.
Stars: ✭ 39 (+69.57%)
Mutual labels:  hl7, hl7-parser
HL7
PHP library for Parsing, Generation and Sending HL7 v2 messages
Stars: ✭ 135 (+486.96%)
Mutual labels:  hl7, hl7-parser
CyFHIR
A Neo4j Plugin for Handling HL7 FHIR Data
Stars: ✭ 39 (+69.57%)
Mutual labels:  hl7
HL7-dotnetcore
Lightweight HL7 C# parser and composer compatible with .Net Core and .Net Standard
Stars: ✭ 150 (+552.17%)
Mutual labels:  hl7
HL7-Powershell-Module
HL7 PowerShell Module
Stars: ✭ 18 (-21.74%)
Mutual labels:  hl7
smolder
HL7 Apache Spark Datasource
Stars: ✭ 33 (+43.48%)
Mutual labels:  hl7
fhirpath
FHIRPath implementation in Python.
Stars: ✭ 25 (+8.7%)
Mutual labels:  hl7
hospitalrun-core
All elements shared between Frontend and Backend, including CouchDB design-documents and schemas.
Stars: ✭ 36 (+56.52%)
Mutual labels:  hl7
firely-net-common
The official Firely .NET SDK for HL7 FHIR - Contains common code for all FHIR versions
Stars: ✭ 31 (+34.78%)
Mutual labels:  hl7
fhir-works-on-aws-persistence-ddb
A DynamoDB implementation of the FHIR Works on AWS framework, enabling users to complete CRUD operations on FHIR resources
Stars: ✭ 24 (+4.35%)
Mutual labels:  hl7
qpp-conversion-tool
Conversion tool for QPP, particularly focused on QRDA3 -> QPP, built by Flexion.
Stars: ✭ 32 (+39.13%)
Mutual labels:  hl7
NextLevelSeven
A fast and simple library for Health Level Seven (HL7) v2 messages.
Stars: ✭ 20 (-13.04%)
Mutual labels:  hl7
cql
Clincal Quality Language Specification
Stars: ✭ 16 (-30.43%)
Mutual labels:  hl7
php-fhir
Tools for consuming data from a FHIR server with PHP
Stars: ✭ 87 (+278.26%)
Mutual labels:  hl7
hl7v2-fhir-converter
Converts HL7 v2 Messages to FHIR Resources
Stars: ✭ 40 (+73.91%)
Mutual labels:  hl7
redox-hl7-v2
Redox's in-house HL7v2 parser/generator
Stars: ✭ 28 (+21.74%)
Mutual labels:  hl7-parser

nodengine-hl7

Build Status Coverage Status

A hl7 parser

Installation

$ npm install --save nodengine-hl7

or install globally for the CLI tool

$ npm install -g nodengine-hl7
$ ne-hl7 --help
ne-hl7 - a streaming parser for hl7 messages

    usage: ne-hl7 [options]

    options:

      -h, --help                  show help and usage
      -l, --loglevel <level>      set log level
      -f, --file <file>           parse file
      -s, --segments              only show segment types
      -c, --count                 print message count
      -j, --json                  output in json
      -v, --version               show version

Unit Tests

To run tests:

$ npm test

NOTE: All hl7 test fixtures are samples taken from various places on the internet

API

Parser

Constructor


Message

Constructor

Params
Name Type(s) Description
segments Array, Segment A single Segment or an array of Segments

Message.hasSegments()

Does this message have any segments?


Message.addSegment()

Adds the given segment to the message

Params
Name Type(s) Description
segment Segment The Segment to add to the message

Message.getHeader()

Gets the header Segment of the Message


Message.delimiters()

Gets the delimiters for the given message. These are taken from the MSH


Segment

Constructor


Segment.parse()

Parses data as a hl7 segment

Params
Name Type(s) Description
data Buffer, String The segment

utils.segmentIsHeader()

Is the given segment a header segment?

Params
Name Type(s) Description
segment Segment A Segment object

utils.segmentTypeIsHeader()

Is the given segment type a header segment?

Params
Name Type(s) Description
type String The segment type

License

MIT (See LICENSE for more info)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].