Documentation
¶
Index ¶
- type AnteDiseaseWithTreatments
- type CreateMedicalAntecedentInput
- type CreateMedicalInfoInput
- type CreateMedicalInfoResponse
- type CreateMedicineInput
- type DeleteMedicalInfoResponse
- type MedicalInfoResponse
- type UpdateMedicalAntecedentInput
- type UpdateMedicalFolderResponse
- type UpdateMedicalInfoInput
- type UpdateMedicineInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnteDiseaseWithTreatments ¶ added in v1.5.0
type AnteDiseaseWithTreatments struct { AnteDisease model.AnteDisease Treatments []model.Treatment }
type CreateMedicalAntecedentInput ¶ added in v1.4.8
type CreateMedicalAntecedentInput struct { Name string `json:"name"` Medicines []CreateMedicineInput `json:"treatments"` 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,omitempty"` MedicalAntecedents []CreateMedicalAntecedentInput `json:"medical_antecedents"` }
type CreateMedicalInfoResponse ¶
type CreateMedicalInfoResponse struct { MedicalInfo model.MedicalInfo AnteDiseasesWithTreatments []AnteDiseaseWithTreatments Code int Err error }
func CreateMedicalInfo ¶
func CreateMedicalInfo(input CreateMedicalInfoInput, patientID string) CreateMedicalInfoResponse
type CreateMedicineInput ¶ added in v1.4.8
type DeleteMedicalInfoResponse ¶
type DeleteMedicalInfoResponse struct { Deleted bool UpdatedPatient model.Patient Code int Err error }
func DeleteMedicalInfo ¶
func DeleteMedicalInfo(medicalId string, patientId string) DeleteMedicalInfoResponse
type MedicalInfoResponse ¶ added in v1.5.0
type MedicalInfoResponse struct { MedicalInfo model.MedicalInfo AnteDiseasesWithTreatments []AnteDiseaseWithTreatments Code int Err error }
func GetMedicalInfo ¶ added in v1.5.0
func GetMedicalInfo(patientID string) MedicalInfoResponse
type UpdateMedicalAntecedentInput ¶ added in v1.5.0
type UpdateMedicalAntecedentInput struct { ID string `json:"antedisease_id"` Name string `json:"name"` Medicines []UpdateMedicineInput `json:"treatments"` StillRelevant bool `json:"still_relevant"` }
type UpdateMedicalFolderResponse ¶
type UpdateMedicalFolderResponse struct { MedicalInfo model.MedicalInfo AnteDiseasesWithTreatments []AnteDiseaseWithTreatments Code int Err error }
func UpdateMedicalFolder ¶
func UpdateMedicalFolder(input UpdateMedicalInfoInput, medicalInfoID string) UpdateMedicalFolderResponse
func UpdateMedicalFolderFromDoctor ¶ added in v1.3.9
func UpdateMedicalFolderFromDoctor(input UpdateMedicalInfoInput, PatientID string) UpdateMedicalFolderResponse
type UpdateMedicalInfoInput ¶ added in v1.5.0
type UpdateMedicalInfoInput 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,omitempty"` MedicalAntecedents []UpdateMedicalAntecedentInput `json:"medical_antecedents"` }
Click to show internal directories.
Click to hide internal directories.