/// <summary>
    /// click tiu note uncheck read only
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void cblTIUNote_SelectedIndexChanged(object sender, EventArgs e)
    {
        CCheckBoxList cbl    = new CCheckBoxList();
        int           nIndex = cbl.GetIndexJustSelected(Request, cblTIUNote);

        if (nIndex != -1)
        {
            //0 = administrator
            //1 = doctor
            //2 = nurse
            //
            if (cblTIUNote.Items[nIndex].Selected)
            {
                cblReadOnly.Items[nIndex].Selected = false;
                cblViewable.Items[nIndex].Selected = true;
            }
        }
    }
    /// <summary>
    /// if the user picks the ReadOnly option then they can't close
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void cblReadOnly_SelectedIndexChanged(object sender, EventArgs e)
    {
        CCheckBoxList cbl    = new CCheckBoxList();
        int           nIndex = cbl.GetIndexJustSelected(Request, cblReadOnly);

        if (nIndex != -1)
        {
            //0 = administrator
            //1 = doctor
            //2 = nurse
            //
            //read only can't close it or write a note...
            //
            if (cblReadOnly.Items[nIndex].Selected)
            {
                cblCloseable.Items[nIndex].Selected = false;
                cblTIUNote.Items[nIndex].Selected   = false;
                //
                //read only viewable is true
                cblViewable.Items[nIndex].Selected = true;
            }
        }
    }