Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Biztalk
acce.forsuppliers
acce.hipaa
acce.hl7
acce.rosettanet
accelerator.finserv
admin
appintegration
framework
general
library
nonxml
orchestration
sdk
server
setup
tools
xlangs
xsharp
  
 
date: Wed, 12 Mar 2008 21:11:59 +0800,    group: microsoft.public.biztalk.accelerator.hl7        back       


HL7 Pipeline error   
i am try to make Hl7 falt file using 72xsendpipeline
i wring following code for header mean MSHsegment but getting error:

HeaderInfo = new System.Xml.XmlDocument();
HeaderInfo.LoadXml(System.String.Concat("<ns0:MSH_24_GLO_DEF 
xmlns:ns0=\"http://microsoft.com/HealthCare/HL7/2X\"><MSH><MSH.
2_EncodingCharacters>^~\\\\&</MSH.2_EncodingCharacters><MSH.
7_DateTimeOfMessage><TS.1>",System.String.Format("{0:yyyyMMddHHmm}",System.
DateTime.Now),"</TS.1></MSH.7_DateTimeOfMessage><MSH.9_MessageType><CM_MSG.
0_MessageType>ADT</CM_MSG.0_MessageType><CM_MSG.1_TriggerEvent>A08</CM_MSG.
1_TriggerEvent></MSH.9_MessageType><MSH.11_ProcessingId><PT.
0_ProcessingId>P</PT.0_ProcessingId></MSH.11_ProcessingId><MSH.
12_VersionId><VID.0_VersionId>2.3</VID.0_VersionId></MSH.12_VersionId><MSH.
15_AcceptAcknowledgmentType>AL</MSH.15_AcceptAcknowledgmentType><MSH.
16_ApplicationAcknowledgmentType>NE</MSH.
16_ApplicationAcknowledgmentType></MSH></ns0:MSH_24_GLO_DEF>"));
FinalHl7Msg.Header = HeaderInfo;
FinalHl7Msg.Body = Hl7_MSG;
FinalHl7Msg.Zsegment = "";

FinalHl7Msg(BTAHL7Schemas.MSH1) = 124 ; 
FinalHl7Msg(BTAHL7Schemas.MSH2) = "^~\\&";
FinalHl7Msg(BTAHL7Schemas.MSH3_1)="HIS";

FinalHl7Msg(BTAHL7Schemas.MSH5_1)="Varian";

FinalHl7Msg(BTAHL7Schemas.ParseError) = false; 
FinalHl7Msg(BTAHL7Schemas.ZPartPresent) = false;
FinalHl7Msg(BTAHL7Schemas.SegmentDelimiter2Char) = true;

url:http://www.ureader.com/gp/1202-1.aspx
date: Wed, 12 Mar 2008 21:11:59 +0800   author:   aun ali siraj

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us