Originally posted by Gary Atkinson
Has anyone had an issue where hl7 data was coming into the engine with an extra 0d on the last segment. Here is an example:
message : 'MSH:;~&:SPC:N:IM:N:200907020101:41:ADT;A04:9838707:D:2.2:9838707::AL::x0dEVN:A04:200907020101::x0dPID::01013071:1119123;;;N:118450;N198670:CONTROL;BARE;LEEIN;::19450918:F::2:1219 ANTABUSE DR;;GLEN BURNIE;MD;21061;US;C;02:02:(410)455-1236:(410)787-4000X7856:ENGLISH;E;:M:;:918300001;;;N:006-23-1236:x0dPD1::::271;SHERMAN;EDWARD;N::::::::N:x0dNK1:1:CONTROL;RELATIVE:H;;:1219 ANTABUSE DR;;GLEN BURNIE;MD;21061;US:(410)455-1236:x0dPV1::O:;;;N;;;:3:::477;YORK;JAMES;J;;;MD::"":PHT:::0918100001;;;N:1:::477;YORK;JAMES;J;;;MD:OPS;;N:0918300001;;;N:S:::::::::::::::::::N:::::200907020001:::::x0dAL1:::;:::x0dDG1:0:I9::ADM DIAG::ADMITTING::::::::x0dDG1:99:I9::ADM DIAG::WORKING::::::::x0dGT1:1:118450:CONTROL;BARE;LEEIN;::1219 ANTABUSE DR;;GLEN BURNIE;MD;21061;US;C;02:(410)455-1236::19450918:F::S:006-23-1236:::1:BALT/WASH MED CNTR;BWMC:301 HOSPITAL DRIVE;;GLEN BURNIE;MD;21061;US;;02:(410)787-4000X7856::1x0dIN1:1:::::::::::::::;;:::::::::::::::::::::::::::::x0dACC:""::x0dUB1:1:::::::::::::::11;20090604~;~;~;~;:::::::x0dZCA:::;;;x0dZCV:2::***::::::::PHT:x0dZCD::N:::;;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::x0dZCE:16;NURSE;:"":BWMC;BALT/WASH MED CNTR;N:301 HOSPITAL DRIVE;;GLEN BURNIE;MD;21061;US;;02::::1::x0dZCI:1:::S:::N:::::::::::::::::::::::::::x0dZCM:N::::::::::::::::::::::271;SHERMAN;EDWARD;N:N:x0dx0d'
I am sending this data Raw; std mlp; from the sending system. The receiving vendor can not handle this "extra" 0d and ends up sending the ack terminating with 0d 0d. First, I going to sending system and telling them to fix the "extra" 0d. If that does not go well, how can I fix this in the engine? Also, I find this odd that I have never had any other vendor complain of this and we have about 20 adt feeds; one of which is a raw feed :?