Uses of Class
com.ehealthsystem.doctor.Doctor
Package
Description
-
Uses of Doctor in com.ehealthsystem.appointment
Modifier and TypeMethodDescriptionAppointment.getDoctor()
return the doctor selected for the appointmentModifier and TypeMethodDescriptionprotected boolean
ScheduleLoader.loadSchedule
(LocalDate date, Doctor doctor, javafx.scene.control.Label dateLabel, javafx.scene.control.Button primaryActionButton) -
Uses of Doctor in com.ehealthsystem.database
Modifier and TypeMethodDescriptionstatic Doctor
Database.loadDoctorFromId
(int doctorId) Get a doctor by their IDModifier and TypeMethodDescriptionDatabase.getDoctors()
Get all doctors from the database as objects of class DoctorDatabase.getDoctorsBySpecialization
(String specialization) Get all doctors that have a specified specialization from the database as objects of class DoctorDatabase.loadDoctorsFromResultSet
(ResultSet rs) Helper method to turn result set into array of Doctor objectsModifier and TypeMethodDescriptionstatic ArrayList<DoctorTimeSlot>
Database.getDoctorsFreeTimes
(Doctor doctor, LocalDate selectedDate) Deprecated.: FoundDoctorFullController.getFreeTimeSlots() is used instead -
Uses of Doctor in com.ehealthsystem.doctor
Modifier and TypeMethodDescriptionstatic ArrayList<DoctorTimeSlot>
DoctorTimeSlot.getFreeTimeSlots
(LocalDate date, Doctor doctor) Get a list of possible time slots, including whether they are free or not -
Uses of Doctor in com.ehealthsystem.map
Modifier and TypeMethodDescriptionstatic ArrayList<DoctorDistance>
GeoDistance.filterDoctorsInRangeBatchRequest
(ArrayList<Doctor> doctors, String userGeoData, double range) Reduce a list of doctors to only include ones that are in a specific range from the user, determining the distance using Google Maps DistanceMatrix API, sent in a single batch requeststatic ArrayList<DoctorDistance>
GeoDistance.filterDoctorsInRangeIndividualRequests
(ArrayList<Doctor> doctors, String userGeoData, double range) Reduce a list of doctors to only include ones that are in a specific range from the user, determining the distance using Google Maps DistanceMatrix API, requests sent individuallystatic ArrayList<DoctorDistance>
GeoDistance.filterDoctorsInRangeWithLocalCalculation
(ArrayList<Doctor> doctors, com.google.maps.model.LatLng location, double range) Reduce a list of doctors to only include ones that are in a specific range from the user, determining the distance using local calculation (Haversine formula)ModifierConstructorDescriptionDoctorDistance
(double distance, String geodata, Doctor doctor) set the set distance from the doctor to the user, the geodata and the indication of which doctor is meant