/// <summary>
        /// Executes the following code if a User clicked the ADD NOTE button on the Notes page.
        /// </summary>
        protected void EditFalse()
        {
            string medicName = HttpContext.Current.User.Identity.Name.ToString();

            TrinityClassLibrary_BL.Medic currentMedic = MedicProvider.Fetch(medicName);

            // Gets the selected Patient from Session that was stored in the Patient page.
            TrinityClassLibrary_BL.Patient currentPatient = (TrinityClassLibrary_BL.Patient)Session["Patient"];

            TrinityClassLibrary_BL.Rig currentPatientRig = RigProvider.Fetch(Convert.ToInt32(currentPatient.RigID));

            // Stores the current Medic and Patients Rig to session for use in the Save/Email methods.
            Session["CurrentMedic"]      = currentMedic;
            Session["CurrentPatientRig"] = currentPatientRig;

            // Gets the current Medics security level.
            this.MedicSecurityLevelView( );

            // Calls IsNull to check the patient variables for nulls before placing into literal.
            ArrayList patientInfo = new ArrayList();

            this.IsNull(patientInfo);

            // Populates the Patient Info literal.
            this.litPatientInfo.Text = patientInfo[0].ToString() + ": " + patientInfo[1].ToString() + ", " + patientInfo[2].ToString() + " (" + patientInfo[3].ToString() + ")";

            // Stores PatientInfo to session for use in the Email method.
            Session["PatientInfo"] = this.litEditPatientInfo.Text;

            // Shows the Add form - Ensures Edit Form is hidden.
            this.pnlEditNote.Visible = false;
            this.pnlAddNote.Visible  = true;
        }
        /// <summary>
        /// Executes the following code if a User clicked on an Additonal Note to EDIT on the Notes page.
        /// </summary>
        protected void EditTrue()
        {
            string medicName = HttpContext.Current.User.Identity.Name.ToString();

            TrinityClassLibrary_BL.Medic currentMedic = MedicProvider.Fetch(medicName);
            AdditionalPatientNote        currentNote  = AdditionalPatientNoteProvider.Fetch(Convert.ToInt32(Session["NoteID"]));

            Session["CurrentNoteToSave"] = currentNote;

            // Gets the current Patient stored in Session from the Patient page.
            TrinityClassLibrary_BL.Patient currentPatient = (TrinityClassLibrary_BL.Patient)Session["Patient"];

            TrinityClassLibrary_BL.Rig currentPatientRig = RigProvider.Fetch(Convert.ToInt32(currentPatient.RigID));

            // Stores the current Medic and Patients Rig to session for use in the Save/Email methods.
            Session["CurrentMedic"]      = currentMedic;
            Session["CurrentPatientRig"] = currentPatientRig;

            // Gets the current Notes Security Level.
            this.NoteSecurityLevel(currentNote.SecurityLevel);

            // Populates textbox with the current note attached to Patient (if any).
            if (string.IsNullOrEmpty(currentNote.Notes))
            {
                this.txtAdminEditNote.Text = "";
            }
            else
            {
                this.txtAdminEditNote.Text = currentNote.Notes.ToString(); this.lblEditCharCount.Text = "Message Length: " + this.txtAdminEditNote.Text.Length.ToString();
            }

            // Calls IsNull to check the patient variables for nulls before placing into literal.
            ArrayList patientInfo = new ArrayList();

            this.IsNull(patientInfo);

            this.litEditPatientInfo.Text = patientInfo[0].ToString() + ": " + patientInfo[1].ToString() + ", " + patientInfo[2].ToString() + " (" + patientInfo[3].ToString() + ")";

            // Stores PatientInfo to session for use in the Email method.
            Session["PatientInfo"] = this.litEditPatientInfo.Text;

            // Shows the Edit Form - Ensures Add Form is hidden.
            this.pnlEditNote.Visible = true;
            this.pnlAddNote.Visible  = false;
        }