linkorb / lib-hl7v2
HL7v2 Parsing and Generation library
v4.4.0
2019-09-25 12:15 UTC
Requires
- symfony/console: ^3.2
Requires (Dev)
- digilist/dependency-graph: ^0.3.0
- memio/memio: ^2.0
- phpunit/phpunit: ^4.8
- symfony/finder: ^4.3
- symfony/var-dumper: ^3.2
- symfony/yaml: ^3.2
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.