2012-08-02 290 views
1

我有一個接收端口,並且位置接受通過MLLP的HL7 2.x消息。我創建了一個派對,並使用BTAHL7配置瀏覽器配置了確認設置。該消息解析得很好,ACKS返回到原始系統,並且我能夠使用直通管道將解串行化的xml發送到文件,並使用直通管道將所得到的ACK發送到文件,以便我可以確認成功的接收解析並驗證入站的XML。無法使用BTAHL72XSendPipeline發送消息

作爲一個簡單的測試,我使用BTAHL72XSendPipeline創建一個發送端口,將HL7 2.x消息轉儲到文件。要做到這一點,我把一個過濾器的發送端口上

BTS.MessageType == http://microsoft.com/HealthCare/HL7/2X#ADT_A04_21_GLO_DEF

我收到以下分析錯誤,我不明白,因爲消息解析精當我收到這:

There was a failure executing the send pipeline: 
    "BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0, 
    Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    Source: "BTAHL7 2.X Assembler" 
    Send Port: "Send.HL7" URI: "C:\Demo\HL7\In\HL7\%MessageID%.txt" 
    Reason: Serialization errors: 
Error # 1 
Segment Id: NK1_NextOfKin 
Sequence Number: 1 
Field Number: 5 
Error Number: 207 
Error Description: Application internal error 
Encoding System: HL7nnnn 
Alternate Error Number: Z100 
Alternate Error Description: Trailing delimiter found 
Alternate Encoding System: HL7-BTA 


Error # 2 
Segment Id: PV1_PatientVisit 
Sequence Number: 1 
Field Number: 45 
Error Number: 207 
Error Description: Application internal error 
Encoding System: HL7nnnn 
Alternate Error Number: Z100 
Alternate Error Description: Trailing delimiter found 
Alternate Encoding System: HL7-BTA 

回答

0

右鍵單擊您的發送管道,然後選擇屬性,然後點擊「...」按鈕旁邊的發送管道,然後選擇‘真’的‘TrailingDelmitierAllowed’選項。還要確保在接收管道上檢查這些。