Biztalk HL7数据类型错误

Biztalk HL7数据类型错误,biztalk,biztalk-2010,hl7,hl7-v2,Biztalk,Biztalk 2010,Hl7,Hl7 V2,我有一条ORU R01版本2.4的消息,我正试图通过它,但由于某种原因,它一直在接收端给我一个数据类型错误。消息如下: MSH|^~\&|HMED|DMC|||20110527104101||ORU^R01|M-TEST05|P|2.4| PID|1|333333333|000009999999||MTEST^MALEPAT5^L^""|""|19900515|M|""|2||||||S|PRO|9999999995|333333333|""|| PV1|1|E|ED^OFF UNIT^OFFU

我有一条ORU R01版本2.4的消息,我正试图通过它,但由于某种原因,它一直在接收端给我一个数据类型错误。消息如下:

MSH|^~\&|HMED|DMC|||20110527104101||ORU^R01|M-TEST05|P|2.4| PID|1|333333333|000009999999||MTEST^MALEPAT5^L^""|""|19900515|M|""|2||||||S|PRO|9999999995|333333333|""|| PV1|1|E|ED^OFF UNIT^OFFUNIT^02|1|||070706^TestDoc^Edward^S^""^""||||||||||||9999999995||||||||||||||||||||DMC|||||20110526231400|20110701014900|||||||| ORC|RE|339999-333333333-1-77777|339999-333333333-1-77777|||||||||| OBR|1|339999-333333333-1-77777|339999-333333333-1-77777|ED HP|||20110527003054|||||||||||||77777^MedVa Chart|77777-RES333333333-339999-1-9999999995| OBX|1|FT|ED HP||~Depaul Medical Center - Norfolk, VA 23505~~Patient: MALEPAT5 L MEDVATEST DOB: 5/15/1990~~MR #: 333333333 Age/Gender: 21y M~~DOS: 5/26/2011 23:14 Acct #: 9999999995~~Private Phys: Patient denies having a primary ED Phys: Edward S. TestDoc, NP-C~ care physician.~~CHIEF COMPLAINT: Enc. Type: ACUITY:~~Sore throat Initial 4_Level 4~~HISTORY OF PRESENT ILLNESS ~Note~~Medical screening exam initiated: May 26, 2011 00:36~~HPI text: 21 year old male to the emergency room with a c/o sore throat pain~for the past week. Pt denies cough, N\T\V, diarrhea, and fever.~~Approximate time of injury/onset of symptoms 1 week(s) ago~~Medical and surgical history obtained.~~PAST HISTORY ~Past Medical/Surgical History~~ The history is provided by the patient~~ The patient's pertinent past medical history is as follows: Obesity~~ The patient's pertinent past surgical history is as follows: None~~ Patient allergies: No known allergies.~~ Home medications: Ibuprofen PO~~ The medication history was obtained from: verbally from the patient~~At the time of this signature, I have reviewed and agree with documented Past~History, Home Medications, Allergies, Social History and Family History.~~Past Social History~~Patient does not use tobacco.~~Patient does not use alcohol.~~Patient does not use drugs.~~EXAM ~CONSTITUTIONAL: Alert, in no apparent distress; well-developed;~well-nourished.~HEAD: Normocephalic, atraumatic~EYES: PERRL; EOM's intact.~ENTM: Nose: no rhinorrhea; Throat: no erythema or exudate, mucous membranes~moist. The bilateral tonsils are edematous and the uvula is mildly enlarged.~No exudates are noted. the tonsils do not touch.~Neck: No JVD, supple without lymphadenopathy~RESP: Chest clear, equal breath sounds.~CV: S1 and S2 WNL; No murmurs, gallops or rubs.~GI: Normal bowel sounds, abdomen soft and non-tender. No masses or~organomegaly.~GU: No costo-vertebral angle tenderness.~BACK: Non-tender~UPPER EXT: Normal inspection~LOWER EXT: No edema, no calf tenderness. Distal pulses intact.~NEURO: CN intact, reflexes 2/4 and sym, strength 5/5 and sym, sensation~intact.~SKIN: No rashes; Normal for age and stage.~PSYCH: Alert and oriented, normal affect.~~Printed By User N. Interface on 5/27/2011 12:30 AM~~Discharge Summary~~||||||S| MSH^ ~\&| HMED | DMC | 20110527104101 | ORU^R01 | M-TEST05 | P | 2.4| PID | 1 | 333333333 | 00000999999 | MTEST | MALEPAT5 | L | | | 19900515 | M | | 2 | | | S | PRO 999999 5 | 333333333|| PV1 | 1 | E | ED | OFF UNIT | OFF UNIT | 02 | 1 | | | 070706 | TestDoc | Edward | S | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999 5 | | | | | | | | | ||||||||| ORC | RE | 339999-333333-1-77777 | 339999-333333333-1-77777|||||||||| OBR | 1 | 339999-333333-1-77777 | 339999-333333333-1-77777 | ED HP | 20110527003054| OBX | 1 | FT | ED HP | | | | | | | Depaul医疗中心-弗吉尼亚州诺福克23505 ~~患者:MALEPAT5 L MEDVATEST-DOB:5/15/1990 ~~先生|:333333年龄/性别:21y M ~~ DOS:5/26/2011 23:14 Acct |:999995 ~~私人物理:患者否认有初级教育物理:Edward S.TestDoc,NP-C~护理医师。~~主诉:Enc.类型:敏锐度:~~喉咙痛初始4级~~目前病史~~注~~开始体检:2011年5月26日00:36~~HPI文本:21岁男性,过去一周因C/o喉咙痛~到急诊室就诊。Pt否认咳嗽、腹泻和发烧。~~大约受伤时间/症状出现1周(s)以前~~获得病史和手术史。~~既往病史~~既往病史/手术史~~病史由患者提供~~患者相关既往病史如下:肥胖~~患者相关既往手术史如下:无~~患者过敏:无已知过敏。~~家庭用药:布洛芬~~~用药史来源:患者口头记录~~在签署此签名时,我已回顾并同意记录的既往病史、家庭用药、过敏症、,社会史和家族史。~~过去的社会史~~患者不吸烟。~~患者不喝酒。~~患者不吸毒。~~检查~~体质:警惕,没有明显的痛苦;发达~营养良好。~头部:正常头颅,无创伤~眼睛:佩尔;EOM完好无损。~ENTM:鼻子:没有鼻漏;咽喉:无红斑或渗出物,粘膜~湿润。双侧扁桃体水肿,悬雍垂轻度增大。~未发现渗出物。扁桃体不接触。~颈部:无JVD,柔软,无淋巴结肿大~RESP:胸部清晰,呼吸音均匀。~CV:S1和S2 WNL;无杂音、奔腾声或摩擦声。~GI:肠鸣音正常,腹部柔软,无压痛。无肿块或器官肿大。~GU:肋椎角无压痛。~BACK:无压痛~上分机:正常检查~下分机:无水肿,小腿无压痛。远端脉搏完整。~神经:CN完整,反射2/4和sym,力量5/5和sym,感觉~完整。~皮肤:无皮疹;年龄和阶段正常。~心理:警觉和导向,正常影响。~~由用户界面于2011年5月27日12:30打印~~出院总结~~~||||S| 下面是我收到的错误消息:

