Originally posted by Tom Gilbert
Hope this is not to confusing. I have a result ORU_R01 message coming from our lab system. Our problem is that if a Micro Biology Result is in the message and we have to extract it and send as a seperate HL7 message and the rest of the result can go but w/o the Micro Biology Result.
The plan is to look at the OBR.4.1 and if the code begins with 'MB' that that states the result that follows is a Micro Biology Result. So the previous line 'ORC' and down to the next 'ORC' line but not inclusive needs to be extracted and creates it's own HL7 message.
Does any have a tcl or xlate to handle this process.