This is a dotNet software library that aims to make the generation of HL7 Medical Document Messages (MDM) easy and encapsulates validation logic to ensure that the hl7 MDM message is valid

This software library contains hl7 MDM objects (Eg. PV1, OBX, MSH etc); these objects are wrapped up within a HL7Model object. 


Setup
=====

- To build the distributable package, Visual Studio 2008 must be installed.
- Start up MedicalDocumentManagement.sln
- For documentation on the MDM library, refer to Help/Index.html.


Solution
========

The solution consists of several projects, however the main project is the MDM.Generator project. This project contains the code to generate and return an HL7 MDM message.

MDM:
The 'MDM.Sample' project contains sample code for the MDM library, and is designed as an introduction to the NEHTA HL7 MDM library
     
MDM.Sample: Sample code for the MDMlibrary.

Common: The 'Nehta.VendorLibrary.Common' project contains helper libraries common across all NEHTA vendor library components.


Building and using the library
==============================

The solution can be built using 'ctrl-shift-b'. The compiled assembly can then be referenced where ever a CDA document is required to be conStructured or referenced.


Library Usage
============

Detailed class documentation can be found in "Help/Index.html".

  
Licensing
=========
Copyright 2011 NEHTA

Licensed under the NEHTA Open Source (Apache) License; you may not use this file except in compliance with the License. A copy of the License is in the 'license.txt' file, which should be provided with this work.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
