Class DoctorAssignmentUtil

java.lang.Object
org.cswteams.ms3.control.utils.DoctorAssignmentUtil

public class DoctorAssignmentUtil extends Object
  • 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 extracted
      status - The status of the doctors that have to be extracted
      Returns:
      A list of the extracted doctors