Пример #1
0
 //GJ: The following methods where copied from the existing ones to save the log file but to be used
 // for Quotes. Note that the quotes were previously save with the claims, but it was requested to only display claims
 // in the cancel tab, this is the way to have them separate but still keep track of them.
 public void LogQuote(HicapsConnectControl.HicapsConnectControl.QuotePharmResponse response)
 {
     // set readonly to false (by cheating). Otherwise the serializer has trouble
     // re-creating the object
     logQuotes.Add(response);
     SaveQuotesLogFile();
 }
Пример #2
0
 CloneWithoutReadonlySet(this HicapsConnectControl.HicapsConnectControl.QuotePharmResponse c)
 {
     return(new HicapsConnectControl.HicapsConnectControl.QuotePharmResponse
     {
         MsgId = c.MsgId,
         FormatVersion = c.FormatVersion,
         RequestResponseIndicator = c.RequestResponseIndicator,
         MoreIndicator = c.MoreIndicator,
         ServerUrl = c.ServerUrl,
         ComputerName = c.ComputerName,
         SoftwareVendorName = c.SoftwareVendorName,
         ComPort = c.ComPort,
         ResponseTime = c.ResponseTime,
         ResponseText = c.ResponseText,
         ResponseCode = c.ResponseCode,
         ServerVersion = c.ServerVersion,
         ClientVersion = c.ClientVersion,
         TerminalVersion = c.TerminalVersion,
         PrimaryAccountNumber = c.PrimaryAccountNumber,
         ExpiryDate = c.ExpiryDate,
         TransactionAmount = c.TransactionAmount,
         BenefitAmount = c.BenefitAmount,
         ProviderNumberId = c.ProviderNumberId,
         MembershipId = c.MembershipId,
         TransactionDate = c.TransactionDate,
         TerminalId = c.TerminalId,
         RrnNumber = c.RrnNumber,
         ClaimDetails = c.ClaimDetails,
         ClaimDetailsStr = c.ClaimDetailsStr,
         PatientNameDetails = c.PatientNameDetails,
         PatientNameDetailsStr = c.PatientNameDetailsStr,
         ProviderName = c.ProviderName,
         MerchantId = c.MerchantId,
     });
 }
Пример #3
0
 public PharmaceuticalReceipt(HicapsConnectControl.HicapsConnectControl.QuotePharmResponse c)
 {
     receiptType = ReceiptType.Quote;
     quote       = c;
 }