James Montana - 2012-04-13

Hi,

this is my first day in nHApi parsing  and creating hl7 messages. I was trying to reproduce the "hapi" examples developed in java. I am stuck in the one populating OBX segments. The problem is I can't get more than one ORU_R01_OBSERVATION  from a ORU_R01_ORDER_OBSERVATION so I can have only one OBX per OBR.

I can't go further than this:

MSH|^~\&|||||||ORU^R01||T
OBR|1||1234^LAB|88304
OBX|1|CE|88304|1|T57000^GALLBLADDER^SNM

and the final result should be this:
MSH|^~\&|||||20111102082111.435-0500||ORU^R01^ORU_R01|305|T|2.5
OBR|1||1234^LAB|88304
OBX|1|CE|88304|1|T57000^GALLBLADDER^SNM
OBX|2|TX|88304&MDT|1|MICROSCOPIC EXAM SHOWS HISTOLOGICALLY NORMAL GALLBLADDER TISSUE

Thanks in advance.

  • Jim