public void GetTheRandomPatientValue()
        {
            var value = "patient1";

            if (AppSettingsHelper.RandomPatientEnabled == true)
            {
                value = RandomPatientSteps.ReturnRandomPatient();
            }

            _httpSteps.ConfigureRequest(GpConnectInteraction.PatientSearch);

            AddAPatientIdentifierParameterWithDefaultSystemAndValue(value);

            _httpSteps.MakeRequest(GpConnectInteraction.PatientSearch);
        }
        public void CreateAnAppointmentForRandomPatientAndOrganizationCode(string code)
        {
            var patient = "patient1";

            if (AppSettingsHelper.RandomPatientEnabled == true)
            {
                patient = RandomPatientSteps.ReturnRandomPatient();
            }

            _patientSteps.GetThePatientForPatientValue(patient);
            _patientSteps.StoreThePatient();

            _searchForFreeSlotsSteps.GetAvailableFreeSlots();
            _searchForFreeSlotsSteps.StoreTheFreeSlotsBundle();

            _httpSteps.ConfigureRequest(GpConnectInteraction.AppointmentCreate);

            CreateAnAppointmentFromTheStoredPatientAndStoredSchedule();

            _httpSteps.MakeRequest(GpConnectInteraction.AppointmentCreate);
        }