public void CreateAnAppointmentWithoutOrgTypeFromTheStoredPatientAndStoredSchedule() { var appointmentBuilder = new DefaultAppointmentBuilder(_fhirResourceRepository); _fhirResourceRepository.Appointment = appointmentBuilder.BuildAppointment(false, false, false); _fhirResourceRepository.Appointment.ShouldNotBeNull("Built appointment is null."); }
public void CreateAnAppointmentWithOrgTypeWithChannelWithPracRole(Boolean addOrgType, Boolean addDeliveryChannel, Boolean addPracRole) { var appointmentBuilder = new DefaultAppointmentBuilder(_fhirResourceRepository); _fhirResourceRepository.Appointment = appointmentBuilder.BuildAppointment(addOrgType, addDeliveryChannel, addPracRole); _fhirResourceRepository.Appointment.ShouldNotBeNull("Built appointment is null."); }