AppointmentDataService

public interface AppointmentDataService extends MotechDataService<Appointment>

Interface to utilize the MDS CRUD operations for appointment service

Methods

findAppointmentByExternalIdAndStatus

List<Appointment> findAppointmentByExternalIdAndStatus(String externalId, AppointmentStatus status)

findAppointmentById

Appointment findAppointmentById(String apptId)

findAppointmentByStatus

List<Appointment> findAppointmentByStatus(AppointmentStatus status)

findAppointmentsByExternalId

List<Appointment> findAppointmentsByExternalId(String externalId)