Package org.cswteams.ms3.control.utils
Class DoctorAssignmentUtil
java.lang.Object
org.cswteams.ms3.control.utils.DoctorAssignmentUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDoctorsInConcreteShift(ConcreteShift concreteShift, List<ConcreteShiftDoctorStatus> status) This method retrieves all the doctors of some specific status (ON_DUTY, ON_CALL or REMOVED) which are assigned to a determined concrete shift.
-
Constructor Details
-
DoctorAssignmentUtil
public DoctorAssignmentUtil()
-
-
Method Details
-
getDoctorsInConcreteShift
public static List<Doctor> getDoctorsInConcreteShift(ConcreteShift concreteShift, List<ConcreteShiftDoctorStatus> status) This method retrieves all the doctors of some specific status (ON_DUTY, ON_CALL or REMOVED) which are assigned to a determined concrete shift.- Parameters:
concreteShift- The concrete shift from which the doctors have to be extractedstatus- The status of the doctors that have to be extracted- Returns:
- A list of the extracted doctors
-