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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 5
0
 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;
 }
Exemplo n.º 6
0
 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;
 }
Exemplo n.º 7
0
 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;
 }
Exemplo n.º 8
0
 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;
 }
Exemplo n.º 9
0
 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;
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 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"));
 }
Exemplo n.º 12
0
 public void insertCodes(CodesBO codes)
 {
     updateCodes(codes);
 }
Exemplo n.º 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;
        }
Exemplo n.º 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;
 }
Exemplo n.º 15
0
 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);
 }
Exemplo n.º 16
0
 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);
 }