Skip to content

Instantly share code, notes, and snippets.

@molsches
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save molsches/723ad1b10d129ce89291 to your computer and use it in GitHub Desktop.
Save molsches/723ad1b10d129ce89291 to your computer and use it in GitHub Desktop.
  1. Have Python 2.7 installed

  2. Install pip.

  3. Extract hl7python into a directory

  4. pip install virtualenv will install virtualenv

  5. cd into the hl7python directory

  6. Start virtualenv: source venv/bin/activate

  7. Install the hl7 package: pip install hl7

  8. run the script with python hl7python.py

  9. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment