//Adds patients meta-data into sqlite storage
        private void AddPatientToList()
        {
            RaiseButtonPressed();

            IsBusy = true;

            //Must be set to false, set to true for testing
            IsButtonEnabled = true;

            try
            {
                //Connect to the local database and insert item
                PatientsWaintingLineDb.InsertPatient(patientObj);

                //Remove from PatientAwaitingCheckIn
                PatientAwatingCheckIn.RemoveFromList(patientObj);

                Task.Delay(250);

                //Auto close the pop up afterwards
                PopupNavigation.Instance.PopAllAsync(true);
            }
            catch (Exception ex)
            {
                //also send error logging to backend
                throw ex;
            }
            finally
            {
                IsBusy = false;

                IsButtonEnabled = true;
            }
        }