dashboard

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePatientInput added in v1.3.9

type CreatePatientInput struct {
	Email       string                                `json:"email"`
	MedicalInfo medical_folder.CreateMedicalInfoInput `json:"medical_info"`
}

type DeletePatientResponse added in v1.3.9

type DeletePatientResponse struct {
	UpdatedDoctor model.Doctor
	Code          int
	Err           error
}

func DeletePatient added in v1.3.9

func DeletePatient(PatientId string, doctorId string) DeletePatientResponse

type GetPatientByIdResponse

type GetPatientByIdResponse struct {
	PatientInfo PatientWithMedicalInfo `json:"patient_info"`
	Code        int
	Err         error
}

func GetPatientById

func GetPatientById(id string, doctorid string) GetPatientByIdResponse

type GetPatientsResponse

type GetPatientsResponse struct {
	PatientsInfo []PatientWithMedicalInfo `json:"patients_info"`
	Code         int
	Err          error
}

func GetPatients

func GetPatients(doctorId string) GetPatientsResponse

type PatientByIdResponse added in v1.3.9

type PatientByIdResponse struct {
	Patient     model.Patient
	MedicalInfo model.MedicalInfo
	Code        int
	Err         error
}

func CreatePatientFormDoctor added in v1.3.9

func CreatePatientFormDoctor(newPatient CreatePatientInput, doctorID string) PatientByIdResponse

type PatientWithMedicalInfo added in v1.3.9

type PatientWithMedicalInfo struct {
	ID            string            `json:"id"`
	Email         string            `json:"email"`
	MedicalInfo   model.MedicalInfo `json:"medical_info"`
	RendezVousIds []string          `json:"rendez_vous_ids"`
	DocumentsIds  []string          `json:"documents_ids"`
}

Jump to

Keyboard shortcuts

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