Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMedicalAntecedent ¶
type CreateMedicalAntecedent struct { Name string `json:"name"` Medicines []CreateMedicine `json:"medicines"` StillRelevant bool `json:"still_relevant"` }
type CreateMedicalInfoInput ¶
type CreateMedicalInfoInput struct { Name string `json:"name"` Firstname string `json:"firstname"` Birthdate int `json:"birthdate"` Sex string `json:"sex"` Weight int `json:"weight"` Height int `json:"height"` PrimaryDoctorID string `json:"primary_doctor_id"` MedicalAntecedents []CreateMedicalAntecedent `json:"medical_antecedents"` OnboardingStatus string `json:"onboarding_status"` }
type CreateMedicalInfoResponse ¶
type CreateMedicalInfoResponse struct { MedicalInfo model.MedicalInfo // MedicalAntecedents []*model.MedicalAntecedents // Medicines model.Medicines Patient model.Patient Code int Err error }
func CreateMedicalInfo ¶
func CreateMedicalInfo(input CreateMedicalInfoInput, patientID string) CreateMedicalInfoResponse
type CreateMedicine ¶
type DeleteMedicalInfoResponse ¶
type DeleteMedicalInfoResponse struct { Deleted bool UpdatedPatient model.Patient Code int Err error }
func DeleteMedicalInfo ¶
func DeleteMedicalInfo(medicalId string, patientId string) DeleteMedicalInfoResponse
type GetMedicalInfoByIdResponse ¶
type GetMedicalInfoByIdResponse struct { MedicalInfo model.MedicalInfo Code int Err error }
func GetMedicalInfosById ¶
func GetMedicalInfosById(id string) GetMedicalInfoByIdResponse
type UpdateMedicalFolderResponse ¶
type UpdateMedicalFolderResponse struct { MedicalInfo model.MedicalInfo Code int Err error }
func UpdateMedicalFolder ¶
func UpdateMedicalFolder(newMedicalInfo CreateMedicalInfoInput, medicalInfoID string) UpdateMedicalFolderResponse
func UpdateMedicalFolderFromDoctor ¶ added in v1.3.9
func UpdateMedicalFolderFromDoctor(newMedicalInfo CreateMedicalInfoInput, PatientID string) UpdateMedicalFolderResponse
Click to show internal directories.
Click to hide internal directories.