Error happened in body during parsing Error # 1 Segment Id: PV1_PatientVisit Sequence Number: 1 Field Number: 52 Error Number: 102 Error Description: Data type error Encoding System: HL7nnnn  Error # 2 Segment Id: OBR_ObservationRequest Sequence Number: 1 Field Number: 20 Error Number: 102 Error Description: Data type error Encoding System: HL7nnnn 分析期间正文中发生错误 错误#1 段Id:PV1_PatientVisit 序号:1 字段编号:52 错误号码:102 错误描述:数据类型错误 编码系统:HL7nnnn  错误#2 段Id:OBR_观测请求 序号:1 字段编号:20 错误号码:102 错误描述:数据类型错误 编码系统:HL7nnnn
我已确保我的团队设置正确,并且未选中“验证正文段”和“允许尾随分隔符”。

这已得到解决。为了解决上述两个错误,我不得不自定义段和数据类型模式。需要修改段架构,以便在PV1段的末尾添加另一个字段,以便接受最后一个字段。OBR20需要引用包含两个字符串的自定义数据类型,以便正确处理

HL7成员希望使用StackOverflow进行更多的支持查询。为了帮助解决这个问题,有人可以创建一个hl7-v2标签,并将其用于这个问题。@BENBUNCoder承认迟到了,但已经完成了。