I have an ORU Message coming in that needs to go to
Meditech. The messages originate in E-Gate, sent to me in Cloverleaf (5.7) and then I have a corresponding Variant and
Xlate that does a few things including matching up the result to the correct patient, populating pid3 and pid18 with mr# and account# and then forwarding off to Meditech. That works fine. The challenge that I have is that when I receive the ORU in Cloverleaf, for text results, the message comes in the following format:-
MSH|^~&|LAB|RWJ|MEDITECH|CSH|20120607135238||ORU^R01|Q154395283T184514124|P|2.3|eGate Seq# 6701 == 499 == Admitted: 20120321162400
PID|1||4503003^^^MRNNB||NEWBRUNSWICK^LAB||20000428|F||||||||||4990339^^^Account Number NB
OBR|1|428^CSH Order ID|144797643^HNAM_ORDERID|PROT C^PROT C|||20120509111400||||||CSH# 428,|20120510074800|Blood&Blood|506990^Castello^Frank^~||12-130-0016||||20120607135237|||F||1^^^20120509111400^^DN|||||||||20120509111400
OBX|1|NM|PROT C^Protein C Activity^Laboratory NB||5|%|65-174|L|||F|||20120607135237||^Castagna^Edward|^^^SHHL||20120607135237||||RWJUH NB – Dept of Laboratories|1 RWJ Place^^New Brunswick^NJ^08901^USA|004073^Kuriyan, MD^Mercy^A.
NTE|1||Interpretive Data:.br\.brTest Performed by:.br\.brUMDNJ-Robert Wood Johnson Medical School.brSpecial Hemostasis Lab – MEB Room 385.br1 Robert Wood Johnson Plaza.brMedical Director: Claire Philipp, MD.brUDL Laboratory Director: Gratian Salaru, MD.br
The problem is that Meditech will not accept/honor the .br in theh OBX NTE segment. Instead the company requires that I create a separate line of NTE whevever each .br is encountered so the NTE Seg in the outbound message should look like
NTE|1|L|LINE ONE OF TEXT
NTE|2|L|LINE TWO OF TEXT
NTE|3|L|LINE THREE OF TEXT
How can I get this accomplished ? Do I add an OBX group iterate
and use a MATH ADD ? I have never used the MATH ADD so it
is unclear how to use this functionality.
Can you please help and thanks ~~
Omar