nhapi.base 3.1.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 2.0 .NET Framework 3.5
There is a newer version of this package available.
See the version list below for details.
dotnet add package nhapi.base --version 3.1.0
NuGet\Install-Package nhapi.base -Version 3.1.0
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.base" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nhapi.base --version 3.1.0
#r "nuget: nhapi.base, 3.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install nhapi.base as a Cake Addin
#addin nuget:?package=nhapi.base&version=3.1.0

// Install nhapi.base as a Cake Tool
#tool nuget:?package=nhapi.base&version=3.1.0

Build Status Codacy Badge Codacy Badge

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 which aims to provide support for projects which target .NET Framework 3.5 and above as well as .NET Core 2.0 and above.

Getting Started

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

Package Manager Console

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

PM > Install-Package nhapi

.NET CLI

From your console of choice assuming you have dotnet core installed.

> dotnet add package nhapi

For more options please read the Getting Started page of the wiki.

Change Log

nHapi 3.0.0 Announcement

nHapi 3.0.0 has been officially released, the main change for this release is support for netstandard2.0, but it also has other enhancements and bug fixes. Please read the change log below for full details of and how they might affect you prior to upgrading.

Full 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.
  • Reimers IHE Communication - Provides support for both client side and server side HL7 transaction management.

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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on nhapi.base:

Package Downloads
nhapi.model.v251 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains the data types, segments, and messages that follow the HL7 2.5.1 schema.

nhapi.model.v23 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains the data types, segments, and messages that follow the HL7 2.3 schema.

nhapi.model.v25 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains the data types, segments, and messages that follow the HL7 2.5 schema.

nhapi.model.v281 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains the data types, segments, and messages that follow the HL7 2.8.1 schema.

nhapi.model.v271 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains the data types, segments, and messages that follow the HL7 2.7.1 schema.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.1 3,593 2/19/2022
3.1.0 5,091 1/1/2022
3.0.4 2,478 8/11/2021
3.0.3 191 8/10/2021
3.0.2 5,765 8/9/2021
3.0.0 1,554 6/28/2021