HL7 Message is not getting fully parsed under HL7 viewer - OpenEmr


(system) #1

khushboosaini wrote on Wednesday, March 08, 2017:

Iam trying to parse HL7 message under HL7 viewer (admin -> practice -> hl7 viewer), but every time it is parsing incomplete HL7 message only till MSH and EVN.

Error Iam getting is : MSH|^~&|ADT1|CUH|LABADT|CUH|198808181127|SECURITY|ADT^A01|MSG00001|P|2.3|
EVN|A01|198808181122||
PID|||PATID1234^5^M11||RYAN^HENRY^P||19610615|M||C|1200 N ELM STREET^^GREENSBORO^NC^27401-1020|GL|(919)379-1212|(919)271-3434 ||S||PATID12345001^2^M10|123456789|987654^NC|
NK1|JOHNSON^JOAN^K|WIFE||||||NK^NEXT OF KIN
PV1|1|I|2000^2053^01||||004777^FISHER^BEN^J.|||SUR||||ADM|A0|

Error I am getting is :
Error: Message type PV1 is currently unhandled

MSH
country_code:
application_ack_type:
accept_ack_type:
confirmation_pointer:
sequence_number:
version_id: 2.3
processing_id: P
message_control_id: MSG00001
message_type: ADT^A01
security: SECURITY
message_datetime: 198808181127
receiving_facility: CUH
receiving_application: LABADT
sending_facility: CUH
sending_application: ADT1
encoding_characters: ^~&
EVN
operator_id:
event_reason:
event_planned: 198808181122
event_datetime: A01
event_type_code:

I want the full message to be parsed.What can be the reason.
Please, help.
Thanks in advance.

(system) #2

visolveemr wrote on Thursday, March 09, 2017:

Hi Khushboo,

Currently OpenEMR Hl7 viewer supports MSH and EVN HL7 Segments only.
Other HL7 segments need to be implemented.

Visolve


(system) #3

cmswest wrote on Friday, March 10, 2017:

here’s an online resource:
http://pathology.healthbase.info/viewer/


(Wayne Roznak) #4

Are they currently working on the segments to be implemented.
Like:
PID
PV1
ORC
OBR
OBX
NTE
ZEF

These are some major segments that allow accesion/lab/test results to be imported into the EMR.

Regards

Wayne


(Stephen Waite) #5

hi @wroznak, please see openemr/receive_hl7_results.inc.php at master · openemr/openemr · GitHub