private void button1_Click(object sender, EventArgs e)
        {
            Firebase.Firebase firebase = new Firebase.Firebase();

            Patient patient = new Patient()
            {
                id                = currentPatient.id,
                firstname         = txtFirstname.Text,
                middlename        = txtMiddleName.Text,
                lastname          = txtLastname.Text,
                gender            = char.Parse(cmbGender.SelectedItem.ToString()),
                birthdate         = dtpBirthdate.Value,
                birthplace        = txtBirthplace.Text,
                contact           = txtContact.Text,
                emergency_contact = txtEmergencyContact.Text,
                address           = txtStreet.Text + "/" + txtBaranggay.Text + "/" + txtCity.Text,
                occupation        = txtOccupation.Text,
                citizenship       = txtCitizenship.Text,
                religion          = txtReligion.Text,
            };

            PatientHelper.Update(patient);
            firebase.UpdatePatientMember(patient);


            this.DialogResult = System.Windows.Forms.DialogResult.OK;
        }