Esempio n. 1
0
        ///<summary></summary>
        private static List <ClaimPaySplit> ClaimPaySplitTableToList(DataTable table)
        {
            //No need to check RemotingRole; no call to db.
            List <ClaimPaySplit> splits = new List <ClaimPaySplit>();
            ClaimPaySplit        split;

            for (int i = 0; i < table.Rows.Count; i++)
            {
                split                 = new ClaimPaySplit();
                split.DateClaim       = PIn.Date(table.Rows[i]["DateService"].ToString());
                split.ProvAbbr        = Providers.GetAbbr(PIn.Long(table.Rows[i]["ProvTreat"].ToString()));
                split.PatName         = PIn.String(table.Rows[i]["patName_"].ToString());
                split.PatNum          = PIn.Long(table.Rows[i]["PatNum"].ToString());
                split.Carrier         = PIn.String(table.Rows[i]["CarrierName"].ToString());
                split.FeeBilled       = PIn.Double(table.Rows[i]["feeBilled_"].ToString());
                split.InsPayAmt       = PIn.Double(table.Rows[i]["insPayAmt_"].ToString());
                split.ClaimNum        = PIn.Long(table.Rows[i]["ClaimNum"].ToString());
                split.ClaimPaymentNum = PIn.Long(table.Rows[i]["ClaimPaymentNum"].ToString());
                split.PaymentRow      = PIn.Int(table.Rows[i]["PaymentRow"].ToString());
                splits.Add(split);
            }
            return(splits);
        }
Esempio n. 2
0
File: Claims.cs Progetto: mnisl/OD
		///<summary></summary>
		private static List<ClaimPaySplit> ClaimPaySplitTableToList(DataTable table) {
			//No need to check RemotingRole; no call to db.
			List<ClaimPaySplit> splits=new List<ClaimPaySplit>();
			ClaimPaySplit split;
			for(int i=0;i<table.Rows.Count;i++){
				split=new ClaimPaySplit();
				split.DateClaim      =PIn.Date  (table.Rows[i]["DateService"].ToString());
				split.ProvAbbr       =Providers.GetAbbr(PIn.Long(table.Rows[i]["ProvTreat"].ToString()));
				split.PatName        =PIn.String(table.Rows[i]["patName_"].ToString());
				split.PatNum         =PIn.Long  (table.Rows[i]["PatNum"].ToString());
				split.Carrier        =PIn.String(table.Rows[i]["CarrierName"].ToString());
				split.FeeBilled      =PIn.Double(table.Rows[i]["feeBilled_"].ToString());
				split.InsPayAmt      =PIn.Double(table.Rows[i]["insPayAmt_"].ToString());
				split.ClaimNum       =PIn.Long  (table.Rows[i]["ClaimNum"].ToString());
				split.ClaimPaymentNum=PIn.Long  (table.Rows[i]["ClaimPaymentNum"].ToString());
				split.PaymentRow     =PIn.Int   (table.Rows[i]["PaymentRow"].ToString());
				split.ClinicDesc		 =PIn.String(table.Rows[i]["Description"].ToString());
				splits.Add(split);
			}
			return splits;
		}