Hi,
I'm trying to capture an HL7 message and validate it.
I'm running the following:
# tshark -i eth0 -l -Y hl7 -T ek -e hl7.field
I'm getting data such as:
{"timestamp":"1699963629656","layers":{"hl7_field":["MSH","^~\\&","115","HGN","65","HGN","20231114130709","ADT^A31^ADT_A05","42868463","P","2.7","AL","NE","UNICODE UTF-8","EVN","A31","20231114130702","HL7_sip^^^^^^^^^^^^^^^10.0.1.9","PID","1","14474681^^^041^PI~38535869499^^^001~14474681^^^041~07/00700190-91^^^015","MY^NAME^NAME","&&NAME","20230827000000","F","&AV/ STREET^^7046^7^07820^724^^14","^^PH^^^^123456789~^^CP^^^^123456789","SOME PLACE","N","00000000000000","PV1","N"]}}
I am unable to validate the HL7 data with online validation tools.
I take it I need to use the | separator for each field value.
How can I make sure the captured HL7 message data is "correct"?
Regards