appointment

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookAppointmentResponse

type BookAppointmentResponse struct {
	Rdv     model.Rdv
	Patient model.Patient
	Code    int
	Err     error
}

func BookAppointment

func BookAppointment(appointmentId string, patientId string) BookAppointmentResponse

type CancelRdvResponse

type CancelRdvResponse struct {
	Reason string
	Code   int
	Err    error
}

func CancelRdv

func CancelRdv(id string, reason string) CancelRdvResponse

type CreateRdvResponse

type CreateRdvResponse struct {
	Rdv    model.Rdv
	Doctor model.Doctor
	Code   int
	Err    error
}

func CreateRdv

func CreateRdv(patientId string, doctorId string, startDate int, endDate int) CreateRdvResponse

type DeleteRdvResponse

type DeleteRdvResponse struct {
	UpdatedPatient model.Patient
	Code           int
	Err            error
}

func DeleteRdv

func DeleteRdv(rdvId string, patientId string) DeleteRdvResponse

type EditRdvResponse

type EditRdvResponse struct {
	Rdv     model.Rdv
	Patient model.Patient
	Code    int
	Err     error
}

func EditRdv

func EditRdv(newAppointmentId string, appointmentId string, patientId string) EditRdvResponse

type GetAllDoctorAppointmentResponse

type GetAllDoctorAppointmentResponse struct {
	Slots []model.Rdv
	Code  int
	Err   error
}

func GetAllDoctorAppointment

func GetAllDoctorAppointment(doctorId string) GetAllDoctorAppointmentResponse

type GetDoctorAppointmentResponse

type GetDoctorAppointmentResponse struct {
	Appointment model.Rdv
	Code        int
	Err         error
}

func GetDoctorAppointment

func GetDoctorAppointment(appointmentId string, doctorId string) GetDoctorAppointmentResponse

type GetRdvDoctorResponse

type GetRdvDoctorResponse struct {
	Rdv  []model.Rdv
	Code int
	Err  error
}

func GetRdvDoctor

func GetRdvDoctor(doctorId string) GetRdvDoctorResponse

type GetRdvPatientResponse

type GetRdvPatientResponse struct {
	Rdv  model.Rdv
	Code int
	Err  error
}

func GetRdvPatient

func GetRdvPatient(appointmentId string, patientId string) GetRdvPatientResponse

type GetRdvResponse

type GetRdvResponse struct {
	Rdv  []model.Rdv
	Code int
	Err  error
}

func GetRdv

func GetRdv(patientId string) GetRdvResponse

type UpdateDoctorAppointmentStruct

type UpdateDoctorAppointmentStruct struct {
	Rdv     model.Rdv
	Patient model.Patient
	Code    int
	Err     error
}

func UpdateDoctorAppointment

func UpdateDoctorAppointment(newAppointmentId string, appointmentId string) UpdateDoctorAppointmentStruct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL