/HL7-V2

Lightweight HL7 V2 parser and composer for modern C# / .NET applications

Primary LanguageC#MIT LicenseMIT

HL7-V2

NuGet downloads github build

This is a lightweight library for composing and parsing HL7 2.x messages, for modern .NET applications.

It is not tied to any particular version of HL7 nor validates against one.

Usage and compatibility

This library is distributed via nuget and targets two frameworks:

  • .NET Standard 2.0 for maximum compability, covering more than 40 .NET frameworks
  • .NET 8.0 for better performance under the new Microsoft's cross-platform framework

For using the classes and methods mentioned below, declare de following namespace:

using Efferent.HL7.V2;

Documentation

Read the full documentation in the wiki page.

Credits

This library has taken Jayant Singh's HL7 parser as its foundation: https://github.com/j4jayant/hl7-cSharp-parser

The field encoding and decoding methods have been based on: https://github.com/elomagic/hl7inspector