Can't route HL7 message

This forum is for topics related to RIS/HIS integration features for Pacsone Server
Post Reply
ixe
Posts:13
Joined:Fri May 22, 2009 1:07 pm
Can't route HL7 message

Post by ixe » Mon May 25, 2009 7:08 am

Hi,
I've been trying to route my HL7 message destination application. I've defined my destination application in HL7 Application section with the PORT , IP, Name and other asked fields. e.g.
I'm using a port 6661 that I've defined in HL7 application section, after that I've configured the Autoroute section where i pointed my HL7 app.
now I've a LLP listener on the destination app with the specified port i.e. 6661.
After sending the HL7 message to the PACS I get the following data into the log file.

Mon May 25 12:43:53 2009 INFO - HL-7: <6> started from peer: 127.0.0.1
Mon May 25 12:43:53 2009 INFO - <6> Receiving message
Mon May 25 12:43:53 2009 INFO - <6> [1173] bytes message received successfully
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [<!-]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [<HL]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ ]
Mon May 25 12:43:53 2009 WARNING - Message []: Unsupported Segment Type [ <]
Mon May 25 12:43:53 2009 ERROR - EXECUTE: SQL Bad Query: Duplicate entry '' for key 1
Mon May 25 12:43:53 2009 INFO - <6> Sending Acknowledgement...
Mon May 25 12:43:53 2009 INFO - <6> [54] bytes ACK message sent successfully
Mon May 25 12:43:53 2009 INFO - <6> Receiving message

I believe my message is received in the PACS, but somehow PACS is showing me the warning whereas I've only sent those segments in the HL7 message that are supported by the PACS. Can someone tell me what did i miss in PACS, any pointers that will help me to remove debug these warnings?
The 2nd problem is that My destination app is not being hit by the PACS I mean I cannot see any "Sending To or Forwarding to destination" activity in my HL7 Log file where i expect it to route the received message. how can i really debug it?

Please do guide me, I'm anticipating a thorough reply :(
thanks in advance

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Mon May 25, 2009 4:01 pm

The errors logged by the HL7 interface of PacsOne Server seem to suggest compatibility issues with the HL7 message being received, so do you know which version of the HL7 message you were sending to PacsOne? The HL7 interface of PacsOne Server is implemented against version 2.3.1 of the public HL7 specification, so you should make sure the HL7 message you were trying to send is compatible with version 2.3.1 as HL7 is known for its incompatibility between its different versions.

ixe
Posts:13
Joined:Fri May 22, 2009 1:07 pm

Post by ixe » Wed May 27, 2009 8:35 am

thanks, yes I've bin using the HL 2.5 specs now i've changed it to 2.3.1 and it seems to get it right.

Post Reply