protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //btnSave.Attributes.Add("onclick", "return formValidator('form1','ddldoctor,txtAppointmentDate,extddlVisitType,ddlHours');");
            dset           = new DataSet();
            objCaseDetails = new CaseDetailsBO();
            string sz_case_id     = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_CASE_ID.ToString();
            string sz_company_id  = (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID).ToString();
            string sz_location_Id = objCaseDetails.GetPatientLocationID(sz_case_id, sz_company_id);


            // txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            // extddlVisitType.Flag_ID = txtCompanyID.Text;


            //checkForReferringFacility();
        }
    }