HL7apy

解析、创建和处理 HL7 v2 信息的 Python 库。「Python library to parse, create and handle HL7 v2 messages.」

  • Owner: crs4/hl7apy
  • Platform: Windows,Linux,Mac
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

HL7apy is a lightweight Python package to intuitively handle HL7 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

Current version is 1.3.3

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

Documentation can be found here.

Installation

HL7apy is platform independent and supports Python 2.7 and Python 3.4, 3.5, 3.6, 3.7

To install it get the latest release from GitHub and launch the following command:

  python setup.py install

Alternatively you can use pip to install it from PyPI

  pip install hl7apy

Build Status

Code Health

Coverage Status

Michael Sarfati wrote an interesting 2-parts article on his blog about HL7apy with useful examples and tutorials.
You can read it here.
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.

Main metrics

Overview
Name With Ownercrs4/hl7apy
Primary LanguagePython
Program languagePython (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2013-08-09 15:14:41
Pushed At2025-02-20 09:43:10
Last Commit At2025-02-20 10:41:10
Release Count14
Last Release Namev1.3.5 (Posted on 2024-03-13 12:12:44)
First Release Namev1.0.0-rc.1 (Posted on )
用户参与
Stargazers Count247
Watchers Count30
Fork Count90
Commits Count266
Has Issues Enabled
Issues Count97
Issue Open Count23
Pull Requests Count24
Pull Requests Open Count9
Pull Requests Close Count14
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private