This is what the message looks like:

 

MSH|^~\&|RM|351|HBOCORM|351|20100209161723||ORU^R01|20100209161723887|P|2.5|
||AL|NE

EVN|R01|20100209161723

PID|||...

PV1||I|1NO||||...

ORC|RE|...

OBR||17615904|...

OBX|1|TX|R^REPORT^L||...

OBX|1|TX|R^REPORT^L||...

OBX|1|TX|R^REPORT^L||...

... more OBX ...

 

I realized that values supposed to be in PATIENT_RESULT(0) are in
PATIENT_RESULT(1).

 

For the moment I have put a filter that removes the EVN segment from the
message. It took me some time to note that problem though.

I want to be able to list out such problems in messages without having to
check each message manually.

 

BTW, I'm using HAPI 0.5.1.

 

Regards,

rahul

 

From: Sharma, Niranjan K (GE Healthcare) [mailto:[email protected]]

Sent: Thursday, February 11, 2010 2:28 PM
To: rahul somasunderam; [email protected]
Subject: RE: [HAPI-devel] Getting non standard segments in a message

 

Rahul,

 

Not sure how you can get your processing messed up with EVN segment post
message construction.

 

By defining the custom validator you can define a mechanism to determine
unexpected segments and determine course of actions.

 

Hope this helps.

 

Thanks.

 

Regards

-Niranjan.

 

From: rahul somasunderam [mailto:[email protected]] 
Sent: Thursday, February 11, 2010 2:47 PM
To: [email protected]
Subject: [HAPI-devel] Getting non standard segments in a message

 

Hi,

 

I am receiving messages from a system which is sending an EVN segment in an
ORU_R01 message.

That's completely messing up my logic for processing the message. I would
like to know when there is such an unexpected segment in a message. Is there
some way to know that?

 

Regards,

rahul

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.435 / Virus Database: 271.1.1/2678 - Release Date: 02/11/10
07:35:00

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to