follow_treatment

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateNewFollowUpInput

type CreateNewFollowUpInput struct {
	TreatmentId string   `json:"treatment_id"`
	Date        int      `json:"date"`
	Period      []string `json:"period"`
}

type CreateTreatmentFollowUpResponse

type CreateTreatmentFollowUpResponse struct {
	TreatmentFollowUp model.TreatmentsFollowUp
	Code              int
	Err               error
}

func CreateTreatmentFollowUp

func CreateTreatmentFollowUp(input CreateNewFollowUpInput, patientID string) CreateTreatmentFollowUpResponse

type DeleteFollowUpResponse

type DeleteFollowUpResponse struct {
	Deleted        bool
	UpdatedPatient model.Patient
	Code           int
	Err            error
}

func Delete_follow_up

func Delete_follow_up(id string, patientId string) DeleteFollowUpResponse

type GetTreatmentFollowUpByIdResponse

type GetTreatmentFollowUpByIdResponse struct {
	TreatmentFollowUp model.TreatmentsFollowUp
	Code              int
	Err               error
}

func GetTreatmentFollowUpById

func GetTreatmentFollowUpById(id string) GetTreatmentFollowUpByIdResponse

type GetTreatmentFollowUpsResponse

type GetTreatmentFollowUpsResponse struct {
	TreatmentFollowUps []model.TreatmentsFollowUp
	Code               int
	Err                error
}

func GetTreatmentFollowUp

func GetTreatmentFollowUp(patientId string) GetTreatmentFollowUpsResponse

Jump to

Keyboard shortcuts

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