Documentation
¶
Index ¶
- type BookAppointmentResponse
- type CancelRdvResponse
- type CreateRdvResponse
- type DeleteRdvResponse
- type EditRdvResponse
- type GetAllDoctorAppointmentResponse
- type GetDoctorAppointmentResponse
- type GetRdvDoctorResponse
- type GetRdvPatientResponse
- type GetRdvResponse
- type GetWaitingReviewResponse
- type RdvSessionPair
- type ReviewInput
- type SessionSummary
- type UpdateDoctorAppointmentStruct
- type ValidateRdvResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookAppointmentResponse ¶
func BookAppointment ¶
func BookAppointment(appointmentId string, patientId string, session_id string) BookAppointmentResponse
type CancelRdvResponse ¶
func CancelRdv ¶
func CancelRdv(id string, reason string) CancelRdvResponse
type CreateRdvResponse ¶
type DeleteRdvResponse ¶
func DeleteRdv ¶
func DeleteRdv(rdvId string, patientId string) DeleteRdvResponse
type EditRdvResponse ¶
func EditRdv ¶
func EditRdv(newAppointmentId string, appointmentId string, patientId string) EditRdvResponse
func ValidateRdv ¶
func ValidateRdv(appointmentId string, input ReviewInput) EditRdvResponse
type GetAllDoctorAppointmentResponse ¶
func GetAllDoctorAppointment ¶
func GetAllDoctorAppointment(doctorId string) GetAllDoctorAppointmentResponse
type GetDoctorAppointmentResponse ¶
func GetDoctorAppointment ¶
func GetDoctorAppointment(appointmentId string, doctorId string) GetDoctorAppointmentResponse
type GetRdvDoctorResponse ¶
func GetRdvDoctor ¶
func GetRdvDoctor(doctorId string) GetRdvDoctorResponse
type GetRdvPatientResponse ¶
func GetRdvPatient ¶
func GetRdvPatient(appointmentId string, patientId string) GetRdvPatientResponse
type GetRdvResponse ¶
func GetRdv ¶
func GetRdv(patientId string) GetRdvResponse
type GetWaitingReviewResponse ¶
type GetWaitingReviewResponse struct {
RdvWithSession []RdvSessionPair
Code int
Err error
}
func GetWaitingReview ¶
func GetWaitingReview(doctorId string, page int, size int) GetWaitingReviewResponse
type RdvSessionPair ¶
type RdvSessionPair struct {
Rdv model.Rdv `json:"rdv"`
Session SessionSummary `json:"session"`
}
type ReviewInput ¶
type SessionSummary ¶
type SessionSummary struct {
Diseases []model.SessionDiseases `json:"diseases"`
Fiability float64 `json:"fiability"`
Symptoms []model.SessionSymptom `json:"symptoms"`
Logs []model.LogsInput `json:"logs"`
Alerts []model.Alert `json:"alerts"`
}
type UpdateDoctorAppointmentStruct ¶
type UpdateDoctorAppointmentStruct struct {
Rdv model.Rdv
Patient model.Patient
Code int
Err error
}
func UpdateDoctorAppointment ¶
func UpdateDoctorAppointment(newAppointmentId string, appointmentId string) UpdateDoctorAppointmentStruct
Click to show internal directories.
Click to hide internal directories.