Last active
February 8, 2019 10:36
-
-
Save mfoti/5404c92f92a692ba5aae5441f5b485ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* retrieve availabilities of one doctor from a planner service | |
* @param \DateTime $start_time | |
* @param \DateTime $end_time | |
* @param int $doctor | |
* @param int $medical_center | |
* | |
* @return Lista_NON_Disponibilita : { | |
* ora_inizio: \DateTime, | |
* ora_fine: \DateTime | |
* } | |
*/ | |
abstract public function getAvailabilitiesByDoctorAndMedicalCenter(\DateTime $start_time, \DateTime $end_time, int $doctor, int $medical_center); | |
/** | |
* @param array $params | |
* | |
* (centro medico, prestazione, dottore) | |
* + (data/ora di inizio e durata appuntamento) | |
* + (dati paziente: (id, nome, cognome, tel, email + opzionali) | |
* | |
* @return id/false | |
*/ | |
abstract public function createBooking($params); | |
/** | |
* @param id | |
* @return bool | |
*/ | |
abstract public function deleteBooking($booking_id); | |
/** | |
* @return Lista prestazioni mediche | |
* https://giponext.it/:ID_TENANT/health-services | |
*/ | |
abstract public function getHealthServices(); | |
/** | |
* @return Lista dottori del tenant | |
* https://giponext.it/:ID_TENANT/doctors | |
*/ | |
abstract public function getDoctors(); | |
/** | |
* @return Lista sedi del tenant | |
* ES. https://giponext.it/:ID_TENANT/medical-centers | |
*/ | |
abstract public function getMedicalCenters(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment