nHapi 3.0.0-preview.3

Prefix Reserved
This is a prerelease version of nHapi.
There is a newer version of this package available.
See the version list below for details.
dotnet add package nHapi --version 3.0.0-preview.3                
NuGet\Install-Package nHapi -Version 3.0.0-preview.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nHapi" Version="3.0.0-preview.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nHapi --version 3.0.0-preview.3                
#r "nuget: nHapi, 3.0.0-preview.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install nHapi as a Cake Addin
#addin nuget:?package=nHapi&version=3.0.0-preview.3&prerelease

// Install nHapi as a Cake Tool
#tool nuget:?package=nHapi&version=3.0.0-preview.3&prerelease                

Build Status Test Coverage

nHapi

NHapi is a .NET port of the original Java project HAPI.

NHapi allows Microsoft .NET developers to easily use an HL7 2.x object model. This object model allows for parsing and encoding HL7 2.x data to/from Pipe Delimited or XML formats. A very handy program for use in the health care industry.

This project is NOT affiliated with the HL7 organization. This software just conforms to the HL7 2.x specifications.

Key Benefits

  • Easy object model
  • Microsoft .NET 3.5 and netstandard2.0 library that conforms to HL7 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.5, 2.5.1, 2.6, 2.7, 2.7.1, 2.8 and 2.8.1 specifications
  • Can take a pipe delimited or XML formatted HL7 2.x message and build the C# object model for use in code
  • Can take the C# HL7 object model and produce pipe delimited or XML formatted HL7
  • FREE! (You can't beat that price) and open source
  • Fast

Requirements

NHapi currently targets .NET Framework 3.5 and netstandard2.0.

Getting Started

The easiest way to get started using nHapi is to use the NuGet package 'nHapi':

Using the package manager console within visual studio, simply run the following command:

PM > Install-Package nHapi

Or Using the .NET Cli

dotnet add package nHapi

Change Log

If you use nHapi you may find the following projects useful:

  • NHapiTools - Many useful extension methods, helper methods for listening on MLLP/TCP, generating ACK messages, custom segments, validation rules, too many features to list here.
  • HL7Fuse - HL7 Message Hub / Integration Engine
  • HL7-dotnetcore - Lightweight library for building and parsing HL7 2.x messages, for .Net Standard and .Net Core. It is not tied to any particular version of HL7 nor validates against one.

Should you know of any other projects that use or improve nHapi please let me know or send a pull request with a link to the project and I'll be happy to add it to the list.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on nHapi:

Package Downloads
NHapiTools

The NHapiTools are tools that will make using NHapi (the open source .Net HL7 implementation) easier. NHapi has a steep learning curve and not everything works as easy as it should. NHapiTools aims to improve that without tampering with NHapi source code.

SanteDB.Messaging.HL7

Allows SanteDB iCDR to accept HL7 messages.

Slh.Protocols.Hl7

HL7 engine for Synlab services

ObservationReporter

Library for sending observations in the form of HL7v2 ORU^R01^ORU_R01 messages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.2.2 278,258 1/24/2023
3.2.0 10,397 1/20/2023
3.1.1 191,627 2/19/2022
3.1.0 33,785 1/1/2022
3.0.4 43,010 8/11/2021
3.0.3 6,837 8/10/2021
3.0.2 58,201 8/9/2021
3.0.0 23,105 6/28/2021
3.0.0-preview.3 313 6/2/2021
3.0.0-preview.2 1,278 1/30/2021
3.0.0-preview.1 8,243 11/2/2020
2.5.0.6 538,170 9/13/2016
2.5.0.5 14,035 7/27/2016
2.5.0.4 7,455 7/15/2016
2.5.0.3 8,660 7/15/2016
2.5.0.2 9,566 7/15/2016
2.4.0.20 97,732 7/13/2016
2.4.0.19 1,787 7/13/2016
2.4.0.18 1,923 7/13/2016
2.4.0.17 1,819 7/12/2016
2.4.0.16 1,784 7/12/2016
2.4.0.15 2,934 6/10/2016
2.4.0.14 2,146 6/9/2016
2.4.0.13 2,306 5/19/2016
2.4.0.12 5,404 4/6/2016
2.4.0.11 66,743 4/23/2015
2.4.0.10 3,618 3/12/2015
2.4.0.9 1,847 3/2/2015
2.4.0.8 1,829 3/2/2015
2.4.0.7 2,076 2/21/2015
2.4.0.6 2,115 2/21/2015
2.4.0.5 1,752 2/19/2015
2.4.0.4 4,626 2/9/2015
2.4.0.3 3,267 1/28/2015
2.4.0.2 1,809 1/28/2015
2.4.0.1 13,305 4/9/2014
2.4.0 42,170 4/7/2014
2.0.0 2,147 4/7/2014