public void loadARVHistory()
        {
            DataSet theDS1       = new DataSet();
            DataSet ARVHistoryDS = new DataSet();

            //IKNHStaticForms ARVHistory = (IKNHStaticForms)ObjectFactory.CreateInstance("BusinessProcess.Clinical.BKNHStaticForms, BusinessProcess.Clinical");
            theDS1 = WorkPlan.GetLastRegimenDispensed(Convert.ToInt32(Session["PatientId"]));

            if (theDS.Tables[0].Rows.Count > 0)
            {
                this.UserControl_VitalsExtruder1.UserControl_ARVHistoryExtruder1.lblLastRegimen.Text = theDS1.Tables[1].Rows[0][0].ToString();
                this.UserControl_VitalsExtruder1.UserControl_ARVHistoryExtruder1.lblPrevRegimen.Text = theDS1.Tables[2].Rows[0][0].ToString();
            }
            ARVHistoryDS = WorkPlan.GetPatientDrugHistory(Convert.ToInt32(Session["PatientId"]));
            BindGridARV(ARVHistoryDS.Tables[0]);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            IKNHStaticForms ARVHistory = (IKNHStaticForms)ObjectFactory.CreateInstance("BusinessProcess.Clinical.BKNHStaticForms, BusinessProcess.Clinical");

            theDS = ARVHistory.GetLastRegimenDispensed(Convert.ToInt32(Session["PatientId"]));

            if (theDS.Tables[0].Rows.Count > 0)
            {
                lblLastRegimen.Text = theDS.Tables[1].Rows[0][0].ToString();
            }

            ARVHistoryDS = ARVHistory.GetPatientDrugHistory(Convert.ToInt32(Session["PatientId"]));

            BindGridARV(ARVHistoryDS.Tables[0]);

            //grdARVHistory.DataSource = ARVHistoryDS.Tables[0];
            //grdARVHistory.DataBind();
        }