A Windows desktop application for parsing, viewing, and analyzing HL7 (Health Level 7) messages. Built with WPF and .NET Framework 4.0.
- Open and save HL7 message files (
.hl7) - Edit HL7 messages with a built-in text editor
- Parse messages directly from the editor
- Parses HL7 v2.x messages into a hierarchical tree view
- Breaks down messages into segments, fields, and components
- Displays field IDs, names, content, and descriptions
- Supports HL7-defined separators and encoding characters
- Browse HL7 segment and field definitions
- Supports HL7 v2.3 and v2.5 data dictionaries
- Search/filter fields by segment name or description
- Capture live network traffic on a selected interface
- Decode IP, TCP, UDP, ICMP, and DNS packets
- Filter captured packets by protocol
- Save packet captures for later analysis
- Requires administrator privileges
- Windows OS
- .NET Framework 4.0 (Client Profile)
- Administrator privileges (for the Network Sniffer feature)
Open HL7Parser.csproj in Visual Studio and build the solution. The project targets x86 platform.
- Editor Tab - Paste or open an HL7 message, then click the Parse button to analyze it.
- Parser Tab - View the parsed message as an expandable tree structure with field-level detail.
- Data Source Tab - Select an HL7 version and browse the segment/field dictionary. Use the search box to filter.
- Network Snoop Tab - Select a network interface, start capture, and view live TCP/UDP traffic (requires admin).
HL7Parser/
├── Controls/ # Custom WPF user controls (SnoopControl, XmlViewer)
├── Data/
│ ├── Dictionary/ # HL7 field definitions and lookup
│ └── HL7/ # HL7 message parsing (Message, Segment, Field, Component)
├── DataSources/ # HL7 v2.3 and v2.5 segment definition XML files
├── Extensions/ # IEnumerable extension methods
├── Helpers/ # RelayCommand, EnumHelper utilities
├── Images/ # Toolbar and UI icons
├── Network/ # Packet capture and protocol decoding
│ └── Decodes/ # Protocol decoders (IP, TCP, UDP, ICMP, DNS)
├── ViewModels/ # MVVM view models
├── MainWindow.xaml # Main application window
└── HL7Parser.csproj # Project file
All rights reserved.