linkorb/lib-hl7v2

HL7v2 Parsing and Generation library

v4.3.0 2019-09-18 13:27 UTC

README

NOTE: This project is work in progress, the API will change

Build Docker Image

A docker image is available for ease of development. The image contains PHP 7.2 and Composer.

$ docker build -t lib-hl7v2-dev .

Then you can do, for example:-

$ ./run php meta/generateSegments.php
$ ./run vendor/bin/phpunit
$ ./run composer require ...

Code generation

This library uses code generation to generate classes for HL7 DataTypes and Segments from YAML definition files. Documentation, definitions and generator scripts can be found in the meta/ directory.

More info and utilities