private static void CreateXMLEncounter(ref StreamWriter sw, EVRDetail evrDetail) { sw.WriteLine("\t\t<Encounter>"); sw.WriteLine("\t\t\t<SubmitterClaimIdentification>" + evrDetail.SubmitterClaimIdentification + @"</SubmitterClaimIdentification>"); sw.WriteLine("\t\t\t<IehpClaimIdentification>" + evrDetail.IEHPEncounterID + @"</IehpClaimIdentification>"); sw.WriteLine("\t\t\t<EncounterStatus>" + evrDetail.EncounterStatus + @"</EncounterStatus>"); }
private static void CreateXMLHeader(ref StreamWriter sw, EVRDetail evrDetail) { sw.WriteLine(@"<EncounterResponse>"); sw.WriteLine("\t<SubmitterName>" + evrDetail.TradingPartnerName + @"</SubmitterName>"); sw.WriteLine("\t<ResponseDateTime>" + DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss.fff") + @"</ResponseDateTime>"); sw.WriteLine("\t<Encounters>"); }
private static void CreateXMLResponse(ref StreamWriter sw, EVRDetail evrResponse) { sw.WriteLine("\t\t\t\t<Response>"); sw.WriteLine("\t\t\t\t\t<Severity>" + evrResponse.Severity + @"</Severity>"); sw.WriteLine("\t\t\t\t\t<IssueId>" + evrResponse.IssueId + @"</IssueId>"); sw.WriteLine("\t\t\t\t\t<IsSNIP>" + evrResponse.IsSNIP.ToString() + @"</IsSNIP>"); sw.WriteLine("\t\t\t\t\t<Description>" + evrResponse.Description + @"</Description>"); sw.WriteLine("\t\t\t\t</Response>"); }