-
Have Python 2.7 installed
-
Install pip.
-
Extract hl7python into a directory
-
pip install virtualenv
will install virtualenv -
cd into the hl7python directory
-
Start virtualenv:
source venv/bin/activate
-
Install the hl7 package:
pip install hl7
-
run the script with
python hl7python.py
-
The script will stop after 100 loops of messages are sent, but you may wish to cancel early. You can do this with ctrl+C.
You can learn more about the tools themselves here: http://python-hl7.readthedocs.org/en/latest/ You could write some tests to combine the frameworks together to use for unit testing combining nosetests + hl7 in python.