public Rate_FFS_In_CaseRateBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Rate, double in_AddtnlDayRate, int in_LOS)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
     this.Rate = in_Rate;
     this.AddtnlDayRate = in_AddtnlDayRate;
     this.LOS = in_LOS;
 }
 public Rate_StopLossBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Threshold, double in_POC, double in_DailyCap)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
     this.Threshold = in_Threshold;
     this.POC = in_POC;
     this.DailyCap = in_DailyCap;
 }
Beispiel #3
0
        public CodesBO getCodes(ref CodesManager codesMngr, int rateID)
        {
            SqlDataReader sqlDataRdr = base.GetDataReader("SELECT RateCode, RateTypeCode FROM RateCode WHERE (NOT RateTypeCode='PassThru') AND (NOT RateTypeCode='Table') AND RateSeqNum=" + rateID + " ORDER BY RateTypeCode ASC");

            CodesBO myCodes = new CodesBO(ref codesMngr);
            string codeType = "";
            ArrayList codesList = new ArrayList();
            bool first = true;

            while(sqlDataRdr.Read())
            {
                if (first)
                {
                    first = false;
                    codeType = sqlDataRdr["RateTypeCode"].ToString();
                    codesList.Add(sqlDataRdr["RateCode"]);
                }
                else if (codeType==sqlDataRdr["RateTypeCode"].ToString())
                {
                    codesList.Add(sqlDataRdr["RateCode"]);
                }
                else
                {
                    myCodes.addCodes(codeType, codesList);
                    codesList.Clear();

                    codeType = sqlDataRdr["RateTypeCode"].ToString();
                    codesList.Add(sqlDataRdr["RateCode"]);
                }
            }

            if (! (codeType=="") )
            {	myCodes.addCodes(codeType, codesList); }

            base.CloseConnection();

            return myCodes;
        }
 public void setRate(int id, int in_RateScheduleID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Rate)
 {
     this.setMainRate(id, in_RateScheduleID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes);
     this.Rate = in_Rate;
 }
 public Rate_PerDiemBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Rate)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
     this.Rate = in_Rate;
 }
 public Rate_W_PassThruBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
     this.HasPassThrus = true;
 }
 public Rate_FFS_Out_POCBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Rate, int in_Priority)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
     this.Rate = in_Rate;
     this.Priority = in_Priority;
 }
 public Rate_PassThruBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Rate, double in_Threshold)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
     this.Rate = in_Rate;
     this.Threshold = in_Threshold;
 }
 public void setRate(int id, int in_RateScheduleID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Threshold, double in_POC, double in_DailyCap)
 {
     this.setMainRate(id, in_RateScheduleID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes);
     this.Threshold = in_Threshold;
     this.POC = in_POC;
     this.DailyCap = in_DailyCap;
 }
Beispiel #10
0
 public Rate_IgnoreBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
 }
Beispiel #11
0
 public void updateCodes(CodesBO codes)
 {
     insertCodeType(codes.RateScheduleID, codes.RateID, codes.getCodeType("DRG"));
     insertCodeType(codes.RateScheduleID, codes.RateID, codes.getCodeType("RevCode"));
     insertCodeType(codes.RateScheduleID, codes.RateID, codes.getCodeType("CPT"));
     insertCodeType(codes.RateScheduleID, codes.RateID, codes.getCodeType("ICD9"));
     insertCodeType(codes.RateScheduleID, codes.RateID, codes.getCodeType("ICD9D"));
 }
Beispiel #12
0
 public void insertCodes(CodesBO codes)
 {
     updateCodes(codes);
 }
Beispiel #13
0
        public void setMainRate(int id, int in_RateScheduleID, string in_Name, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes)
        {
            this.ID = id;
            this.RateScheduleID = in_RateScheduleID;

            this.Name = in_Name;
            this.RateCategory = in_RateCategory;
            this.RateType = in_RateType;
            this.InOut = in_InOut;
            this.Codes = in_RateCodes;
        }
Beispiel #14
0
 public RateBO(int id, int in_RateSchedID, string in_Name, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes)
     : base(id)
 {
     this.RateScheduleID = in_RateSchedID;
     this.Name = in_Name;
     this.RateCategory = in_RateCategory;
     this.RateType = in_RateType;
     this.InOut = in_InOut;
     this.Codes = in_RateCodes;
 }
 public Rate_BaseRateBO(int id, int in_RateSchedID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Rate, int in_DRG_WgtTableID, string in_DRG_WgtTableName)
     : base(id, in_RateSchedID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes)
 {
     this.Rate = in_Rate;
     this.WeightTable = new WeightTableStruct(in_DRG_WgtTableID, in_DRG_WgtTableName);
 }
 public void setRate(int id, int in_RateScheduleID, string in_RateName, string in_RateCategory, string in_RateType, char in_InOut, CodesBO in_RateCodes, double in_Rate, int in_DRG_WgtTableID, string in_DRG_WgtTableName)
 {
     this.setMainRate(id, in_RateScheduleID, in_RateName, in_RateCategory, in_RateType, in_InOut, in_RateCodes);
     this.Rate = in_Rate;
     this.WeightTable = new WeightTableStruct(in_DRG_WgtTableID, in_DRG_WgtTableName);
 }