Documentation ¶
Index ¶
- type AddMedicalAntecedentResponse
- type CreateAntecedentPeriod
- type CreateAntecedentsMedicines
- type CreateNewMedicalAntecedentInput
- type CreateNewMedicalInfoInput
- type CreateNewMedicalInfoResponse
- type CreateTreatInput
- type DeleteMedicalAntecedentResponse
- type GetMedicalAntecedentResponse
- type GetMedicalAntecedentsResponse
- type MedicalFolderResponse
- type NewDeleteMedicalInfoResponse
- type UpdateMedicalAntecedentResponse
- type UpdateMedicalFolderPatientInput
- type UpdateMedicalFolderPatientResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMedicalAntecedentResponse ¶ added in v2.3.0
type AddMedicalAntecedentResponse struct { MedicalInfo model.MedicalInfo MedicalAntecedents []model.MedicalAntecedents Code int Err error }
func AddMedicalAntecedent ¶ added in v2.3.0
func AddMedicalAntecedent(input CreateNewMedicalAntecedentInput, userID string) AddMedicalAntecedentResponse
type CreateAntecedentPeriod ¶ added in v2.3.0
type CreateAntecedentsMedicines ¶ added in v2.3.0
type CreateAntecedentsMedicines struct { MedicineID string `json:"medicine_id"` Comment *string `json:"comment"` Period []*CreateAntecedentPeriod `json:"period"` }
type CreateNewMedicalAntecedentInput ¶ added in v2.3.0
type CreateNewMedicalAntecedentInput struct { Name string `json:"name"` Symptoms []string `json:"symptoms"` Treatments []CreateTreatInput `json:"treatments"` }
type CreateNewMedicalInfoInput ¶ added in v2.3.0
type CreateNewMedicalInfoInput 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 []CreateNewMedicalAntecedentInput `json:"medical_antecedents"` FamilyMembersMedInfoId []string `json:"family_members_med_info_id"` }
type CreateNewMedicalInfoResponse ¶ added in v2.3.0
type CreateNewMedicalInfoResponse struct { MedicalInfo model.MedicalInfo MedicalAntecedents []model.MedicalAntecedents Code int Err error }
func NewMedicalFolder ¶ added in v2.3.0
func NewMedicalFolder(input CreateNewMedicalInfoInput, patientID string) CreateNewMedicalInfoResponse
type CreateTreatInput ¶ added in v2.3.0
type CreateTreatInput struct { StartDate int `json:"start_date"` EndDate int `json:"end_date"` Medicines []CreateAntecedentsMedicines `json:"medicines"` }
type DeleteMedicalAntecedentResponse ¶ added in v2.3.0
type DeleteMedicalAntecedentResponse struct { Deleted bool UpdatedPatient model.Patient Code int Err error }
func DeleteMedicalAntecedent ¶ added in v2.3.0
func DeleteMedicalAntecedent(antecedentId string, patientId string) DeleteMedicalAntecedentResponse
type GetMedicalAntecedentResponse ¶ added in v2.3.0
type GetMedicalAntecedentResponse struct { MedicalAntecedent model.MedicalAntecedents Code int Err error }
func GetMedicalAntecedentById ¶ added in v2.3.3
func GetMedicalAntecedentById(antecdentID string, patientID string) GetMedicalAntecedentResponse
type GetMedicalAntecedentsResponse ¶ added in v2.3.0
type GetMedicalAntecedentsResponse struct { MedicalAntecedents []model.MedicalAntecedents Code int Err error }
func GetMedicalAntecedents ¶ added in v2.3.3
func GetMedicalAntecedents(patientID string) GetMedicalAntecedentsResponse
type MedicalFolderResponse ¶ added in v2.3.0
type MedicalFolderResponse struct { MedicalInfo model.MedicalInfo MedicalAntecedents []model.MedicalAntecedents Code int Err error }
func GetMedicalFolder ¶ added in v2.3.0
func GetMedicalFolder(patientID string) MedicalFolderResponse
type NewDeleteMedicalInfoResponse ¶ added in v2.3.0
type NewDeleteMedicalInfoResponse struct { Deleted bool UpdatedPatient model.Patient Code int Err error }
func NewDeleteMedicalInfo ¶ added in v2.3.0
func NewDeleteMedicalInfo(medicalId string, patientId string) NewDeleteMedicalInfoResponse
type UpdateMedicalAntecedentResponse ¶ added in v2.3.0
type UpdateMedicalAntecedentResponse struct { UpdatedAntecedent model.MedicalAntecedents Code int Err error }
func UpdateMedicalAntecedent ¶ added in v2.3.0
func UpdateMedicalAntecedent(patientID string, input UpdateMedicalFolderPatientInput, MedicalAntecedentID string) UpdateMedicalAntecedentResponse
type UpdateMedicalFolderPatientInput ¶ added in v2.3.2
type UpdateMedicalFolderPatientInput struct {
MedicalAntecedentInput model.UpdateMedicalAntecedentsInput `json:"medical_antecedent"`
}
type UpdateMedicalFolderPatientResponse ¶ added in v2.3.0
type UpdateMedicalFolderPatientResponse struct { MedicalFolder model.MedicalInfo Code int Err error }
func UpdateMedicalFolderPatient ¶ added in v2.3.0
func UpdateMedicalFolderPatient(patientID string, input model.UpdateMedicalFolderInput) UpdateMedicalFolderPatientResponse
Click to show internal directories.
Click to hide internal directories.