protected void GridViewRecordDiagnosesAdd_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName.Equals("AddRecordDiagnosis"))
            {
                try
                {
                    string patientNRIC = ViewState["GridViewPatientSelectedNRIC"].ToString();
                    string code        = e.CommandArgument.ToString();
                    long   recordID    = Convert.ToInt64(ViewState["GridViewRecordsSelectedRecord"]);

                    recordBLL.AddRecordDiagnosis(patientNRIC, recordID, code);

                    Bind_GridViewRecordDiagnoses();
                    ScriptManager.RegisterStartupScript(this, GetType(), "alert", "toastr['success']('Diagnosis has been Successfully Rttributed to Record.');", true);
                }
                catch
                {
                    ScriptManager.RegisterStartupScript(this, GetType(), "alert", "toastr['error']('Error occured when Attributing Diagnosis to Record.');", true);
                }
            }
        }