Seeing an odd character in smat. Also the message appears to have carriage returns and Lie feeds after every segment. HI_IQ says this is their standard HL7 message. My question is besides removing the carriage return in TCL to get the segment list by splitting the $msg by r, would I do that first or remove the line feeds first or is there a better way of accomplishing this. The company states any change to their standard HL7 message is custom coding and incurs a charge, so i have been charged with fixing this to a more palatable format. Plus the odd character at the end I see in smat.
MSH|^~@|HI-IQ||||201011021126||FTx:FirstSend
PID|5602160||5602160||Zzpmtest^Jessica^ ||05/20/1991|Female|||52055^^Ocdtvxg^MO^32034|||||||656271836FINFIN NBR|
PV1||P|003^RM1^RADOP|||||||3954|||||||||121682705|
FT1|1|||20101102||CG||Muscle biopsy, percutaneous needle, incl soft tissue||3|0|||||||||^TEST^Vicki|||121682705|||20206^ |
FT1|1|||20101102||CG||Fluoroscopy (sep. proc.), up to one hour MD time||1|0|||||||||^TEST^Vicki|||121682705|||76000^ |
FT1|1|||20101102||CG||US guidance for biopsy, S&I||3|0|||||||||^Keck^Vicki|||121682705|||76942^ |
CO7|121682705||