dashboard

package
v2.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type CreatePatientInput

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

type DeletePatientResponse

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

func DeletePatient

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

type PatientByIdResponse struct {
	Patient                    model.Patient
	MedicalInfo                model.MedicalInfo
	AnteDiseasesWithTreatments []medical_folder.AnteDiseaseWithTreatments
	Code                       int
	Err                        error
}

func CreatePatientFormDoctor

func CreatePatientFormDoctor(newPatient CreatePatientInput, doctorID string) PatientByIdResponse

type PatientWithMedicalInfo

type PatientWithMedicalInfo struct {
	ID                string                                     `json:"id"`
	Email             string                                     `json:"email"`
	MedicalInfo       model.MedicalInfo                          `json:"medical_info"`
	Antedisease       []medical_folder.AnteDiseaseWithTreatments `json:"antedisease"`
	RendezVousIds     []*string                                  `json:"rendez_vous_ids"`
	DocumentsIds      []*string                                  `json:"documents_ids"`
	TreatmentFollowUp []*string                                  `json:"treatment_follow_up"`
}

Jump to

Keyboard shortcuts

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