AppointmentChangeRecord¶
-
public class
AppointmentChangeRecord
¶ AppointmentChangeRecord class to capture the changes in the status of the appointment
Constructors¶
AppointmentChangeRecord¶
-
public
AppointmentChangeRecord
(String externalId, String appointmentId, DateTime appointmentDate, AppointmentStatus fromStatus, AppointmentStatus toStatus)¶ Constructs a new record.
Parameters: - externalId – external Id of the patient
- appointmentId – appointment id of the appointment being changed
- appointmentDate – date of the appointment creation/change
- fromStatus – previous appointment status being changed
- toStatus – current appointment status to change to
Methods¶
getAppointmentDate¶
getAppointmentId¶
getFromStatus¶
-
public AppointmentStatus
getFromStatus
()¶ Returns: previous appointment status being changed
getToStatus¶
-
public AppointmentStatus
getToStatus
()¶ Returns: current appointment status to change to
setAppointmentDate¶
setAppointmentId¶
setExternalId¶
setFromStatus¶
-
public void
setFromStatus
(AppointmentStatus fromStatus)¶ Parameters: - fromStatus – previous appointment status being changed
setToStatus¶
-
public void
setToStatus
(AppointmentStatus toStatus)¶ Parameters: - toStatus – current appointment status to change to