Sublime Text Versions 2 & 3 syntax highlighting for HL7 content.
Most commonly used HL7 message types include:
- ACK – General acknowledgement
- ADT – Admit, Discharge, Transfer
- BAR – Add/change billing account
- DFT – Detailed financial transaction
- MDM – Medical document management
- MFN – Master files notification
- ORM – Order (Pharmacy/treatment)
- ORU – Observation result (unsolicited)
- QRY – Query, original mode
- RAS – Pharmacy/treatment administration
- RDE – Pharmacy/treatment encoded order
- RGV – Pharmacy/treatment give
- SIU – Scheduling information unsolicited
Corepoint link below.
Sublime Text 2:
git clone https://github.com/cjohnson496/HL7-Syntax-Highlighting \
~/Library/Application\ Support/Sublime\ Text\ 2/Packages/sublime-hl7-syntax
Sublime Text 3:
git clone https://github.com/cjohnson496/HL7-Syntax-Highlighting \
~/Library/Application\ Support/Sublime\ Text\ 3/Packages/sublime-hl7-syntax
First, install the Package Control plugin, instructions here: https://packagecontrol.io/installation.
Once you install Package Control, restart Sublime Text and bring up the Command Palette (command+shift+p on OS X, super+shift+p on Linux/Windows).
Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select "HL7 Redux" when the list appears.
File types ending in .edi or .hl7 should automatically have syntax highlighting applied, if not use the following commands to set syntax to HL7:
- Linux: super+shift+p, then type ss hl7
- Windows: super+shift+p, then type ss hl7
- OS X: command+shift+p, then type ss hl7
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
