Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCreateToUpdateMedicalInfoInput ¶
func ConvertCreateToUpdateMedicalInfoInput(createInput medical_folder.CreateMedicalInfoInput) medical_folder.UpdateMedicalInfoInput
Types ¶
type CreatePatientInput ¶
type CreatePatientInput struct { Email string `json:"email"` MedicalInfo medical_folder.CreateMedicalInfoInput `json:"medical_info"` }
type DeletePatientResponse ¶
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"` }
Click to show internal directories.
Click to hide internal directories.