Page 1 of 1

Why this piece of message cannot resolve, when parsing progr

Posted: Thu Sep 18, 2014 6:37 am
by xiang_1988
Why this piece of message cannot resolve, when parsing program card dead?

Code: Select all

MSH|^~\&|CIS||EIS||20140917094832||OMG^O19|CIS_56410496|P|2.4
PID||0000605772|^^^^PatientNO~0000605772^^^^IDCard~420621198601015734^^^^IdentifyNO||徐双林||19860101|M|||||^^^^^^13418698028
PV1||O|^^^0302^消化内科门诊||||003069||||||8|||||02|111636725|||||||||||||||||||||||||20140917094536
ORC|NW|4621136|||1||||20140917094832|003069||003069^叶春福|||20140917094829||0302||||0302
OBR||||F00000086902^无痛胃镜(2)_^70||||||||||||||||||||3212#内镜中心
OBX||ST|DIAG||慢性浅表胃炎
OBX||ST|SIGN||上腹疼痛2年。上腹有压痛。肝胆脾不大。[color=#FF4000]\E\X000d\E\[/color]
OBX||ST|SITE||无痛胃镜(2)
BLG|||1

Re: Why this piece of message cannot resolve, when parsing p

Posted: Fri Sep 19, 2014 1:53 am
by xiang_1988
Hi!
Why there are special characters, HL7 string will feign death when the program, and can not throw an exception?

MSH|^~\&|CIS||EIS||20140919090640||OMG^O19|CIS_56667339|P|2.4
PID||0000566535|^^^^PatientNO~0000566535^^^^IDCard~450821198606034025^^^^IdentifyNO||袁春平||19860603|F|||||^^^^^^13691776929
PV1||O|^^^0302^消化内科门诊||||003448||||||2|||||02|111644118|||||||||||||||||||||||||20140919090246
ORC|NW|4642529|||1||||20140919090640|003448||003448^娄文志|||20140919090612||0302||||0302
OBR||||F00000018164^14碳呼气试验_^70||||||||||||||||||||3212#内镜中心
OBX||ST|SIGN|| \E\X000d\E\ 上腹烧灼 ,疼痛一周 余 。\E\X000d\E\ \E\X000d\E\ 查体:腹软,上腹部压痛,肝脾未触及。\E\X000d\E\ \E\X000d\E\ 乙肝表抗阴性 。\E\X000d\E\\E\X000d\E\
OBX||ST|SITE||14碳呼气试验
OBX||ST|DIAG||慢性胃炎
BLG|||1