Metadata-Version: 2.4
Name: hl7apy
Version: 1.4.0b1
Summary: HL7apy: a lightweight Python library to parse, create and handle HL7 v2.x messages
Author-email: Daniela Ghironi <ghiron@gmail.com>, Vittorio Meloni <vittorio.meloni@crs4.it>, Alessandro Sulis <alessandro.sulis@crs4.it>, Federico Caboni <federico.caboni@me.com>
License-Expression: MIT
Project-URL: Homepage, https://crs4.github.io/hl7apy/
Project-URL: Documentation, https://crs4.github.io/hl7apy/
Project-URL: Source, https://github.com/crs4/hl7apy
Project-URL: Issues, https://github.com/crs4/hl7apy/issues
Keywords: HL7,Health Level 7,healthcare,python
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Healthcare Industry
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

HL7apy is a lightweight Python package to intuitively handle [HL7](http://www.hl7.org) v2 messages according to HL7 specifications.

The main features includes:

 * Message parsing
 * Message creation
 * Message validation following the HL7 xsd specifications
 * Access to elements by name, long name or position
 * Support to all simple and complex datatypes
 * Encoding chars customization
 * Message encoding in ER7 format and compliant with MLLP protocol
 * Support to message profile
 * Support to Z-Elements
 * Simple MLLP server implementation

Currently supported HL7 versions are: 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.5, 2.5.1, 2.6, 2.7, 2.8, 2.8.1, 2.8.2

This project is not affiliated with the HL7 organization: the library is just consistent with their specification.

Documentation can be found [here](http://crs4.github.io/hl7apy/).

Installation
------------

HL7apy is platform independent and supports Python 3.9 and later

To install it get the latest release from [GitHub](https://github.com/crs4/hl7apy/releases) and, from its root directory, launch the following command:

```bash
  pip install .
```

Alternatively you can use pip to install it from [PyPI](https://pypi.python.org/pypi/hl7apy/)

```bash
  pip install hl7apy
```

[![Python Tests](https://github.com/crs4/hl7apy/actions/workflows/run_tests.yml/badge.svg)](https://github.com/crs4/hl7apy/actions/workflows/run_tests.yml)

[![Coverage Status](https://coveralls.io/repos/github/crs4/hl7apy/badge.svg?branch=master)](https://coveralls.io/github/crs4/hl7apy?branch=master)

External Links
--------------

Michael Sarfati wrote an interesting 2-parts article on his blog about HL7apy with useful examples and tutorials. 
You can read it [here](https://msarfati.wordpress.com/2015/06/20/python-hl7-v2-x-and-hl7apy-introduction-and-parsing-part-1/). 
Thanks a lot Michael for your contribution.


License
-------

HL7apy is released under the MIT License.

Copyright (c) 2012-2018, CRS4

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Acknowledgments
---------------

This work has been partially funded by the following sources:

  * the “Processing, Analysis, Exploration, and Sharing of Big and/or Complex Data” (XDATA) project (grant by the Sardinian Regional Authority);
  * the “Data intensive Computing Forward Research Activities” (DIFRA) project (grant by the Sardinian Regional Authority).
