Skip to content
Duane Edwards edited this page Jan 29, 2015 · 8 revisions

Usage

Encoding a message
Decoding a message

Assembly Structure

There are 9 major assemblies:

  • Hapi.Base.: assembly contains the core components for parsing/encoding messages. Contains the base classes and interfaces for datatypes, segments, and messages.
  • NHapi.Model.V21: assembly for HL7 version 2.1. Contains data types, segments, and messages that follow the HL7 2.1 schema.
  • NHapi.Model.V22: assembly for HL7 version 2.2. Contains data types, segments, and messages that follow the HL7 2.2 schema.
  • NHapi.Model.V23: assembly for HL7 version 2.3. Contains data types, segments, and messages that follow the HL7 2.3 schema.
  • NHapi.Model.V231: assembly for HL7 version 2.3.1. Contains data types, segments, and messages that follow the HL7 2.3.1 schema.
  • NHapi.Model.V24: assembly for HL7 version 2.4. Contains data types, segments, and messages that follow the HL7 2.4 schema.
  • NHapi.Model.V25: assembly for HL7 version 2.5. Contains data types, segments, and messages that follow the HL7 2.5 schema.
  • NHapi.NUnit: assembly for the unit tests for the base library and v2.x libraries.
  • NHapi.NUnit.Additional: additional unit test library.

Namespaces

  • NHapi.Base.dll:

  • NHapi.Base.Model: provides for all of the base classes for data types, messages, segments, etc

  • NHapi.Base.Parser: provides for all parsing of HL7 messages in pipe delimited and XML.

  • NHapi.Base.SourceGeneration: provides for all regeneration of the HL7 2.x schemas.

  • NHapi.Model.V2X.dll:

  • NHapi.Model.V2X.Datatype: contains the datatype (i.e. CE, TX, ST) for the HL7 2.X schema

  • NHapi.Model.V2X.Group: contains the groups for the HL7 2.X schema. Groups are used to represent groupings of message fields (i.e. ADT_A01_Insurance)

  • NHapi.Model.V2X.Message: contains the messages (i.e ADT_A01, ACK, etc) for the HL7 2.X schema.

  • NHapi.Model.V2X.Segment: contains the segments (i.e. PID, MSH, etc) for the HL7 2.X schema.