HL7-helper is a parsing and generator helper application that parses the HL7 messages and Generates the HL7 messages.
Currently, we do support the parsing of the ORM_O01 and ADT_A01 message types and generation for the same following the ER-7 standard of HL7.
For the purpose of creating an application that could parse and generate the HL7 message, we have used the following tech stack:
- Javascript
- NodeJS
- redox-hl7
- pdf-lib
- xml-js
- Node version 14+
npm run generateto generate the result HL7.npm run parseto parse the HL7 files provided inordersdirectorynpm run parseXmlto parse the HL7 xml files provided inordersdirectorynpm run deidentifyto deidentify the HL7 files provided inoriginalsdirectory.
Note: Make sure you have hl7 files in the folder. Folder structure will be/originals/today_date(e.g. 20210312)/some_file.txt. You can have multiple hl7 files in the folder named as today_date. Only files that is inside folders of today date will be de-identified.
We have followed the following document for parsing and generating Hl7 messages