Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 604 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 604 Bytes

HL7 Parsers

This is a basic hl7 parser that takes the sample_1.hl7 file that is in the root. The script will parse the file and will create json representation and write the content in a file called data.json. If the data.json already exists in the root directory, delete the file.

  1. To run the script open the terminal and cd to the directory you clone the repo.
  2. Make sure you delete the data.json file.
  3. Run the command... python parser.py
  4. The app will prompt to enter the file name to parse...
  5. Enter the file name sample_1.hl7.
  6. Open the data.json that got created.