graphql

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CreateAdmin_Operation = `` /* 234-byte string literal not displayed */

The query or mutation executed by CreateAdmin.

View Source
const CreateAlert_Operation = `` /* 300-byte string literal not displayed */

The query or mutation executed by CreateAlert.

View Source
const CreateAnteChir_Operation = `` /* 246-byte string literal not displayed */

The query or mutation executed by CreateAnteChir.

View Source
const CreateAnteDisease_Operation = `` /* 428-byte string literal not displayed */

The query or mutation executed by CreateAnteDisease.

View Source
const CreateAnteFamily_Operation = `` /* 147-byte string literal not displayed */

The query or mutation executed by CreateAnteFamily.

View Source
const CreateChat_Operation = `` /* 281-byte string literal not displayed */

The query or mutation executed by CreateChat.

View Source
const CreateDemoAccount_Operation = `` /* 154-byte string literal not displayed */

The query or mutation executed by CreateDemoAccount.

View Source
const CreateDisease_Operation = `` /* 443-byte string literal not displayed */

The query or mutation executed by CreateDisease.

View Source
const CreateDoctor_Operation = `` /* 372-byte string literal not displayed */

The query or mutation executed by CreateDoctor.

View Source
const CreateDocument_Operation = `` /* 401-byte string literal not displayed */

The query or mutation executed by CreateDocument.

View Source
const CreateMedicalFolder_Operation = `` /* 612-byte string literal not displayed */

The query or mutation executed by CreateMedicalFolder.

View Source
const CreateMedicine_Operation = `` /* 368-byte string literal not displayed */

The query or mutation executed by CreateMedicine.

View Source
const CreateNotification_Operation = `` /* 192-byte string literal not displayed */

The query or mutation executed by CreateNotification.

View Source
const CreatePatient_Operation = `` /* 234-byte string literal not displayed */

The query or mutation executed by CreatePatient.

View Source
const CreateRdv_Operation = `` /* 468-byte string literal not displayed */

The query or mutation executed by CreateRdv.

View Source
const CreateSession_Operation = `` /* 791-byte string literal not displayed */

The query or mutation executed by CreateSession.

View Source
const CreateSymptom_Operation = `` /* 552-byte string literal not displayed */

The query or mutation executed by CreateSymptom.

View Source
const CreateTestAccount_Operation = `` /* 154-byte string literal not displayed */

The query or mutation executed by CreateTestAccount.

View Source
const CreateTreatment_Operation = `` /* 252-byte string literal not displayed */

The query or mutation executed by CreateTreatment.

View Source
const CreateTreatmentsFollowUp_Operation = `` /* 224-byte string literal not displayed */

The query or mutation executed by CreateTreatmentsFollowUp.

View Source
const DeleteAdmin_Operation = `
mutation DeleteAdmin ($id: String!) {
	deleteAdmin(id: $id)
}
`

The query or mutation executed by DeleteAdmin.

View Source
const DeleteAlert_Operation = `
mutation DeleteAlert ($id: String!) {
	deleteAlert(id: $id)
}
`

The query or mutation executed by DeleteAlert.

View Source
const DeleteAnteChir_Operation = `
mutation DeleteAnteChir ($id: String!) {
	deleteAnteChir(id: $id)
}
`

The query or mutation executed by DeleteAnteChir.

View Source
const DeleteAnteDisease_Operation = `
mutation DeleteAnteDisease ($id: String!) {
	deleteAnteDisease(id: $id)
}
`

The query or mutation executed by DeleteAnteDisease.

View Source
const DeleteAnteFamily_Operation = `
mutation DeleteAnteFamily ($id: String!) {
	deleteAnteFamily(id: $id)
}
`

The query or mutation executed by DeleteAnteFamily.

View Source
const DeleteChat_Operation = `
mutation DeleteChat ($id: String!) {
	deleteChat(id: $id)
}
`

The query or mutation executed by DeleteChat.

View Source
const DeleteDemoAccount_Operation = `
mutation DeleteDemoAccount ($id: String!) {
	deleteDemoAccount(id: $id)
}
`

The query or mutation executed by DeleteDemoAccount.

View Source
const DeleteDisease_Operation = `
mutation DeleteDisease ($id: String!) {
	deleteDisease(id: $id)
}
`

The query or mutation executed by DeleteDisease.

View Source
const DeleteDoctor_Operation = `
mutation DeleteDoctor ($id: String!) {
	deleteDoctor(id: $id)
}
`

The query or mutation executed by DeleteDoctor.

View Source
const DeleteDocument_Operation = `
mutation DeleteDocument ($id: String!) {
	deleteDocument(id: $id)
}
`

The query or mutation executed by DeleteDocument.

View Source
const DeleteMedicalFolder_Operation = `
mutation DeleteMedicalFolder ($id: String!) {
	deleteMedicalFolder(id: $id)
}
`

The query or mutation executed by DeleteMedicalFolder.

View Source
const DeleteMedicine_Operation = `
mutation DeleteMedicine ($id: String!) {
	deleteMedicine(id: $id)
}
`

The query or mutation executed by DeleteMedicine.

View Source
const DeleteNotification_Operation = `
mutation DeleteNotification ($id: String!) {
	deleteNotification(id: $id)
}
`

The query or mutation executed by DeleteNotification.

View Source
const DeletePatient_Operation = `
mutation DeletePatient ($id: String!) {
	deletePatient(id: $id)
}
`

The query or mutation executed by DeletePatient.

View Source
const DeleteRdv_Operation = `
mutation DeleteRdv ($id: String!) {
	deleteRdv(id: $id)
}
`

The query or mutation executed by DeleteRdv.

View Source
const DeleteSession_Operation = `
mutation DeleteSession ($id: String!) {
	deleteSession(id: $id)
}
`

The query or mutation executed by DeleteSession.

View Source
const DeleteSlot_Operation = `
mutation DeleteSlot ($id: String!) {
	deleteSlot(id: $id)
}
`

The query or mutation executed by DeleteSlot.

View Source
const DeleteSymptom_Operation = `
mutation DeleteSymptom ($id: String!) {
	deleteSymptom(id: $id)
}
`

The query or mutation executed by DeleteSymptom.

View Source
const DeleteTestAccount_Operation = `
mutation DeleteTestAccount ($id: String!) {
	deleteTestAccount(id: $id)
}
`

The query or mutation executed by DeleteTestAccount.

View Source
const DeleteTreatment_Operation = `
mutation DeleteTreatment ($id: String!) {
	deleteTreatment(id: $id)
}
`

The query or mutation executed by DeleteTreatment.

View Source
const DeleteTreatmentsFollowUp_Operation = `
mutation DeleteTreatmentsFollowUp ($id: String!) {
	deleteTreatmentsFollowUp(id: $id)
}
`

The query or mutation executed by DeleteTreatmentsFollowUp.

View Source
const GetAdminByEmail_Operation = `
query GetAdminByEmail ($email: String!) {
	getAdminByEmail(email: $email) {
		id
		email
		password
		name
		last_name
	}
}
`

The query or mutation executed by GetAdminByEmail.

View Source
const GetAdminById_Operation = `
query GetAdminById ($id: String!) {
	getAdminById(id: $id) {
		id
		email
		password
		name
		last_name
	}
}
`

The query or mutation executed by GetAdminById.

View Source
const GetAdmins_Operation = `
query GetAdmins {
	getAdmins {
		id
		email
		password
		name
		last_name
	}
}
`

The query or mutation executed by GetAdmins.

View Source
const GetAlertById_Operation = `
query GetAlertById ($id: String!) {
	getAlertById(id: $id) {
		id
		name
		sex
		height
		weight
		symptoms
		comment
	}
}
`

The query or mutation executed by GetAlertById.

View Source
const GetAlerts_Operation = `
query GetAlerts {
	getAlerts {
		id
		name
		sex
		height
		weight
		symptoms
		comment
	}
}
`

The query or mutation executed by GetAlerts.

View Source
const GetAnteChirByID_Operation = `
query GetAnteChirByID ($id: String!) {
	getAnteChirByID(id: $id) {
		id
		name
		localisation
		induced_symptoms
	}
}
`

The query or mutation executed by GetAnteChirByID.

View Source
const GetAnteChirs_Operation = `
query GetAnteChirs {
	getAnteChirs {
		id
		name
		localisation
		induced_symptoms
	}
}
`

The query or mutation executed by GetAnteChirs.

View Source
const GetAnteDiseaseByID_Operation = `` /* 162-byte string literal not displayed */

The query or mutation executed by GetAnteDiseaseByID.

View Source
const GetAnteDiseases_Operation = `` /* 132-byte string literal not displayed */

The query or mutation executed by GetAnteDiseases.

View Source
const GetAnteFamilies_Operation = `
query GetAnteFamilies {
	getAnteFamilies {
		id
		name
		disease
	}
}
`

The query or mutation executed by GetAnteFamilies.

View Source
const GetAnteFamilyByID_Operation = `
query GetAnteFamilyByID ($id: String!) {
	getAnteFamilyByID(id: $id) {
		id
		name
		disease
	}
}
`

The query or mutation executed by GetAnteFamilyByID.

View Source
const GetChatById_Operation = `` /* 177-byte string literal not displayed */

The query or mutation executed by GetChatById.

View Source
const GetChats_Operation = `` /* 171-byte string literal not displayed */

The query or mutation executed by GetChats.

View Source
const GetDemoAccountByEmail_Operation = `
query GetDemoAccountByEmail ($email: String!) {
	getDemoAccountByEmail(email: $email) {
		id
		email
		password
	}
}
`

The query or mutation executed by GetDemoAccountByEmail.

View Source
const GetDemoAccountById_Operation = `
query GetDemoAccountById ($id: String!) {
	getDemoAccountById(id: $id) {
		id
		email
		password
	}
}
`

The query or mutation executed by GetDemoAccountById.

View Source
const GetDemoAccounts_Operation = `
query GetDemoAccounts {
	getDemoAccounts {
		id
		email
		password
	}
}
`

The query or mutation executed by GetDemoAccounts.

View Source
const GetDiseaseById_Operation = `` /* 185-byte string literal not displayed */

The query or mutation executed by GetDiseaseById.

View Source
const GetDiseases_Operation = `` /* 155-byte string literal not displayed */

The query or mutation executed by GetDiseases.

View Source
const GetDoctorByEmail_Operation = `` /* 227-byte string literal not displayed */

The query or mutation executed by GetDoctorByEmail.

View Source
const GetDoctorById_Operation = `` /* 212-byte string literal not displayed */

The query or mutation executed by GetDoctorById.

View Source
const GetDoctorRdv_Operation = `` /* 213-byte string literal not displayed */

The query or mutation executed by GetDoctorRdv.

View Source
const GetDoctors_Operation = `` /* 182-byte string literal not displayed */

The query or mutation executed by GetDoctors.

View Source
const GetDocumentById_Operation = `` /* 152-byte string literal not displayed */

The query or mutation executed by GetDocumentById.

View Source
const GetDocuments_Operation = `
query GetDocuments {
	getDocuments {
		id
		owner_id
		name
		document_type
		category
		is_favorite
		download_url
	}
}
`

The query or mutation executed by GetDocuments.

View Source
const GetMedicalFolderByID_Operation = `` /* 208-byte string literal not displayed */

The query or mutation executed by GetMedicalFolderByID.

View Source
const GetMedicalFolder_Operation = `` /* 176-byte string literal not displayed */

The query or mutation executed by GetMedicalFolder.

View Source
const GetMedicineByID_Operation = `` /* 144-byte string literal not displayed */

The query or mutation executed by GetMedicineByID.

View Source
const GetMedicines_Operation = `
query GetMedicines {
	getMedicines {
		id
		name
		unit
		target_diseases
		treated_symptoms
		side_effects
	}
}
`

The query or mutation executed by GetMedicines.

View Source
const GetNlpReportsByVersion_Operation = `` /* 204-byte string literal not displayed */

The query or mutation executed by GetNlpReportsByVersion.

View Source
const GetNlpReports_Operation = `` /* 150-byte string literal not displayed */

The query or mutation executed by GetNlpReports.

View Source
const GetNotificationById_Operation = `
query GetNotificationById ($id: String!) {
	getNotificationById(id: $id) {
		id
		token
		title
		message
	}
}
`

The query or mutation executed by GetNotificationById.

View Source
const GetNotifications_Operation = `
query GetNotifications {
	getNotifications {
		id
		token
		title
		message
	}
}
`

The query or mutation executed by GetNotifications.

View Source
const GetPatientByEmail_Operation = `` /* 198-byte string literal not displayed */

The query or mutation executed by GetPatientByEmail.

View Source
const GetPatientById_Operation = `` /* 183-byte string literal not displayed */

The query or mutation executed by GetPatientById.

View Source
const GetPatientDocument_Operation = `` /* 158-byte string literal not displayed */

The query or mutation executed by GetPatientDocument.

View Source
const GetPatientRdv_Operation = `` /* 218-byte string literal not displayed */

The query or mutation executed by GetPatientRdv.

View Source
const GetPatientsFromDoctorById_Operation = `` /* 205-byte string literal not displayed */

The query or mutation executed by GetPatientsFromDoctorById.

View Source
const GetPatients_Operation = `` /* 153-byte string literal not displayed */

The query or mutation executed by GetPatients.

View Source
const GetRdvById_Operation = `` /* 188-byte string literal not displayed */

The query or mutation executed by GetRdvById.

View Source
const GetSessionById_Operation = `` /* 303-byte string literal not displayed */

The query or mutation executed by GetSessionById.

View Source
const GetSessions_Operation = `` /* 273-byte string literal not displayed */

The query or mutation executed by GetSessions.

View Source
const GetSlotById_Operation = `` /* 174-byte string literal not displayed */

The query or mutation executed by GetSlotById.

View Source
const GetSlots_Operation = `` /* 168-byte string literal not displayed */

The query or mutation executed by GetSlots.

View Source
const GetSymptomById_Operation = `` /* 183-byte string literal not displayed */

The query or mutation executed by GetSymptomById.

View Source
const GetSymptoms_Operation = `` /* 153-byte string literal not displayed */

The query or mutation executed by GetSymptoms.

View Source
const GetTestAccountByEmail_Operation = `
query GetTestAccountByEmail ($email: String!) {
	getTestAccountByEmail(email: $email) {
		id
		email
		password
	}
}
`

The query or mutation executed by GetTestAccountByEmail.

View Source
const GetTestAccountById_Operation = `
query GetTestAccountById ($id: String!) {
	getTestAccountById(id: $id) {
		id
		email
		password
	}
}
`

The query or mutation executed by GetTestAccountById.

View Source
const GetTestAccounts_Operation = `
query GetTestAccounts {
	getTestAccounts {
		id
		email
		password
	}
}
`

The query or mutation executed by GetTestAccounts.

View Source
const GetTreatmentByID_Operation = `
query GetTreatmentByID ($id: String!) {
	getTreatmentByID(id: $id) {
		id
		period
		day
		quantity
		medicine_id
	}
}
`

The query or mutation executed by GetTreatmentByID.

View Source
const GetTreatmentsFollowUpByID_Operation = `` /* 129-byte string literal not displayed */

The query or mutation executed by GetTreatmentsFollowUpByID.

View Source
const GetTreatmentsFollowUp_Operation = `
query GetTreatmentsFollowUp ($id: String!) {
	getTreatmentsFollowUps(id: $id) {
		id
		treatment_id
		date
		period
	}
}
`

The query or mutation executed by GetTreatmentsFollowUp.

View Source
const GetTreatments_Operation = `
query GetTreatments {
	getTreatments {
		id
		period
		day
		quantity
		medicine_id
	}
}
`

The query or mutation executed by GetTreatments.

View Source
const GetWaitingRdv_Operation = `` /* 215-byte string literal not displayed */

The query or mutation executed by GetWaitingRdv.

View Source
const UpdateAdmin_Operation = `` /* 253-byte string literal not displayed */

The query or mutation executed by UpdateAdmin.

View Source
const UpdateAlert_Operation = `` /* 320-byte string literal not displayed */

The query or mutation executed by UpdateAlert.

View Source
const UpdateAnteChir_Operation = `` /* 267-byte string literal not displayed */

The query or mutation executed by UpdateAnteChir.

View Source
const UpdateAnteDisease_Operation = `` /* 448-byte string literal not displayed */

The query or mutation executed by UpdateAnteDisease.

View Source
const UpdateAnteFamily_Operation = `` /* 168-byte string literal not displayed */

The query or mutation executed by UpdateAnteFamily.

View Source
const UpdateChat_Operation = `` /* 302-byte string literal not displayed */

The query or mutation executed by UpdateChat.

View Source
const UpdateDemoAccount_Operation = `` /* 175-byte string literal not displayed */

The query or mutation executed by UpdateDemoAccount.

View Source
const UpdateDisease_Operation = `` /* 462-byte string literal not displayed */

The query or mutation executed by UpdateDisease.

View Source
const UpdateDoctor_Operation = `` /* 547-byte string literal not displayed */

The query or mutation executed by UpdateDoctor.

View Source
const UpdateDocument_Operation = `` /* 231-byte string literal not displayed */

The query or mutation executed by UpdateDocument.

View Source
const UpdateMedicalFolder_Operation = `` /* 636-byte string literal not displayed */

The query or mutation executed by UpdateMedicalFolder.

View Source
const UpdateNotification_Operation = `` /* 215-byte string literal not displayed */

The query or mutation executed by UpdateNotification.

View Source
const UpdatePatient_Operation = `` /* 562-byte string literal not displayed */

The query or mutation executed by UpdatePatient.

View Source
const UpdateRdv_Operation = `` /* 610-byte string literal not displayed */

The query or mutation executed by UpdateRdv.

View Source
const UpdateSession_Operation = `` /* 802-byte string literal not displayed */

The query or mutation executed by UpdateSession.

View Source
const UpdateSymptom_Operation = `` /* 568-byte string literal not displayed */

The query or mutation executed by UpdateSymptom.

View Source
const UpdateTestAccount_Operation = `` /* 175-byte string literal not displayed */

The query or mutation executed by UpdateTestAccount.

View Source
const UpdateTreatment_Operation = `` /* 269-byte string literal not displayed */

The query or mutation executed by UpdateTreatment.

View Source
const UpdateTreatmentsFollowUp_Operation = `` /* 244-byte string literal not displayed */

The query or mutation executed by UpdateTreatmentsFollowUp.

Variables

This section is empty.

Functions

func ConvertStringSliceToPointerSlice added in v1.3.0

func ConvertStringSliceToPointerSlice(strSlice []string) []*string

func CreateClient added in v1.3.0

func CreateClient() graphql.Client

Types

type AddressInput added in v1.3.2

type AddressInput struct {
	Street   string `json:"street"`
	Zip_code string `json:"zip_code"`
	Country  string `json:"country"`
	City     string `json:"city"`
}

func (*AddressInput) GetCity added in v1.3.7

func (v *AddressInput) GetCity() string

GetCity returns AddressInput.City, and is useful for accessing the field via an interface.

func (*AddressInput) GetCountry added in v1.3.2

func (v *AddressInput) GetCountry() string

GetCountry returns AddressInput.Country, and is useful for accessing the field via an interface.

func (*AddressInput) GetStreet added in v1.3.2

func (v *AddressInput) GetStreet() string

GetStreet returns AddressInput.Street, and is useful for accessing the field via an interface.

func (*AddressInput) GetZip_code added in v1.3.2

func (v *AddressInput) GetZip_code() string

GetZip_code returns AddressInput.Zip_code, and is useful for accessing the field via an interface.

type AppointmentStatus added in v1.4.0

type AppointmentStatus string
const (
	AppointmentStatusWaitingForReview    AppointmentStatus = "WAITING_FOR_REVIEW"
	AppointmentStatusAcceptedDueToReview AppointmentStatus = "ACCEPTED_DUE_TO_REVIEW"
	AppointmentStatusCanceledDueToReview AppointmentStatus = "CANCELED_DUE_TO_REVIEW"
	AppointmentStatusCanceled            AppointmentStatus = "CANCELED"
	AppointmentStatusOpened              AppointmentStatus = "OPENED"
)

type Category added in v1.3.0

type Category string
const (
	CategoryGeneral Category = "GENERAL"
	CategoryFinance Category = "FINANCE"
)

type ChatMessagesInput added in v1.6.0

type ChatMessagesInput struct {
	Owner_id    string `json:"owner_id"`
	Message     string `json:"message"`
	Sended_time int    `json:"sended_time"`
}

func (*ChatMessagesInput) GetMessage added in v1.6.0

func (v *ChatMessagesInput) GetMessage() string

GetMessage returns ChatMessagesInput.Message, and is useful for accessing the field via an interface.

func (*ChatMessagesInput) GetOwner_id added in v1.6.0

func (v *ChatMessagesInput) GetOwner_id() string

GetOwner_id returns ChatMessagesInput.Owner_id, and is useful for accessing the field via an interface.

func (*ChatMessagesInput) GetSended_time added in v1.6.0

func (v *ChatMessagesInput) GetSended_time() int

GetSended_time returns ChatMessagesInput.Sended_time, and is useful for accessing the field via an interface.

type ChatParticipantsInput added in v1.6.0

type ChatParticipantsInput struct {
	Participant_id string `json:"participant_id"`
	Last_seen      int    `json:"last_seen"`
}

func (*ChatParticipantsInput) GetLast_seen added in v1.6.0

func (v *ChatParticipantsInput) GetLast_seen() int

GetLast_seen returns ChatParticipantsInput.Last_seen, and is useful for accessing the field via an interface.

func (*ChatParticipantsInput) GetParticipant_id added in v1.6.0

func (v *ChatParticipantsInput) GetParticipant_id() string

GetParticipant_id returns ChatParticipantsInput.Participant_id, and is useful for accessing the field via an interface.

type CreateAdminCreateAdmin added in v1.3.0

type CreateAdminCreateAdmin struct {
	Id        string `json:"id"`
	Email     string `json:"email"`
	Password  string `json:"password"`
	Name      string `json:"name"`
	Last_name string `json:"last_name"`
}

CreateAdminCreateAdmin includes the requested fields of the GraphQL type Admin.

func (*CreateAdminCreateAdmin) GetEmail added in v1.3.0

func (v *CreateAdminCreateAdmin) GetEmail() string

GetEmail returns CreateAdminCreateAdmin.Email, and is useful for accessing the field via an interface.

func (*CreateAdminCreateAdmin) GetId added in v1.3.0

func (v *CreateAdminCreateAdmin) GetId() string

GetId returns CreateAdminCreateAdmin.Id, and is useful for accessing the field via an interface.

func (*CreateAdminCreateAdmin) GetLast_name added in v1.3.0

func (v *CreateAdminCreateAdmin) GetLast_name() string

GetLast_name returns CreateAdminCreateAdmin.Last_name, and is useful for accessing the field via an interface.

func (*CreateAdminCreateAdmin) GetName added in v1.3.0

func (v *CreateAdminCreateAdmin) GetName() string

GetName returns CreateAdminCreateAdmin.Name, and is useful for accessing the field via an interface.

func (*CreateAdminCreateAdmin) GetPassword added in v1.3.0

func (v *CreateAdminCreateAdmin) GetPassword() string

GetPassword returns CreateAdminCreateAdmin.Password, and is useful for accessing the field via an interface.

type CreateAdminResponse added in v1.3.0

type CreateAdminResponse struct {
	CreateAdmin CreateAdminCreateAdmin `json:"createAdmin"`
}

CreateAdminResponse is returned by CreateAdmin on success.

func CreateAdmin

func CreateAdmin(
	ctx context.Context,
	client graphql.Client,
	email string,
	password string,
	name string,
	last_name string,
) (*CreateAdminResponse, error)

func (*CreateAdminResponse) GetCreateAdmin added in v1.3.0

func (v *CreateAdminResponse) GetCreateAdmin() CreateAdminCreateAdmin

GetCreateAdmin returns CreateAdminResponse.CreateAdmin, and is useful for accessing the field via an interface.

type CreateAlertCreateAlert added in v1.3.0

type CreateAlertCreateAlert struct {
	Id       string   `json:"id"`
	Name     string   `json:"name"`
	Sex      string   `json:"sex"`
	Height   int      `json:"height"`
	Weight   int      `json:"weight"`
	Symptoms []string `json:"symptoms"`
	Comment  string   `json:"comment"`
}

CreateAlertCreateAlert includes the requested fields of the GraphQL type Alert.

func (*CreateAlertCreateAlert) GetComment added in v1.3.0

func (v *CreateAlertCreateAlert) GetComment() string

GetComment returns CreateAlertCreateAlert.Comment, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetHeight added in v1.3.0

func (v *CreateAlertCreateAlert) GetHeight() int

GetHeight returns CreateAlertCreateAlert.Height, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetId added in v1.3.0

func (v *CreateAlertCreateAlert) GetId() string

GetId returns CreateAlertCreateAlert.Id, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetName added in v1.3.0

func (v *CreateAlertCreateAlert) GetName() string

GetName returns CreateAlertCreateAlert.Name, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetSex added in v1.3.0

func (v *CreateAlertCreateAlert) GetSex() string

GetSex returns CreateAlertCreateAlert.Sex, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetSymptoms added in v1.3.0

func (v *CreateAlertCreateAlert) GetSymptoms() []string

GetSymptoms returns CreateAlertCreateAlert.Symptoms, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetWeight added in v1.3.0

func (v *CreateAlertCreateAlert) GetWeight() int

GetWeight returns CreateAlertCreateAlert.Weight, and is useful for accessing the field via an interface.

type CreateAlertResponse added in v1.3.0

type CreateAlertResponse struct {
	CreateAlert CreateAlertCreateAlert `json:"createAlert"`
}

CreateAlertResponse is returned by CreateAlert on success.

func CreateAlert added in v1.3.0

func CreateAlert(
	ctx context.Context,
	client graphql.Client,
	name string,
	sex string,
	height int,
	weight int,
	symptoms []string,
	comment string,
) (*CreateAlertResponse, error)

func (*CreateAlertResponse) GetCreateAlert added in v1.3.0

func (v *CreateAlertResponse) GetCreateAlert() CreateAlertCreateAlert

GetCreateAlert returns CreateAlertResponse.CreateAlert, and is useful for accessing the field via an interface.

type CreateAnteChirCreateAnteChir added in v1.3.0

type CreateAnteChirCreateAnteChir struct {
	Id               string   `json:"id"`
	Name             string   `json:"name"`
	Localisation     string   `json:"localisation"`
	Induced_symptoms []string `json:"induced_symptoms"`
}

CreateAnteChirCreateAnteChir includes the requested fields of the GraphQL type AnteChir.

func (*CreateAnteChirCreateAnteChir) GetId added in v1.3.0

GetId returns CreateAnteChirCreateAnteChir.Id, and is useful for accessing the field via an interface.

func (*CreateAnteChirCreateAnteChir) GetInduced_symptoms added in v1.3.0

func (v *CreateAnteChirCreateAnteChir) GetInduced_symptoms() []string

GetInduced_symptoms returns CreateAnteChirCreateAnteChir.Induced_symptoms, and is useful for accessing the field via an interface.

func (*CreateAnteChirCreateAnteChir) GetLocalisation added in v1.3.0

func (v *CreateAnteChirCreateAnteChir) GetLocalisation() string

GetLocalisation returns CreateAnteChirCreateAnteChir.Localisation, and is useful for accessing the field via an interface.

func (*CreateAnteChirCreateAnteChir) GetName added in v1.3.0

func (v *CreateAnteChirCreateAnteChir) GetName() string

GetName returns CreateAnteChirCreateAnteChir.Name, and is useful for accessing the field via an interface.

type CreateAnteChirResponse added in v1.3.0

type CreateAnteChirResponse struct {
	CreateAnteChir CreateAnteChirCreateAnteChir `json:"createAnteChir"`
}

CreateAnteChirResponse is returned by CreateAnteChir on success.

func CreateAnteChir added in v1.3.0

func CreateAnteChir(
	ctx context.Context,
	client graphql.Client,
	name string,
	localisation string,
	induced_symptoms []string,
) (*CreateAnteChirResponse, error)

func (*CreateAnteChirResponse) GetCreateAnteChir added in v1.3.0

GetCreateAnteChir returns CreateAnteChirResponse.CreateAnteChir, and is useful for accessing the field via an interface.

type CreateAnteDiseaseCreateAnteDisease added in v1.3.0

type CreateAnteDiseaseCreateAnteDisease struct {
	Id             string   `json:"id"`
	Name           string   `json:"name"`
	Chronicity     float64  `json:"chronicity"`
	Surgery_ids    []string `json:"surgery_ids"`
	Symptoms       []string `json:"symptoms"`
	Treatment_ids  []string `json:"treatment_ids"`
	Still_relevant bool     `json:"still_relevant"`
}

CreateAnteDiseaseCreateAnteDisease includes the requested fields of the GraphQL type AnteDisease.

func (*CreateAnteDiseaseCreateAnteDisease) GetChronicity added in v1.3.0

func (v *CreateAnteDiseaseCreateAnteDisease) GetChronicity() float64

GetChronicity returns CreateAnteDiseaseCreateAnteDisease.Chronicity, and is useful for accessing the field via an interface.

func (*CreateAnteDiseaseCreateAnteDisease) GetId added in v1.3.0

GetId returns CreateAnteDiseaseCreateAnteDisease.Id, and is useful for accessing the field via an interface.

func (*CreateAnteDiseaseCreateAnteDisease) GetName added in v1.3.0

GetName returns CreateAnteDiseaseCreateAnteDisease.Name, and is useful for accessing the field via an interface.

func (*CreateAnteDiseaseCreateAnteDisease) GetStill_relevant added in v1.4.6

func (v *CreateAnteDiseaseCreateAnteDisease) GetStill_relevant() bool

GetStill_relevant returns CreateAnteDiseaseCreateAnteDisease.Still_relevant, and is useful for accessing the field via an interface.

func (*CreateAnteDiseaseCreateAnteDisease) GetSurgery_ids added in v1.4.6

func (v *CreateAnteDiseaseCreateAnteDisease) GetSurgery_ids() []string

GetSurgery_ids returns CreateAnteDiseaseCreateAnteDisease.Surgery_ids, and is useful for accessing the field via an interface.

func (*CreateAnteDiseaseCreateAnteDisease) GetSymptoms added in v1.3.0

func (v *CreateAnteDiseaseCreateAnteDisease) GetSymptoms() []string

GetSymptoms returns CreateAnteDiseaseCreateAnteDisease.Symptoms, and is useful for accessing the field via an interface.

func (*CreateAnteDiseaseCreateAnteDisease) GetTreatment_ids added in v1.4.6

func (v *CreateAnteDiseaseCreateAnteDisease) GetTreatment_ids() []string

GetTreatment_ids returns CreateAnteDiseaseCreateAnteDisease.Treatment_ids, and is useful for accessing the field via an interface.

type CreateAnteDiseaseResponse added in v1.3.0

type CreateAnteDiseaseResponse struct {
	CreateAnteDisease CreateAnteDiseaseCreateAnteDisease `json:"createAnteDisease"`
}

CreateAnteDiseaseResponse is returned by CreateAnteDisease on success.

func CreateAnteDisease added in v1.3.0

func CreateAnteDisease(
	ctx context.Context,
	client graphql.Client,
	name string,
	chronicity float64,
	surgery_ids []string,
	symptoms []string,
	treatment_ids []string,
	still_relevant bool,
) (*CreateAnteDiseaseResponse, error)

func (*CreateAnteDiseaseResponse) GetCreateAnteDisease added in v1.3.0

GetCreateAnteDisease returns CreateAnteDiseaseResponse.CreateAnteDisease, and is useful for accessing the field via an interface.

type CreateAnteFamilyCreateAnteFamily added in v1.3.0

type CreateAnteFamilyCreateAnteFamily struct {
	Id      string   `json:"id"`
	Name    string   `json:"name"`
	Disease []string `json:"disease"`
}

CreateAnteFamilyCreateAnteFamily includes the requested fields of the GraphQL type AnteFamily.

func (*CreateAnteFamilyCreateAnteFamily) GetDisease added in v1.3.0

func (v *CreateAnteFamilyCreateAnteFamily) GetDisease() []string

GetDisease returns CreateAnteFamilyCreateAnteFamily.Disease, and is useful for accessing the field via an interface.

func (*CreateAnteFamilyCreateAnteFamily) GetId added in v1.3.0

GetId returns CreateAnteFamilyCreateAnteFamily.Id, and is useful for accessing the field via an interface.

func (*CreateAnteFamilyCreateAnteFamily) GetName added in v1.3.0

GetName returns CreateAnteFamilyCreateAnteFamily.Name, and is useful for accessing the field via an interface.

type CreateAnteFamilyResponse added in v1.3.0

type CreateAnteFamilyResponse struct {
	CreateAnteFamily CreateAnteFamilyCreateAnteFamily `json:"createAnteFamily"`
}

CreateAnteFamilyResponse is returned by CreateAnteFamily on success.

func CreateAnteFamily added in v1.3.0

func CreateAnteFamily(
	ctx context.Context,
	client graphql.Client,
	name string,
	disease []string,
) (*CreateAnteFamilyResponse, error)

func (*CreateAnteFamilyResponse) GetCreateAnteFamily added in v1.3.0

GetCreateAnteFamily returns CreateAnteFamilyResponse.CreateAnteFamily, and is useful for accessing the field via an interface.

type CreateChatCreateChat added in v1.6.0

type CreateChatCreateChat struct {
	Id           string                             `json:"id"`
	Participants []CreateChatCreateChatParticipants `json:"participants"`
	Messages     []CreateChatCreateChatMessages     `json:"messages"`
}

CreateChatCreateChat includes the requested fields of the GraphQL type Chat.

func (*CreateChatCreateChat) GetId added in v1.6.0

func (v *CreateChatCreateChat) GetId() string

GetId returns CreateChatCreateChat.Id, and is useful for accessing the field via an interface.

func (*CreateChatCreateChat) GetMessages added in v1.6.0

GetMessages returns CreateChatCreateChat.Messages, and is useful for accessing the field via an interface.

func (*CreateChatCreateChat) GetParticipants added in v1.6.0

GetParticipants returns CreateChatCreateChat.Participants, and is useful for accessing the field via an interface.

type CreateChatCreateChatMessages added in v1.6.0

type CreateChatCreateChatMessages struct {
	Owner_id    string `json:"owner_id"`
	Message     string `json:"message"`
	Sended_time int    `json:"sended_time"`
}

CreateChatCreateChatMessages includes the requested fields of the GraphQL type ChatMessages.

func (*CreateChatCreateChatMessages) GetMessage added in v1.6.0

func (v *CreateChatCreateChatMessages) GetMessage() string

GetMessage returns CreateChatCreateChatMessages.Message, and is useful for accessing the field via an interface.

func (*CreateChatCreateChatMessages) GetOwner_id added in v1.6.0

func (v *CreateChatCreateChatMessages) GetOwner_id() string

GetOwner_id returns CreateChatCreateChatMessages.Owner_id, and is useful for accessing the field via an interface.

func (*CreateChatCreateChatMessages) GetSended_time added in v1.6.0

func (v *CreateChatCreateChatMessages) GetSended_time() int

GetSended_time returns CreateChatCreateChatMessages.Sended_time, and is useful for accessing the field via an interface.

type CreateChatCreateChatParticipants added in v1.6.0

type CreateChatCreateChatParticipants struct {
	Participant_id string `json:"participant_id"`
	Last_seen      int    `json:"last_seen"`
}

CreateChatCreateChatParticipants includes the requested fields of the GraphQL type ChatParticipants.

func (*CreateChatCreateChatParticipants) GetLast_seen added in v1.6.0

func (v *CreateChatCreateChatParticipants) GetLast_seen() int

GetLast_seen returns CreateChatCreateChatParticipants.Last_seen, and is useful for accessing the field via an interface.

func (*CreateChatCreateChatParticipants) GetParticipant_id added in v1.6.0

func (v *CreateChatCreateChatParticipants) GetParticipant_id() string

GetParticipant_id returns CreateChatCreateChatParticipants.Participant_id, and is useful for accessing the field via an interface.

type CreateChatResponse added in v1.6.0

type CreateChatResponse struct {
	CreateChat CreateChatCreateChat `json:"createChat"`
}

CreateChatResponse is returned by CreateChat on success.

func CreateChat added in v1.6.0

func CreateChat(
	ctx context.Context,
	client graphql.Client,
	participants []ChatParticipantsInput,
	messages []ChatMessagesInput,
) (*CreateChatResponse, error)

func (*CreateChatResponse) GetCreateChat added in v1.6.0

func (v *CreateChatResponse) GetCreateChat() CreateChatCreateChat

GetCreateChat returns CreateChatResponse.CreateChat, and is useful for accessing the field via an interface.

type CreateDemoAccountCreateDemoAccount added in v1.3.0

type CreateDemoAccountCreateDemoAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

CreateDemoAccountCreateDemoAccount includes the requested fields of the GraphQL type DemoAccount.

func (*CreateDemoAccountCreateDemoAccount) GetEmail added in v1.3.0

GetEmail returns CreateDemoAccountCreateDemoAccount.Email, and is useful for accessing the field via an interface.

func (*CreateDemoAccountCreateDemoAccount) GetId added in v1.3.0

GetId returns CreateDemoAccountCreateDemoAccount.Id, and is useful for accessing the field via an interface.

func (*CreateDemoAccountCreateDemoAccount) GetPassword added in v1.3.0

func (v *CreateDemoAccountCreateDemoAccount) GetPassword() string

GetPassword returns CreateDemoAccountCreateDemoAccount.Password, and is useful for accessing the field via an interface.

type CreateDemoAccountResponse added in v1.3.0

type CreateDemoAccountResponse struct {
	CreateDemoAccount CreateDemoAccountCreateDemoAccount `json:"createDemoAccount"`
}

CreateDemoAccountResponse is returned by CreateDemoAccount on success.

func CreateDemoAccount added in v1.3.0

func CreateDemoAccount(
	ctx context.Context,
	client graphql.Client,
	email string,
	password string,
) (*CreateDemoAccountResponse, error)

func (*CreateDemoAccountResponse) GetCreateDemoAccount added in v1.3.0

GetCreateDemoAccount returns CreateDemoAccountResponse.CreateDemoAccount, and is useful for accessing the field via an interface.

type CreateDiseaseCreateDisease added in v1.3.0

type CreateDiseaseCreateDisease struct {
	Id                string                                                    `json:"id"`
	Code              string                                                    `json:"code"`
	Name              string                                                    `json:"name"`
	Symptoms          []string                                                  `json:"symptoms"`
	Symptoms_weight   []CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight `json:"symptoms_weight"`
	Overweight_factor float64                                                   `json:"overweight_factor"`
	Advice            string                                                    `json:"advice"`
}

CreateDiseaseCreateDisease includes the requested fields of the GraphQL type Disease.

func (*CreateDiseaseCreateDisease) GetAdvice added in v1.3.0

func (v *CreateDiseaseCreateDisease) GetAdvice() string

GetAdvice returns CreateDiseaseCreateDisease.Advice, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDisease) GetCode added in v1.3.0

func (v *CreateDiseaseCreateDisease) GetCode() string

GetCode returns CreateDiseaseCreateDisease.Code, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDisease) GetId added in v1.3.0

GetId returns CreateDiseaseCreateDisease.Id, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDisease) GetName added in v1.3.0

func (v *CreateDiseaseCreateDisease) GetName() string

GetName returns CreateDiseaseCreateDisease.Name, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDisease) GetOverweight_factor added in v1.6.2

func (v *CreateDiseaseCreateDisease) GetOverweight_factor() float64

GetOverweight_factor returns CreateDiseaseCreateDisease.Overweight_factor, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDisease) GetSymptoms added in v1.3.0

func (v *CreateDiseaseCreateDisease) GetSymptoms() []string

GetSymptoms returns CreateDiseaseCreateDisease.Symptoms, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDisease) GetSymptoms_weight added in v1.5.7

GetSymptoms_weight returns CreateDiseaseCreateDisease.Symptoms_weight, and is useful for accessing the field via an interface.

type CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight added in v1.5.7

type CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight struct {
	Symptom string  `json:"symptom"`
	Value   float64 `json:"value"`
	Chronic bool    `json:"chronic"`
}

CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight includes the requested fields of the GraphQL type SymptomsWeight.

func (*CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight) GetChronic added in v1.5.14

GetChronic returns CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight.Chronic, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight) GetSymptom added in v1.5.7

GetSymptom returns CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight.Symptom, and is useful for accessing the field via an interface.

func (*CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight) GetValue added in v1.5.7

GetValue returns CreateDiseaseCreateDiseaseSymptoms_weightSymptomsWeight.Value, and is useful for accessing the field via an interface.

type CreateDiseaseResponse added in v1.3.0

type CreateDiseaseResponse struct {
	CreateDisease CreateDiseaseCreateDisease `json:"createDisease"`
}

CreateDiseaseResponse is returned by CreateDisease on success.

func CreateDisease added in v1.3.0

func CreateDisease(
	ctx context.Context,
	client graphql.Client,
	code string,
	name string,
	symptoms []string,
	symptoms_weight []SymptomsWeightInput,
	overweight_factor float64,
	advice string,
) (*CreateDiseaseResponse, error)

func (*CreateDiseaseResponse) GetCreateDisease added in v1.3.0

func (v *CreateDiseaseResponse) GetCreateDisease() CreateDiseaseCreateDisease

GetCreateDisease returns CreateDiseaseResponse.CreateDisease, and is useful for accessing the field via an interface.

type CreateDoctorCreateDoctor added in v1.3.0

type CreateDoctorCreateDoctor struct {
	Id              string                          `json:"id"`
	Email           string                          `json:"email"`
	Password        string                          `json:"password"`
	Name            string                          `json:"name"`
	Firstname       string                          `json:"firstname"`
	Address         CreateDoctorCreateDoctorAddress `json:"address"`
	Rendez_vous_ids []string                        `json:"rendez_vous_ids"`
	Patient_ids     []string                        `json:"patient_ids"`
	Chat_ids        []string                        `json:"chat_ids"`
}

CreateDoctorCreateDoctor includes the requested fields of the GraphQL type Doctor.

func (*CreateDoctorCreateDoctor) GetAddress added in v1.3.2

GetAddress returns CreateDoctorCreateDoctor.Address, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetChat_ids added in v1.6.0

func (v *CreateDoctorCreateDoctor) GetChat_ids() []string

GetChat_ids returns CreateDoctorCreateDoctor.Chat_ids, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetEmail added in v1.3.0

func (v *CreateDoctorCreateDoctor) GetEmail() string

GetEmail returns CreateDoctorCreateDoctor.Email, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetFirstname added in v1.3.2

func (v *CreateDoctorCreateDoctor) GetFirstname() string

GetFirstname returns CreateDoctorCreateDoctor.Firstname, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetId added in v1.3.0

func (v *CreateDoctorCreateDoctor) GetId() string

GetId returns CreateDoctorCreateDoctor.Id, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetName added in v1.3.2

func (v *CreateDoctorCreateDoctor) GetName() string

GetName returns CreateDoctorCreateDoctor.Name, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetPassword added in v1.3.0

func (v *CreateDoctorCreateDoctor) GetPassword() string

GetPassword returns CreateDoctorCreateDoctor.Password, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetPatient_ids added in v1.3.0

func (v *CreateDoctorCreateDoctor) GetPatient_ids() []string

GetPatient_ids returns CreateDoctorCreateDoctor.Patient_ids, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctor) GetRendez_vous_ids added in v1.3.0

func (v *CreateDoctorCreateDoctor) GetRendez_vous_ids() []string

GetRendez_vous_ids returns CreateDoctorCreateDoctor.Rendez_vous_ids, and is useful for accessing the field via an interface.

type CreateDoctorCreateDoctorAddress added in v1.3.2

type CreateDoctorCreateDoctorAddress struct {
	Street   string `json:"street"`
	Zip_code string `json:"zip_code"`
	Country  string `json:"country"`
}

CreateDoctorCreateDoctorAddress includes the requested fields of the GraphQL type Address.

func (*CreateDoctorCreateDoctorAddress) GetCountry added in v1.3.2

func (v *CreateDoctorCreateDoctorAddress) GetCountry() string

GetCountry returns CreateDoctorCreateDoctorAddress.Country, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctorAddress) GetStreet added in v1.3.2

func (v *CreateDoctorCreateDoctorAddress) GetStreet() string

GetStreet returns CreateDoctorCreateDoctorAddress.Street, and is useful for accessing the field via an interface.

func (*CreateDoctorCreateDoctorAddress) GetZip_code added in v1.3.2

func (v *CreateDoctorCreateDoctorAddress) GetZip_code() string

GetZip_code returns CreateDoctorCreateDoctorAddress.Zip_code, and is useful for accessing the field via an interface.

type CreateDoctorResponse added in v1.3.0

type CreateDoctorResponse struct {
	CreateDoctor CreateDoctorCreateDoctor `json:"createDoctor"`
}

CreateDoctorResponse is returned by CreateDoctor on success.

func CreateDoctor

func CreateDoctor(
	ctx context.Context,
	client graphql.Client,
	email string,
	password string,
	name string,
	firstname string,
	address AddressInput,
) (*CreateDoctorResponse, error)

func (*CreateDoctorResponse) GetCreateDoctor added in v1.3.0

func (v *CreateDoctorResponse) GetCreateDoctor() CreateDoctorCreateDoctor

GetCreateDoctor returns CreateDoctorResponse.CreateDoctor, and is useful for accessing the field via an interface.

type CreateDocumentCreateDocument added in v1.3.0

type CreateDocumentCreateDocument struct {
	Id            string       `json:"id"`
	Owner_id      string       `json:"owner_id"`
	Name          string       `json:"name"`
	Document_type DocumentType `json:"document_type"`
	Category      Category     `json:"category"`
	Is_favorite   bool         `json:"is_favorite"`
	Download_url  string       `json:"download_url"`
}

CreateDocumentCreateDocument includes the requested fields of the GraphQL type Document.

func (*CreateDocumentCreateDocument) GetCategory added in v1.3.0

func (v *CreateDocumentCreateDocument) GetCategory() Category

GetCategory returns CreateDocumentCreateDocument.Category, and is useful for accessing the field via an interface.

func (*CreateDocumentCreateDocument) GetDocument_type added in v1.3.0

func (v *CreateDocumentCreateDocument) GetDocument_type() DocumentType

GetDocument_type returns CreateDocumentCreateDocument.Document_type, and is useful for accessing the field via an interface.

func (*CreateDocumentCreateDocument) GetDownload_url added in v1.3.0

func (v *CreateDocumentCreateDocument) GetDownload_url() string

GetDownload_url returns CreateDocumentCreateDocument.Download_url, and is useful for accessing the field via an interface.

func (*CreateDocumentCreateDocument) GetId added in v1.3.0

GetId returns CreateDocumentCreateDocument.Id, and is useful for accessing the field via an interface.

func (*CreateDocumentCreateDocument) GetIs_favorite added in v1.3.0

func (v *CreateDocumentCreateDocument) GetIs_favorite() bool

GetIs_favorite returns CreateDocumentCreateDocument.Is_favorite, and is useful for accessing the field via an interface.

func (*CreateDocumentCreateDocument) GetName added in v1.3.0

func (v *CreateDocumentCreateDocument) GetName() string

GetName returns CreateDocumentCreateDocument.Name, and is useful for accessing the field via an interface.

func (*CreateDocumentCreateDocument) GetOwner_id added in v1.3.0

func (v *CreateDocumentCreateDocument) GetOwner_id() string

GetOwner_id returns CreateDocumentCreateDocument.Owner_id, and is useful for accessing the field via an interface.

type CreateDocumentResponse added in v1.3.0

type CreateDocumentResponse struct {
	CreateDocument CreateDocumentCreateDocument `json:"createDocument"`
}

CreateDocumentResponse is returned by CreateDocument on success.

func CreateDocument added in v1.3.0

func CreateDocument(
	ctx context.Context,
	client graphql.Client,
	owner_id string,
	name string,
	document_type string,
	category string,
	is_favorite bool,
	download_url string,
) (*CreateDocumentResponse, error)

func (*CreateDocumentResponse) GetCreateDocument added in v1.3.0

GetCreateDocument returns CreateDocumentResponse.CreateDocument, and is useful for accessing the field via an interface.

type CreateMedicalFolderCreateMedicalFolderMedicalInfo added in v1.3.2

type CreateMedicalFolderCreateMedicalFolderMedicalInfo struct {
	Id                     string           `json:"id"`
	Name                   string           `json:"name"`
	Firstname              string           `json:"firstname"`
	Birthdate              int              `json:"birthdate"`
	Sex                    Sex              `json:"sex"`
	Height                 int              `json:"height"`
	Weight                 int              `json:"weight"`
	Primary_doctor_id      string           `json:"primary_doctor_id"`
	Antecedent_disease_ids []string         `json:"antecedent_disease_ids"`
	Onboarding_status      OnboardingStatus `json:"onboarding_status"`
}

CreateMedicalFolderCreateMedicalFolderMedicalInfo includes the requested fields of the GraphQL type MedicalInfo.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetAntecedent_disease_ids added in v1.5.0

func (v *CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetAntecedent_disease_ids() []string

GetAntecedent_disease_ids returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Antecedent_disease_ids, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetBirthdate added in v1.3.2

GetBirthdate returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Birthdate, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetFirstname added in v1.3.2

GetFirstname returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Firstname, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetHeight added in v1.3.2

GetHeight returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Height, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetId added in v1.3.2

GetId returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Id, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetName added in v1.3.2

GetName returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Name, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetOnboarding_status added in v1.3.2

GetOnboarding_status returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Onboarding_status, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetPrimary_doctor_id added in v1.3.2

GetPrimary_doctor_id returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Primary_doctor_id, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetSex added in v1.3.2

GetSex returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Sex, and is useful for accessing the field via an interface.

func (*CreateMedicalFolderCreateMedicalFolderMedicalInfo) GetWeight added in v1.3.2

GetWeight returns CreateMedicalFolderCreateMedicalFolderMedicalInfo.Weight, and is useful for accessing the field via an interface.

type CreateMedicalFolderResponse added in v1.3.2

type CreateMedicalFolderResponse struct {
	CreateMedicalFolder CreateMedicalFolderCreateMedicalFolderMedicalInfo `json:"createMedicalFolder"`
}

CreateMedicalFolderResponse is returned by CreateMedicalFolder on success.

func CreateMedicalFolder added in v1.3.2

func CreateMedicalFolder(
	ctx context.Context,
	client graphql.Client,
	name string,
	firstname string,
	birthdate int,
	sex string,
	height int,
	weight int,
	primary_doctor_id string,
	antecedent_disease_ids []string,
	onboarding_status string,
) (*CreateMedicalFolderResponse, error)

func (*CreateMedicalFolderResponse) GetCreateMedicalFolder added in v1.3.2

GetCreateMedicalFolder returns CreateMedicalFolderResponse.CreateMedicalFolder, and is useful for accessing the field via an interface.

type CreateMedicineCreateMedicine added in v1.5.1

type CreateMedicineCreateMedicine struct {
	Id               string       `json:"id"`
	Name             string       `json:"name"`
	Unit             MedicineUnit `json:"unit"`
	Target_diseases  []string     `json:"target_diseases"`
	Treated_symptoms []string     `json:"treated_symptoms"`
	Side_effects     []string     `json:"side_effects"`
}

CreateMedicineCreateMedicine includes the requested fields of the GraphQL type Medicine.

func (*CreateMedicineCreateMedicine) GetId added in v1.5.1

GetId returns CreateMedicineCreateMedicine.Id, and is useful for accessing the field via an interface.

func (*CreateMedicineCreateMedicine) GetName added in v1.5.1

func (v *CreateMedicineCreateMedicine) GetName() string

GetName returns CreateMedicineCreateMedicine.Name, and is useful for accessing the field via an interface.

func (*CreateMedicineCreateMedicine) GetSide_effects added in v1.5.1

func (v *CreateMedicineCreateMedicine) GetSide_effects() []string

GetSide_effects returns CreateMedicineCreateMedicine.Side_effects, and is useful for accessing the field via an interface.

func (*CreateMedicineCreateMedicine) GetTarget_diseases added in v1.5.1

func (v *CreateMedicineCreateMedicine) GetTarget_diseases() []string

GetTarget_diseases returns CreateMedicineCreateMedicine.Target_diseases, and is useful for accessing the field via an interface.

func (*CreateMedicineCreateMedicine) GetTreated_symptoms added in v1.5.1

func (v *CreateMedicineCreateMedicine) GetTreated_symptoms() []string

GetTreated_symptoms returns CreateMedicineCreateMedicine.Treated_symptoms, and is useful for accessing the field via an interface.

func (*CreateMedicineCreateMedicine) GetUnit added in v1.5.1

GetUnit returns CreateMedicineCreateMedicine.Unit, and is useful for accessing the field via an interface.

type CreateMedicineResponse added in v1.5.1

type CreateMedicineResponse struct {
	CreateMedicine CreateMedicineCreateMedicine `json:"createMedicine"`
}

CreateMedicineResponse is returned by CreateMedicine on success.

func CreateMedicine added in v1.5.1

func CreateMedicine(
	ctx context.Context,
	client graphql.Client,
	name string,
	unit string,
	target_diseases []string,
	treated_symptoms []string,
	side_effects []string,
) (*CreateMedicineResponse, error)

func (*CreateMedicineResponse) GetCreateMedicine added in v1.5.1

GetCreateMedicine returns CreateMedicineResponse.CreateMedicine, and is useful for accessing the field via an interface.

type CreateNotificationCreateNotification added in v1.3.0

type CreateNotificationCreateNotification struct {
	Id      string `json:"id"`
	Token   string `json:"token"`
	Title   string `json:"title"`
	Message string `json:"message"`
}

CreateNotificationCreateNotification includes the requested fields of the GraphQL type Notification.

func (*CreateNotificationCreateNotification) GetId added in v1.3.0

GetId returns CreateNotificationCreateNotification.Id, and is useful for accessing the field via an interface.

func (*CreateNotificationCreateNotification) GetMessage added in v1.3.0

GetMessage returns CreateNotificationCreateNotification.Message, and is useful for accessing the field via an interface.

func (*CreateNotificationCreateNotification) GetTitle added in v1.3.0

GetTitle returns CreateNotificationCreateNotification.Title, and is useful for accessing the field via an interface.

func (*CreateNotificationCreateNotification) GetToken added in v1.3.0

GetToken returns CreateNotificationCreateNotification.Token, and is useful for accessing the field via an interface.

type CreateNotificationResponse added in v1.3.0

type CreateNotificationResponse struct {
	CreateNotification CreateNotificationCreateNotification `json:"createNotification"`
}

CreateNotificationResponse is returned by CreateNotification on success.

func CreateNotification added in v1.3.0

func CreateNotification(
	ctx context.Context,
	client graphql.Client,
	token string,
	message string,
	title string,
) (*CreateNotificationResponse, error)

func (*CreateNotificationResponse) GetCreateNotification added in v1.3.0

GetCreateNotification returns CreateNotificationResponse.CreateNotification, and is useful for accessing the field via an interface.

type CreatePatientCreatePatient added in v1.3.0

type CreatePatientCreatePatient struct {
	Id                      string   `json:"id"`
	Email                   string   `json:"email"`
	Password                string   `json:"password"`
	Rendez_vous_ids         []string `json:"rendez_vous_ids"`
	Medical_info_id         string   `json:"medical_info_id"`
	Document_ids            []string `json:"document_ids"`
	Treatment_follow_up_ids []string `json:"treatment_follow_up_ids"`
	Chat_ids                []string `json:"chat_ids"`
}

CreatePatientCreatePatient includes the requested fields of the GraphQL type Patient.

func (*CreatePatientCreatePatient) GetChat_ids added in v1.6.0

func (v *CreatePatientCreatePatient) GetChat_ids() []string

GetChat_ids returns CreatePatientCreatePatient.Chat_ids, and is useful for accessing the field via an interface.

func (*CreatePatientCreatePatient) GetDocument_ids added in v1.3.0

func (v *CreatePatientCreatePatient) GetDocument_ids() []string

GetDocument_ids returns CreatePatientCreatePatient.Document_ids, and is useful for accessing the field via an interface.

func (*CreatePatientCreatePatient) GetEmail added in v1.3.0

func (v *CreatePatientCreatePatient) GetEmail() string

GetEmail returns CreatePatientCreatePatient.Email, and is useful for accessing the field via an interface.

func (*CreatePatientCreatePatient) GetId added in v1.3.0

GetId returns CreatePatientCreatePatient.Id, and is useful for accessing the field via an interface.

func (*CreatePatientCreatePatient) GetMedical_info_id added in v1.3.2

func (v *CreatePatientCreatePatient) GetMedical_info_id() string

GetMedical_info_id returns CreatePatientCreatePatient.Medical_info_id, and is useful for accessing the field via an interface.

func (*CreatePatientCreatePatient) GetPassword added in v1.3.0

func (v *CreatePatientCreatePatient) GetPassword() string

GetPassword returns CreatePatientCreatePatient.Password, and is useful for accessing the field via an interface.

func (*CreatePatientCreatePatient) GetRendez_vous_ids added in v1.3.0

func (v *CreatePatientCreatePatient) GetRendez_vous_ids() []string

GetRendez_vous_ids returns CreatePatientCreatePatient.Rendez_vous_ids, and is useful for accessing the field via an interface.

func (*CreatePatientCreatePatient) GetTreatment_follow_up_ids added in v1.5.1

func (v *CreatePatientCreatePatient) GetTreatment_follow_up_ids() []string

GetTreatment_follow_up_ids returns CreatePatientCreatePatient.Treatment_follow_up_ids, and is useful for accessing the field via an interface.

type CreatePatientResponse added in v1.3.0

type CreatePatientResponse struct {
	CreatePatient CreatePatientCreatePatient `json:"createPatient"`
}

CreatePatientResponse is returned by CreatePatient on success.

func CreatePatient

func CreatePatient(
	ctx context.Context,
	client graphql.Client,
	email string,
	password string,
) (*CreatePatientResponse, error)

func (*CreatePatientResponse) GetCreatePatient added in v1.3.0

func (v *CreatePatientResponse) GetCreatePatient() CreatePatientCreatePatient

GetCreatePatient returns CreatePatientResponse.CreatePatient, and is useful for accessing the field via an interface.

type CreateRdvCreateRdv added in v1.3.0

type CreateRdvCreateRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
	Health_method      string            `json:"health_method"`
}

CreateRdvCreateRdv includes the requested fields of the GraphQL type Rdv.

func (*CreateRdvCreateRdv) GetAppointment_status added in v1.4.0

func (v *CreateRdvCreateRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns CreateRdvCreateRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetCancelation_reason added in v1.3.0

func (v *CreateRdvCreateRdv) GetCancelation_reason() string

GetCancelation_reason returns CreateRdvCreateRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetDoctor_id added in v1.3.0

func (v *CreateRdvCreateRdv) GetDoctor_id() string

GetDoctor_id returns CreateRdvCreateRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetEnd_date added in v1.3.0

func (v *CreateRdvCreateRdv) GetEnd_date() int

GetEnd_date returns CreateRdvCreateRdv.End_date, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetHealth_method added in v1.7.0

func (v *CreateRdvCreateRdv) GetHealth_method() string

GetHealth_method returns CreateRdvCreateRdv.Health_method, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetId added in v1.3.0

func (v *CreateRdvCreateRdv) GetId() string

GetId returns CreateRdvCreateRdv.Id, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetId_patient added in v1.3.0

func (v *CreateRdvCreateRdv) GetId_patient() string

GetId_patient returns CreateRdvCreateRdv.Id_patient, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetSession_id added in v1.4.2

func (v *CreateRdvCreateRdv) GetSession_id() string

GetSession_id returns CreateRdvCreateRdv.Session_id, and is useful for accessing the field via an interface.

func (*CreateRdvCreateRdv) GetStart_date added in v1.3.0

func (v *CreateRdvCreateRdv) GetStart_date() int

GetStart_date returns CreateRdvCreateRdv.Start_date, and is useful for accessing the field via an interface.

type CreateRdvResponse added in v1.3.0

type CreateRdvResponse struct {
	CreateRdv CreateRdvCreateRdv `json:"createRdv"`
}

CreateRdvResponse is returned by CreateRdv on success.

func CreateRdv added in v1.3.0

func CreateRdv(
	ctx context.Context,
	client graphql.Client,
	id_patient string,
	doctor_id string,
	start_date int,
	end_date int,
	appointment_status AppointmentStatus,
	session_id string,
) (*CreateRdvResponse, error)

func (*CreateRdvResponse) GetCreateRdv added in v1.3.0

func (v *CreateRdvResponse) GetCreateRdv() CreateRdvCreateRdv

GetCreateRdv returns CreateRdvResponse.CreateRdv, and is useful for accessing the field via an interface.

type CreateSessionCreateSession added in v1.3.0

type CreateSessionCreateSession struct {
	Id            string                                             `json:"id"`
	Diseases      []CreateSessionCreateSessionDiseases               `json:"diseases"`
	Symptoms      []CreateSessionCreateSessionSymptomsSessionSymptom `json:"symptoms"`
	Age           int                                                `json:"age"`
	Height        int                                                `json:"height"`
	Weight        int                                                `json:"weight"`
	Sex           string                                             `json:"sex"`
	Ante_chirs    []string                                           `json:"ante_chirs"`
	Ante_diseases []string                                           `json:"ante_diseases"`
	Medicine      []string                                           `json:"medicine"`
	Last_question string                                             `json:"last_question"`
	Logs          []CreateSessionCreateSessionLogs                   `json:"logs"`
	Alerts        []string                                           `json:"alerts"`
}

CreateSessionCreateSession includes the requested fields of the GraphQL type Session.

func (*CreateSessionCreateSession) GetAge added in v1.3.0

func (v *CreateSessionCreateSession) GetAge() int

GetAge returns CreateSessionCreateSession.Age, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetAlerts added in v1.3.0

func (v *CreateSessionCreateSession) GetAlerts() []string

GetAlerts returns CreateSessionCreateSession.Alerts, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetAnte_chirs added in v1.3.4

func (v *CreateSessionCreateSession) GetAnte_chirs() []string

GetAnte_chirs returns CreateSessionCreateSession.Ante_chirs, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetAnte_diseases added in v1.3.4

func (v *CreateSessionCreateSession) GetAnte_diseases() []string

GetAnte_diseases returns CreateSessionCreateSession.Ante_diseases, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetDiseases added in v1.4.6

GetDiseases returns CreateSessionCreateSession.Diseases, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetHeight added in v1.3.0

func (v *CreateSessionCreateSession) GetHeight() int

GetHeight returns CreateSessionCreateSession.Height, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetId added in v1.3.0

GetId returns CreateSessionCreateSession.Id, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetLast_question added in v1.3.0

func (v *CreateSessionCreateSession) GetLast_question() string

GetLast_question returns CreateSessionCreateSession.Last_question, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetLogs added in v1.3.0

GetLogs returns CreateSessionCreateSession.Logs, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetMedicine added in v1.5.1

func (v *CreateSessionCreateSession) GetMedicine() []string

GetMedicine returns CreateSessionCreateSession.Medicine, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetSex added in v1.3.0

func (v *CreateSessionCreateSession) GetSex() string

GetSex returns CreateSessionCreateSession.Sex, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetSymptoms added in v1.3.0

GetSymptoms returns CreateSessionCreateSession.Symptoms, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSession) GetWeight added in v1.3.0

func (v *CreateSessionCreateSession) GetWeight() int

GetWeight returns CreateSessionCreateSession.Weight, and is useful for accessing the field via an interface.

type CreateSessionCreateSessionDiseases added in v1.4.6

type CreateSessionCreateSessionDiseases struct {
	Name     string  `json:"name"`
	Presence float64 `json:"presence"`
}

CreateSessionCreateSessionDiseases includes the requested fields of the GraphQL type SessionDiseases.

func (*CreateSessionCreateSessionDiseases) GetName added in v1.4.6

GetName returns CreateSessionCreateSessionDiseases.Name, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSessionDiseases) GetPresence added in v1.4.6

GetPresence returns CreateSessionCreateSessionDiseases.Presence, and is useful for accessing the field via an interface.

type CreateSessionCreateSessionLogs added in v1.3.0

type CreateSessionCreateSessionLogs struct {
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

CreateSessionCreateSessionLogs includes the requested fields of the GraphQL type Logs.

func (*CreateSessionCreateSessionLogs) GetAnswer added in v1.3.0

func (v *CreateSessionCreateSessionLogs) GetAnswer() string

GetAnswer returns CreateSessionCreateSessionLogs.Answer, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSessionLogs) GetQuestion added in v1.3.0

func (v *CreateSessionCreateSessionLogs) GetQuestion() string

GetQuestion returns CreateSessionCreateSessionLogs.Question, and is useful for accessing the field via an interface.

type CreateSessionCreateSessionSymptomsSessionSymptom added in v1.3.4

type CreateSessionCreateSessionSymptomsSessionSymptom struct {
	Name     string   `json:"name"`
	Presence bool     `json:"presence"`
	Duration int      `json:"duration"`
	Treated  []string `json:"treated"`
}

CreateSessionCreateSessionSymptomsSessionSymptom includes the requested fields of the GraphQL type SessionSymptom.

func (*CreateSessionCreateSessionSymptomsSessionSymptom) GetDuration added in v1.3.4

GetDuration returns CreateSessionCreateSessionSymptomsSessionSymptom.Duration, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSessionSymptomsSessionSymptom) GetName added in v1.3.4

GetName returns CreateSessionCreateSessionSymptomsSessionSymptom.Name, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSessionSymptomsSessionSymptom) GetPresence added in v1.3.4

GetPresence returns CreateSessionCreateSessionSymptomsSessionSymptom.Presence, and is useful for accessing the field via an interface.

func (*CreateSessionCreateSessionSymptomsSessionSymptom) GetTreated added in v1.5.1

GetTreated returns CreateSessionCreateSessionSymptomsSessionSymptom.Treated, and is useful for accessing the field via an interface.

type CreateSessionResponse added in v1.3.0

type CreateSessionResponse struct {
	CreateSession CreateSessionCreateSession `json:"createSession"`
}

CreateSessionResponse is returned by CreateSession on success.

func CreateSession added in v1.0.0

func CreateSession(
	ctx context.Context,
	client graphql.Client,
	diseases []SessionDiseasesInput,
	symptoms []SessionSymptomInput,
	age int,
	height int,
	weight int,
	sex string,
	ante_chirs []string,
	ante_diseases []string,
	medicine []string,
	last_question string,
	logs []LogsInput,
	alerts []string,
) (*CreateSessionResponse, error)

func (*CreateSessionResponse) GetCreateSession added in v1.3.0

func (v *CreateSessionResponse) GetCreateSession() CreateSessionCreateSession

GetCreateSession returns CreateSessionResponse.CreateSession, and is useful for accessing the field via an interface.

type CreateSymptomCreateSymptom added in v1.3.0

type CreateSymptomCreateSymptom struct {
	Id                string   `json:"id"`
	Code              string   `json:"code"`
	Name              string   `json:"name"`
	Chronic           int      `json:"chronic"`
	Symptom           []string `json:"symptom"`
	Advice            string   `json:"advice"`
	Question          string   `json:"question"`
	Question_basic    string   `json:"question_basic"`
	Question_duration string   `json:"question_duration"`
	Question_ante     string   `json:"question_ante"`
}

CreateSymptomCreateSymptom includes the requested fields of the GraphQL type Symptom.

func (*CreateSymptomCreateSymptom) GetAdvice added in v1.3.0

func (v *CreateSymptomCreateSymptom) GetAdvice() string

GetAdvice returns CreateSymptomCreateSymptom.Advice, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetChronic added in v1.3.0

func (v *CreateSymptomCreateSymptom) GetChronic() int

GetChronic returns CreateSymptomCreateSymptom.Chronic, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetCode added in v1.3.0

func (v *CreateSymptomCreateSymptom) GetCode() string

GetCode returns CreateSymptomCreateSymptom.Code, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetId added in v1.3.0

GetId returns CreateSymptomCreateSymptom.Id, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetName added in v1.3.0

func (v *CreateSymptomCreateSymptom) GetName() string

GetName returns CreateSymptomCreateSymptom.Name, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetQuestion added in v1.3.0

func (v *CreateSymptomCreateSymptom) GetQuestion() string

GetQuestion returns CreateSymptomCreateSymptom.Question, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetQuestion_ante added in v1.5.13

func (v *CreateSymptomCreateSymptom) GetQuestion_ante() string

GetQuestion_ante returns CreateSymptomCreateSymptom.Question_ante, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetQuestion_basic added in v1.5.13

func (v *CreateSymptomCreateSymptom) GetQuestion_basic() string

GetQuestion_basic returns CreateSymptomCreateSymptom.Question_basic, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetQuestion_duration added in v1.5.13

func (v *CreateSymptomCreateSymptom) GetQuestion_duration() string

GetQuestion_duration returns CreateSymptomCreateSymptom.Question_duration, and is useful for accessing the field via an interface.

func (*CreateSymptomCreateSymptom) GetSymptom added in v1.3.0

func (v *CreateSymptomCreateSymptom) GetSymptom() []string

GetSymptom returns CreateSymptomCreateSymptom.Symptom, and is useful for accessing the field via an interface.

type CreateSymptomResponse added in v1.3.0

type CreateSymptomResponse struct {
	CreateSymptom CreateSymptomCreateSymptom `json:"createSymptom"`
}

CreateSymptomResponse is returned by CreateSymptom on success.

func CreateSymptom added in v1.3.0

func CreateSymptom(
	ctx context.Context,
	client graphql.Client,
	code string,
	name string,
	chronic int,
	symptom []string,
	advice string,
	question string,
	question_basic string,
	question_duration string,
	question_ante string,
) (*CreateSymptomResponse, error)

func (*CreateSymptomResponse) GetCreateSymptom added in v1.3.0

func (v *CreateSymptomResponse) GetCreateSymptom() CreateSymptomCreateSymptom

GetCreateSymptom returns CreateSymptomResponse.CreateSymptom, and is useful for accessing the field via an interface.

type CreateTestAccountCreateTestAccount added in v1.3.0

type CreateTestAccountCreateTestAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

CreateTestAccountCreateTestAccount includes the requested fields of the GraphQL type TestAccount.

func (*CreateTestAccountCreateTestAccount) GetEmail added in v1.3.0

GetEmail returns CreateTestAccountCreateTestAccount.Email, and is useful for accessing the field via an interface.

func (*CreateTestAccountCreateTestAccount) GetId added in v1.3.0

GetId returns CreateTestAccountCreateTestAccount.Id, and is useful for accessing the field via an interface.

func (*CreateTestAccountCreateTestAccount) GetPassword added in v1.3.0

func (v *CreateTestAccountCreateTestAccount) GetPassword() string

GetPassword returns CreateTestAccountCreateTestAccount.Password, and is useful for accessing the field via an interface.

type CreateTestAccountResponse added in v1.3.0

type CreateTestAccountResponse struct {
	CreateTestAccount CreateTestAccountCreateTestAccount `json:"createTestAccount"`
}

CreateTestAccountResponse is returned by CreateTestAccount on success.

func CreateTestAccount added in v1.3.0

func CreateTestAccount(
	ctx context.Context,
	client graphql.Client,
	email string,
	password string,
) (*CreateTestAccountResponse, error)

func (*CreateTestAccountResponse) GetCreateTestAccount added in v1.3.0

GetCreateTestAccount returns CreateTestAccountResponse.CreateTestAccount, and is useful for accessing the field via an interface.

type CreateTreatmentCreateTreatment added in v1.3.0

type CreateTreatmentCreateTreatment struct {
	Id          string   `json:"id"`
	Period      []Period `json:"period"`
	Day         []Day    `json:"day"`
	Quantity    int      `json:"quantity"`
	Medicine_id string   `json:"medicine_id"`
}

CreateTreatmentCreateTreatment includes the requested fields of the GraphQL type Treatment.

func (*CreateTreatmentCreateTreatment) GetDay added in v1.5.0

func (v *CreateTreatmentCreateTreatment) GetDay() []Day

GetDay returns CreateTreatmentCreateTreatment.Day, and is useful for accessing the field via an interface.

func (*CreateTreatmentCreateTreatment) GetId added in v1.3.0

GetId returns CreateTreatmentCreateTreatment.Id, and is useful for accessing the field via an interface.

func (*CreateTreatmentCreateTreatment) GetMedicine_id added in v1.5.0

func (v *CreateTreatmentCreateTreatment) GetMedicine_id() string

GetMedicine_id returns CreateTreatmentCreateTreatment.Medicine_id, and is useful for accessing the field via an interface.

func (*CreateTreatmentCreateTreatment) GetPeriod added in v1.5.0

func (v *CreateTreatmentCreateTreatment) GetPeriod() []Period

GetPeriod returns CreateTreatmentCreateTreatment.Period, and is useful for accessing the field via an interface.

func (*CreateTreatmentCreateTreatment) GetQuantity added in v1.5.0

func (v *CreateTreatmentCreateTreatment) GetQuantity() int

GetQuantity returns CreateTreatmentCreateTreatment.Quantity, and is useful for accessing the field via an interface.

type CreateTreatmentResponse added in v1.3.0

type CreateTreatmentResponse struct {
	CreateTreatment CreateTreatmentCreateTreatment `json:"createTreatment"`
}

CreateTreatmentResponse is returned by CreateTreatment on success.

func CreateTreatment added in v1.3.0

func CreateTreatment(
	ctx context.Context,
	client graphql.Client,
	periods []Period,
	day []Day,
	quantity int,
	medicine_id string,
) (*CreateTreatmentResponse, error)

func (*CreateTreatmentResponse) GetCreateTreatment added in v1.3.0

GetCreateTreatment returns CreateTreatmentResponse.CreateTreatment, and is useful for accessing the field via an interface.

type CreateTreatmentsFollowUpCreateTreatmentsFollowUp added in v1.5.1

type CreateTreatmentsFollowUpCreateTreatmentsFollowUp struct {
	Id           string   `json:"id"`
	Treatment_id string   `json:"treatment_id"`
	Date         int      `json:"date"`
	Period       []Period `json:"period"`
}

CreateTreatmentsFollowUpCreateTreatmentsFollowUp includes the requested fields of the GraphQL type TreatmentsFollowUp.

func (*CreateTreatmentsFollowUpCreateTreatmentsFollowUp) GetDate added in v1.5.1

GetDate returns CreateTreatmentsFollowUpCreateTreatmentsFollowUp.Date, and is useful for accessing the field via an interface.

func (*CreateTreatmentsFollowUpCreateTreatmentsFollowUp) GetId added in v1.5.1

GetId returns CreateTreatmentsFollowUpCreateTreatmentsFollowUp.Id, and is useful for accessing the field via an interface.

func (*CreateTreatmentsFollowUpCreateTreatmentsFollowUp) GetPeriod added in v1.5.1

GetPeriod returns CreateTreatmentsFollowUpCreateTreatmentsFollowUp.Period, and is useful for accessing the field via an interface.

func (*CreateTreatmentsFollowUpCreateTreatmentsFollowUp) GetTreatment_id added in v1.5.1

GetTreatment_id returns CreateTreatmentsFollowUpCreateTreatmentsFollowUp.Treatment_id, and is useful for accessing the field via an interface.

type CreateTreatmentsFollowUpResponse added in v1.5.1

type CreateTreatmentsFollowUpResponse struct {
	CreateTreatmentsFollowUp CreateTreatmentsFollowUpCreateTreatmentsFollowUp `json:"createTreatmentsFollowUp"`
}

CreateTreatmentsFollowUpResponse is returned by CreateTreatmentsFollowUp on success.

func CreateTreatmentsFollowUp added in v1.5.1

func CreateTreatmentsFollowUp(
	ctx context.Context,
	client graphql.Client,
	treatment_id string,
	date int,
	period []Period,
) (*CreateTreatmentsFollowUpResponse, error)

func (*CreateTreatmentsFollowUpResponse) GetCreateTreatmentsFollowUp added in v1.5.1

GetCreateTreatmentsFollowUp returns CreateTreatmentsFollowUpResponse.CreateTreatmentsFollowUp, and is useful for accessing the field via an interface.

type Day added in v1.3.2

type Day string
const (
	DayMonday    Day = "MONDAY"
	DayTuesday   Day = "TUESDAY"
	DayWednesday Day = "WEDNESDAY"
	DayThursday  Day = "THURSDAY"
	DayFriday    Day = "FRIDAY"
	DaySaturday  Day = "SATURDAY"
	DaySunday    Day = "SUNDAY"
)

type DeleteAdminResponse added in v1.3.0

type DeleteAdminResponse struct {
	DeleteAdmin bool `json:"deleteAdmin"`
}

DeleteAdminResponse is returned by DeleteAdmin on success.

func DeleteAdmin added in v1.3.0

func DeleteAdmin(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteAdminResponse, error)

func (*DeleteAdminResponse) GetDeleteAdmin added in v1.3.0

func (v *DeleteAdminResponse) GetDeleteAdmin() bool

GetDeleteAdmin returns DeleteAdminResponse.DeleteAdmin, and is useful for accessing the field via an interface.

type DeleteAlertResponse added in v1.3.0

type DeleteAlertResponse struct {
	DeleteAlert bool `json:"deleteAlert"`
}

DeleteAlertResponse is returned by DeleteAlert on success.

func DeleteAlert added in v1.3.0

func DeleteAlert(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteAlertResponse, error)

func (*DeleteAlertResponse) GetDeleteAlert added in v1.3.0

func (v *DeleteAlertResponse) GetDeleteAlert() bool

GetDeleteAlert returns DeleteAlertResponse.DeleteAlert, and is useful for accessing the field via an interface.

type DeleteAnteChirResponse added in v1.3.0

type DeleteAnteChirResponse struct {
	DeleteAnteChir bool `json:"deleteAnteChir"`
}

DeleteAnteChirResponse is returned by DeleteAnteChir on success.

func DeleteAnteChir added in v1.3.0

func DeleteAnteChir(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteAnteChirResponse, error)

func (*DeleteAnteChirResponse) GetDeleteAnteChir added in v1.3.0

func (v *DeleteAnteChirResponse) GetDeleteAnteChir() bool

GetDeleteAnteChir returns DeleteAnteChirResponse.DeleteAnteChir, and is useful for accessing the field via an interface.

type DeleteAnteDiseaseResponse added in v1.3.0

type DeleteAnteDiseaseResponse struct {
	DeleteAnteDisease bool `json:"deleteAnteDisease"`
}

DeleteAnteDiseaseResponse is returned by DeleteAnteDisease on success.

func DeleteAnteDisease added in v1.3.0

func DeleteAnteDisease(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteAnteDiseaseResponse, error)

func (*DeleteAnteDiseaseResponse) GetDeleteAnteDisease added in v1.3.0

func (v *DeleteAnteDiseaseResponse) GetDeleteAnteDisease() bool

GetDeleteAnteDisease returns DeleteAnteDiseaseResponse.DeleteAnteDisease, and is useful for accessing the field via an interface.

type DeleteAnteFamilyResponse added in v1.3.0

type DeleteAnteFamilyResponse struct {
	DeleteAnteFamily bool `json:"deleteAnteFamily"`
}

DeleteAnteFamilyResponse is returned by DeleteAnteFamily on success.

func DeleteAnteFamily added in v1.3.0

func DeleteAnteFamily(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteAnteFamilyResponse, error)

func (*DeleteAnteFamilyResponse) GetDeleteAnteFamily added in v1.3.0

func (v *DeleteAnteFamilyResponse) GetDeleteAnteFamily() bool

GetDeleteAnteFamily returns DeleteAnteFamilyResponse.DeleteAnteFamily, and is useful for accessing the field via an interface.

type DeleteChatResponse added in v1.6.0

type DeleteChatResponse struct {
	DeleteChat bool `json:"deleteChat"`
}

DeleteChatResponse is returned by DeleteChat on success.

func DeleteChat added in v1.6.0

func DeleteChat(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteChatResponse, error)

func (*DeleteChatResponse) GetDeleteChat added in v1.6.0

func (v *DeleteChatResponse) GetDeleteChat() bool

GetDeleteChat returns DeleteChatResponse.DeleteChat, and is useful for accessing the field via an interface.

type DeleteDemoAccountResponse added in v1.3.0

type DeleteDemoAccountResponse struct {
	DeleteDemoAccount bool `json:"deleteDemoAccount"`
}

DeleteDemoAccountResponse is returned by DeleteDemoAccount on success.

func DeleteDemoAccount added in v1.3.0

func DeleteDemoAccount(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteDemoAccountResponse, error)

func (*DeleteDemoAccountResponse) GetDeleteDemoAccount added in v1.3.0

func (v *DeleteDemoAccountResponse) GetDeleteDemoAccount() bool

GetDeleteDemoAccount returns DeleteDemoAccountResponse.DeleteDemoAccount, and is useful for accessing the field via an interface.

type DeleteDiseaseResponse added in v1.3.0

type DeleteDiseaseResponse struct {
	DeleteDisease bool `json:"deleteDisease"`
}

DeleteDiseaseResponse is returned by DeleteDisease on success.

func DeleteDisease added in v1.3.0

func DeleteDisease(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteDiseaseResponse, error)

func (*DeleteDiseaseResponse) GetDeleteDisease added in v1.3.0

func (v *DeleteDiseaseResponse) GetDeleteDisease() bool

GetDeleteDisease returns DeleteDiseaseResponse.DeleteDisease, and is useful for accessing the field via an interface.

type DeleteDoctorResponse added in v1.3.0

type DeleteDoctorResponse struct {
	DeleteDoctor bool `json:"deleteDoctor"`
}

DeleteDoctorResponse is returned by DeleteDoctor on success.

func DeleteDoctor added in v1.3.0

func DeleteDoctor(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteDoctorResponse, error)

func (*DeleteDoctorResponse) GetDeleteDoctor added in v1.3.0

func (v *DeleteDoctorResponse) GetDeleteDoctor() bool

GetDeleteDoctor returns DeleteDoctorResponse.DeleteDoctor, and is useful for accessing the field via an interface.

type DeleteDocumentResponse added in v1.3.0

type DeleteDocumentResponse struct {
	DeleteDocument bool `json:"deleteDocument"`
}

DeleteDocumentResponse is returned by DeleteDocument on success.

func DeleteDocument added in v1.3.0

func DeleteDocument(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteDocumentResponse, error)

func (*DeleteDocumentResponse) GetDeleteDocument added in v1.3.0

func (v *DeleteDocumentResponse) GetDeleteDocument() bool

GetDeleteDocument returns DeleteDocumentResponse.DeleteDocument, and is useful for accessing the field via an interface.

type DeleteMedicalFolderResponse added in v1.3.2

type DeleteMedicalFolderResponse struct {
	DeleteMedicalFolder bool `json:"deleteMedicalFolder"`
}

DeleteMedicalFolderResponse is returned by DeleteMedicalFolder on success.

func DeleteMedicalFolder added in v1.3.2

func DeleteMedicalFolder(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteMedicalFolderResponse, error)

func (*DeleteMedicalFolderResponse) GetDeleteMedicalFolder added in v1.3.2

func (v *DeleteMedicalFolderResponse) GetDeleteMedicalFolder() bool

GetDeleteMedicalFolder returns DeleteMedicalFolderResponse.DeleteMedicalFolder, and is useful for accessing the field via an interface.

type DeleteMedicineResponse added in v1.5.1

type DeleteMedicineResponse struct {
	DeleteMedicine bool `json:"deleteMedicine"`
}

DeleteMedicineResponse is returned by DeleteMedicine on success.

func DeleteMedicine added in v1.5.1

func DeleteMedicine(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteMedicineResponse, error)

func (*DeleteMedicineResponse) GetDeleteMedicine added in v1.5.1

func (v *DeleteMedicineResponse) GetDeleteMedicine() bool

GetDeleteMedicine returns DeleteMedicineResponse.DeleteMedicine, and is useful for accessing the field via an interface.

type DeleteNotificationResponse added in v1.3.0

type DeleteNotificationResponse struct {
	DeleteNotification bool `json:"deleteNotification"`
}

DeleteNotificationResponse is returned by DeleteNotification on success.

func DeleteNotification added in v1.3.0

func DeleteNotification(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteNotificationResponse, error)

func (*DeleteNotificationResponse) GetDeleteNotification added in v1.3.0

func (v *DeleteNotificationResponse) GetDeleteNotification() bool

GetDeleteNotification returns DeleteNotificationResponse.DeleteNotification, and is useful for accessing the field via an interface.

type DeletePatientResponse added in v1.3.0

type DeletePatientResponse struct {
	DeletePatient bool `json:"deletePatient"`
}

DeletePatientResponse is returned by DeletePatient on success.

func DeletePatient added in v1.3.0

func DeletePatient(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeletePatientResponse, error)

func (*DeletePatientResponse) GetDeletePatient added in v1.3.0

func (v *DeletePatientResponse) GetDeletePatient() bool

GetDeletePatient returns DeletePatientResponse.DeletePatient, and is useful for accessing the field via an interface.

type DeleteRdvResponse added in v1.3.0

type DeleteRdvResponse struct {
	DeleteRdv bool `json:"deleteRdv"`
}

DeleteRdvResponse is returned by DeleteRdv on success.

func DeleteRdv added in v1.3.0

func DeleteRdv(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteRdvResponse, error)

func (*DeleteRdvResponse) GetDeleteRdv added in v1.3.0

func (v *DeleteRdvResponse) GetDeleteRdv() bool

GetDeleteRdv returns DeleteRdvResponse.DeleteRdv, and is useful for accessing the field via an interface.

type DeleteSessionResponse added in v1.3.0

type DeleteSessionResponse struct {
	DeleteSession bool `json:"deleteSession"`
}

DeleteSessionResponse is returned by DeleteSession on success.

func DeleteSession added in v1.3.0

func DeleteSession(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteSessionResponse, error)

func (*DeleteSessionResponse) GetDeleteSession added in v1.3.0

func (v *DeleteSessionResponse) GetDeleteSession() bool

GetDeleteSession returns DeleteSessionResponse.DeleteSession, and is useful for accessing the field via an interface.

type DeleteSlotResponse added in v1.3.0

type DeleteSlotResponse struct {
	DeleteSlot bool `json:"deleteSlot"`
}

DeleteSlotResponse is returned by DeleteSlot on success.

func DeleteSlot added in v1.3.0

func DeleteSlot(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteSlotResponse, error)

func (*DeleteSlotResponse) GetDeleteSlot added in v1.3.0

func (v *DeleteSlotResponse) GetDeleteSlot() bool

GetDeleteSlot returns DeleteSlotResponse.DeleteSlot, and is useful for accessing the field via an interface.

type DeleteSymptomResponse added in v1.3.0

type DeleteSymptomResponse struct {
	DeleteSymptom bool `json:"deleteSymptom"`
}

DeleteSymptomResponse is returned by DeleteSymptom on success.

func DeleteSymptom added in v1.3.0

func DeleteSymptom(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteSymptomResponse, error)

func (*DeleteSymptomResponse) GetDeleteSymptom added in v1.3.0

func (v *DeleteSymptomResponse) GetDeleteSymptom() bool

GetDeleteSymptom returns DeleteSymptomResponse.DeleteSymptom, and is useful for accessing the field via an interface.

type DeleteTestAccountResponse added in v1.3.0

type DeleteTestAccountResponse struct {
	DeleteTestAccount bool `json:"deleteTestAccount"`
}

DeleteTestAccountResponse is returned by DeleteTestAccount on success.

func DeleteTestAccount added in v1.3.0

func DeleteTestAccount(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteTestAccountResponse, error)

func (*DeleteTestAccountResponse) GetDeleteTestAccount added in v1.3.0

func (v *DeleteTestAccountResponse) GetDeleteTestAccount() bool

GetDeleteTestAccount returns DeleteTestAccountResponse.DeleteTestAccount, and is useful for accessing the field via an interface.

type DeleteTreatmentResponse added in v1.3.0

type DeleteTreatmentResponse struct {
	DeleteTreatment bool `json:"deleteTreatment"`
}

DeleteTreatmentResponse is returned by DeleteTreatment on success.

func DeleteTreatment added in v1.3.0

func DeleteTreatment(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteTreatmentResponse, error)

func (*DeleteTreatmentResponse) GetDeleteTreatment added in v1.3.0

func (v *DeleteTreatmentResponse) GetDeleteTreatment() bool

GetDeleteTreatment returns DeleteTreatmentResponse.DeleteTreatment, and is useful for accessing the field via an interface.

type DeleteTreatmentsFollowUpResponse added in v1.5.1

type DeleteTreatmentsFollowUpResponse struct {
	DeleteTreatmentsFollowUp bool `json:"deleteTreatmentsFollowUp"`
}

DeleteTreatmentsFollowUpResponse is returned by DeleteTreatmentsFollowUp on success.

func DeleteTreatmentsFollowUp added in v1.5.1

func DeleteTreatmentsFollowUp(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteTreatmentsFollowUpResponse, error)

func (*DeleteTreatmentsFollowUpResponse) GetDeleteTreatmentsFollowUp added in v1.5.1

func (v *DeleteTreatmentsFollowUpResponse) GetDeleteTreatmentsFollowUp() bool

GetDeleteTreatmentsFollowUp returns DeleteTreatmentsFollowUpResponse.DeleteTreatmentsFollowUp, and is useful for accessing the field via an interface.

type DocumentType added in v1.3.0

type DocumentType string
const (
	DocumentTypeXray         DocumentType = "XRAY"
	DocumentTypePrescription DocumentType = "PRESCRIPTION"
	DocumentTypeOther        DocumentType = "OTHER"
	DocumentTypeCertificate  DocumentType = "CERTIFICATE"
)

type GetAdminByEmailGetAdminByEmailAdmin added in v1.3.0

type GetAdminByEmailGetAdminByEmailAdmin struct {
	Id        string `json:"id"`
	Email     string `json:"email"`
	Password  string `json:"password"`
	Name      string `json:"name"`
	Last_name string `json:"last_name"`
}

GetAdminByEmailGetAdminByEmailAdmin includes the requested fields of the GraphQL type Admin.

func (*GetAdminByEmailGetAdminByEmailAdmin) GetEmail added in v1.3.0

GetEmail returns GetAdminByEmailGetAdminByEmailAdmin.Email, and is useful for accessing the field via an interface.

func (*GetAdminByEmailGetAdminByEmailAdmin) GetId added in v1.3.0

GetId returns GetAdminByEmailGetAdminByEmailAdmin.Id, and is useful for accessing the field via an interface.

func (*GetAdminByEmailGetAdminByEmailAdmin) GetLast_name added in v1.3.0

func (v *GetAdminByEmailGetAdminByEmailAdmin) GetLast_name() string

GetLast_name returns GetAdminByEmailGetAdminByEmailAdmin.Last_name, and is useful for accessing the field via an interface.

func (*GetAdminByEmailGetAdminByEmailAdmin) GetName added in v1.3.0

GetName returns GetAdminByEmailGetAdminByEmailAdmin.Name, and is useful for accessing the field via an interface.

func (*GetAdminByEmailGetAdminByEmailAdmin) GetPassword added in v1.3.0

GetPassword returns GetAdminByEmailGetAdminByEmailAdmin.Password, and is useful for accessing the field via an interface.

type GetAdminByEmailResponse added in v1.3.0

type GetAdminByEmailResponse struct {
	GetAdminByEmail GetAdminByEmailGetAdminByEmailAdmin `json:"getAdminByEmail"`
}

GetAdminByEmailResponse is returned by GetAdminByEmail on success.

func GetAdminByEmail

func GetAdminByEmail(
	ctx context.Context,
	client graphql.Client,
	email string,
) (*GetAdminByEmailResponse, error)

func (*GetAdminByEmailResponse) GetGetAdminByEmail added in v1.3.0

GetGetAdminByEmail returns GetAdminByEmailResponse.GetAdminByEmail, and is useful for accessing the field via an interface.

type GetAdminByIdGetAdminByIdAdmin added in v1.3.0

type GetAdminByIdGetAdminByIdAdmin struct {
	Id        string `json:"id"`
	Email     string `json:"email"`
	Password  string `json:"password"`
	Name      string `json:"name"`
	Last_name string `json:"last_name"`
}

GetAdminByIdGetAdminByIdAdmin includes the requested fields of the GraphQL type Admin.

func (*GetAdminByIdGetAdminByIdAdmin) GetEmail added in v1.3.0

func (v *GetAdminByIdGetAdminByIdAdmin) GetEmail() string

GetEmail returns GetAdminByIdGetAdminByIdAdmin.Email, and is useful for accessing the field via an interface.

func (*GetAdminByIdGetAdminByIdAdmin) GetId added in v1.3.0

GetId returns GetAdminByIdGetAdminByIdAdmin.Id, and is useful for accessing the field via an interface.

func (*GetAdminByIdGetAdminByIdAdmin) GetLast_name added in v1.3.0

func (v *GetAdminByIdGetAdminByIdAdmin) GetLast_name() string

GetLast_name returns GetAdminByIdGetAdminByIdAdmin.Last_name, and is useful for accessing the field via an interface.

func (*GetAdminByIdGetAdminByIdAdmin) GetName added in v1.3.0

GetName returns GetAdminByIdGetAdminByIdAdmin.Name, and is useful for accessing the field via an interface.

func (*GetAdminByIdGetAdminByIdAdmin) GetPassword added in v1.3.0

func (v *GetAdminByIdGetAdminByIdAdmin) GetPassword() string

GetPassword returns GetAdminByIdGetAdminByIdAdmin.Password, and is useful for accessing the field via an interface.

type GetAdminByIdResponse added in v1.3.0

type GetAdminByIdResponse struct {
	GetAdminById GetAdminByIdGetAdminByIdAdmin `json:"getAdminById"`
}

GetAdminByIdResponse is returned by GetAdminById on success.

func GetAdminById added in v1.3.0

func GetAdminById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetAdminByIdResponse, error)

func (*GetAdminByIdResponse) GetGetAdminById added in v1.3.0

GetGetAdminById returns GetAdminByIdResponse.GetAdminById, and is useful for accessing the field via an interface.

type GetAdminsGetAdminsAdmin added in v1.3.0

type GetAdminsGetAdminsAdmin struct {
	Id        string `json:"id"`
	Email     string `json:"email"`
	Password  string `json:"password"`
	Name      string `json:"name"`
	Last_name string `json:"last_name"`
}

GetAdminsGetAdminsAdmin includes the requested fields of the GraphQL type Admin.

func (*GetAdminsGetAdminsAdmin) GetEmail added in v1.3.0

func (v *GetAdminsGetAdminsAdmin) GetEmail() string

GetEmail returns GetAdminsGetAdminsAdmin.Email, and is useful for accessing the field via an interface.

func (*GetAdminsGetAdminsAdmin) GetId added in v1.3.0

func (v *GetAdminsGetAdminsAdmin) GetId() string

GetId returns GetAdminsGetAdminsAdmin.Id, and is useful for accessing the field via an interface.

func (*GetAdminsGetAdminsAdmin) GetLast_name added in v1.3.0

func (v *GetAdminsGetAdminsAdmin) GetLast_name() string

GetLast_name returns GetAdminsGetAdminsAdmin.Last_name, and is useful for accessing the field via an interface.

func (*GetAdminsGetAdminsAdmin) GetName added in v1.3.0

func (v *GetAdminsGetAdminsAdmin) GetName() string

GetName returns GetAdminsGetAdminsAdmin.Name, and is useful for accessing the field via an interface.

func (*GetAdminsGetAdminsAdmin) GetPassword added in v1.3.0

func (v *GetAdminsGetAdminsAdmin) GetPassword() string

GetPassword returns GetAdminsGetAdminsAdmin.Password, and is useful for accessing the field via an interface.

type GetAdminsResponse added in v1.3.0

type GetAdminsResponse struct {
	GetAdmins []GetAdminsGetAdminsAdmin `json:"getAdmins"`
}

GetAdminsResponse is returned by GetAdmins on success.

func GetAdmins added in v1.3.0

func GetAdmins(
	ctx context.Context,
	client graphql.Client,
) (*GetAdminsResponse, error)

func (*GetAdminsResponse) GetGetAdmins added in v1.3.0

func (v *GetAdminsResponse) GetGetAdmins() []GetAdminsGetAdminsAdmin

GetGetAdmins returns GetAdminsResponse.GetAdmins, and is useful for accessing the field via an interface.

type GetAlertByIdGetAlertByIdAlert added in v1.3.0

type GetAlertByIdGetAlertByIdAlert struct {
	Id       string   `json:"id"`
	Name     string   `json:"name"`
	Sex      string   `json:"sex"`
	Height   int      `json:"height"`
	Weight   int      `json:"weight"`
	Symptoms []string `json:"symptoms"`
	Comment  string   `json:"comment"`
}

GetAlertByIdGetAlertByIdAlert includes the requested fields of the GraphQL type Alert.

func (*GetAlertByIdGetAlertByIdAlert) GetComment added in v1.3.0

func (v *GetAlertByIdGetAlertByIdAlert) GetComment() string

GetComment returns GetAlertByIdGetAlertByIdAlert.Comment, and is useful for accessing the field via an interface.

func (*GetAlertByIdGetAlertByIdAlert) GetHeight added in v1.3.0

func (v *GetAlertByIdGetAlertByIdAlert) GetHeight() int

GetHeight returns GetAlertByIdGetAlertByIdAlert.Height, and is useful for accessing the field via an interface.

func (*GetAlertByIdGetAlertByIdAlert) GetId added in v1.3.0

GetId returns GetAlertByIdGetAlertByIdAlert.Id, and is useful for accessing the field via an interface.

func (*GetAlertByIdGetAlertByIdAlert) GetName added in v1.3.0

GetName returns GetAlertByIdGetAlertByIdAlert.Name, and is useful for accessing the field via an interface.

func (*GetAlertByIdGetAlertByIdAlert) GetSex added in v1.3.0

GetSex returns GetAlertByIdGetAlertByIdAlert.Sex, and is useful for accessing the field via an interface.

func (*GetAlertByIdGetAlertByIdAlert) GetSymptoms added in v1.3.0

func (v *GetAlertByIdGetAlertByIdAlert) GetSymptoms() []string

GetSymptoms returns GetAlertByIdGetAlertByIdAlert.Symptoms, and is useful for accessing the field via an interface.

func (*GetAlertByIdGetAlertByIdAlert) GetWeight added in v1.3.0

func (v *GetAlertByIdGetAlertByIdAlert) GetWeight() int

GetWeight returns GetAlertByIdGetAlertByIdAlert.Weight, and is useful for accessing the field via an interface.

type GetAlertByIdResponse added in v1.3.0

type GetAlertByIdResponse struct {
	GetAlertById GetAlertByIdGetAlertByIdAlert `json:"getAlertById"`
}

GetAlertByIdResponse is returned by GetAlertById on success.

func GetAlertById added in v1.3.0

func GetAlertById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetAlertByIdResponse, error)

func (*GetAlertByIdResponse) GetGetAlertById added in v1.3.0

GetGetAlertById returns GetAlertByIdResponse.GetAlertById, and is useful for accessing the field via an interface.

type GetAlertsGetAlertsAlert added in v1.3.0

type GetAlertsGetAlertsAlert struct {
	Id       string   `json:"id"`
	Name     string   `json:"name"`
	Sex      string   `json:"sex"`
	Height   int      `json:"height"`
	Weight   int      `json:"weight"`
	Symptoms []string `json:"symptoms"`
	Comment  string   `json:"comment"`
}

GetAlertsGetAlertsAlert includes the requested fields of the GraphQL type Alert.

func (*GetAlertsGetAlertsAlert) GetComment added in v1.3.0

func (v *GetAlertsGetAlertsAlert) GetComment() string

GetComment returns GetAlertsGetAlertsAlert.Comment, and is useful for accessing the field via an interface.

func (*GetAlertsGetAlertsAlert) GetHeight added in v1.3.0

func (v *GetAlertsGetAlertsAlert) GetHeight() int

GetHeight returns GetAlertsGetAlertsAlert.Height, and is useful for accessing the field via an interface.

func (*GetAlertsGetAlertsAlert) GetId added in v1.3.0

func (v *GetAlertsGetAlertsAlert) GetId() string

GetId returns GetAlertsGetAlertsAlert.Id, and is useful for accessing the field via an interface.

func (*GetAlertsGetAlertsAlert) GetName added in v1.3.0

func (v *GetAlertsGetAlertsAlert) GetName() string

GetName returns GetAlertsGetAlertsAlert.Name, and is useful for accessing the field via an interface.

func (*GetAlertsGetAlertsAlert) GetSex added in v1.3.0

func (v *GetAlertsGetAlertsAlert) GetSex() string

GetSex returns GetAlertsGetAlertsAlert.Sex, and is useful for accessing the field via an interface.

func (*GetAlertsGetAlertsAlert) GetSymptoms added in v1.3.0

func (v *GetAlertsGetAlertsAlert) GetSymptoms() []string

GetSymptoms returns GetAlertsGetAlertsAlert.Symptoms, and is useful for accessing the field via an interface.

func (*GetAlertsGetAlertsAlert) GetWeight added in v1.3.0

func (v *GetAlertsGetAlertsAlert) GetWeight() int

GetWeight returns GetAlertsGetAlertsAlert.Weight, and is useful for accessing the field via an interface.

type GetAlertsResponse added in v1.3.0

type GetAlertsResponse struct {
	GetAlerts []GetAlertsGetAlertsAlert `json:"getAlerts"`
}

GetAlertsResponse is returned by GetAlerts on success.

func GetAlerts added in v1.3.0

func GetAlerts(
	ctx context.Context,
	client graphql.Client,
) (*GetAlertsResponse, error)

func (*GetAlertsResponse) GetGetAlerts added in v1.3.0

func (v *GetAlertsResponse) GetGetAlerts() []GetAlertsGetAlertsAlert

GetGetAlerts returns GetAlertsResponse.GetAlerts, and is useful for accessing the field via an interface.

type GetAnteChirByIDGetAnteChirByIDAnteChir added in v1.3.0

type GetAnteChirByIDGetAnteChirByIDAnteChir struct {
	Id               string   `json:"id"`
	Name             string   `json:"name"`
	Localisation     string   `json:"localisation"`
	Induced_symptoms []string `json:"induced_symptoms"`
}

GetAnteChirByIDGetAnteChirByIDAnteChir includes the requested fields of the GraphQL type AnteChir.

func (*GetAnteChirByIDGetAnteChirByIDAnteChir) GetId added in v1.3.0

GetId returns GetAnteChirByIDGetAnteChirByIDAnteChir.Id, and is useful for accessing the field via an interface.

func (*GetAnteChirByIDGetAnteChirByIDAnteChir) GetInduced_symptoms added in v1.3.0

func (v *GetAnteChirByIDGetAnteChirByIDAnteChir) GetInduced_symptoms() []string

GetInduced_symptoms returns GetAnteChirByIDGetAnteChirByIDAnteChir.Induced_symptoms, and is useful for accessing the field via an interface.

func (*GetAnteChirByIDGetAnteChirByIDAnteChir) GetLocalisation added in v1.3.0

func (v *GetAnteChirByIDGetAnteChirByIDAnteChir) GetLocalisation() string

GetLocalisation returns GetAnteChirByIDGetAnteChirByIDAnteChir.Localisation, and is useful for accessing the field via an interface.

func (*GetAnteChirByIDGetAnteChirByIDAnteChir) GetName added in v1.3.0

GetName returns GetAnteChirByIDGetAnteChirByIDAnteChir.Name, and is useful for accessing the field via an interface.

type GetAnteChirByIDResponse added in v1.3.0

type GetAnteChirByIDResponse struct {
	GetAnteChirByID GetAnteChirByIDGetAnteChirByIDAnteChir `json:"getAnteChirByID"`
}

GetAnteChirByIDResponse is returned by GetAnteChirByID on success.

func GetAnteChirByID added in v1.3.0

func GetAnteChirByID(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetAnteChirByIDResponse, error)

func (*GetAnteChirByIDResponse) GetGetAnteChirByID added in v1.3.0

GetGetAnteChirByID returns GetAnteChirByIDResponse.GetAnteChirByID, and is useful for accessing the field via an interface.

type GetAnteChirsGetAnteChirsAnteChir added in v1.3.0

type GetAnteChirsGetAnteChirsAnteChir struct {
	Id               string   `json:"id"`
	Name             string   `json:"name"`
	Localisation     string   `json:"localisation"`
	Induced_symptoms []string `json:"induced_symptoms"`
}

GetAnteChirsGetAnteChirsAnteChir includes the requested fields of the GraphQL type AnteChir.

func (*GetAnteChirsGetAnteChirsAnteChir) GetId added in v1.3.0

GetId returns GetAnteChirsGetAnteChirsAnteChir.Id, and is useful for accessing the field via an interface.

func (*GetAnteChirsGetAnteChirsAnteChir) GetInduced_symptoms added in v1.3.0

func (v *GetAnteChirsGetAnteChirsAnteChir) GetInduced_symptoms() []string

GetInduced_symptoms returns GetAnteChirsGetAnteChirsAnteChir.Induced_symptoms, and is useful for accessing the field via an interface.

func (*GetAnteChirsGetAnteChirsAnteChir) GetLocalisation added in v1.3.0

func (v *GetAnteChirsGetAnteChirsAnteChir) GetLocalisation() string

GetLocalisation returns GetAnteChirsGetAnteChirsAnteChir.Localisation, and is useful for accessing the field via an interface.

func (*GetAnteChirsGetAnteChirsAnteChir) GetName added in v1.3.0

GetName returns GetAnteChirsGetAnteChirsAnteChir.Name, and is useful for accessing the field via an interface.

type GetAnteChirsResponse added in v1.3.0

type GetAnteChirsResponse struct {
	GetAnteChirs []GetAnteChirsGetAnteChirsAnteChir `json:"getAnteChirs"`
}

GetAnteChirsResponse is returned by GetAnteChirs on success.

func GetAnteChirs added in v1.3.0

func GetAnteChirs(
	ctx context.Context,
	client graphql.Client,
) (*GetAnteChirsResponse, error)

func (*GetAnteChirsResponse) GetGetAnteChirs added in v1.3.0

GetGetAnteChirs returns GetAnteChirsResponse.GetAnteChirs, and is useful for accessing the field via an interface.

type GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease added in v1.3.0

type GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease struct {
	Id             string   `json:"id"`
	Name           string   `json:"name"`
	Chronicity     float64  `json:"chronicity"`
	Surgery_ids    []string `json:"surgery_ids"`
	Symptoms       []string `json:"symptoms"`
	Treatment_ids  []string `json:"treatment_ids"`
	Still_relevant bool     `json:"still_relevant"`
}

GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease includes the requested fields of the GraphQL type AnteDisease.

func (*GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease) GetChronicity added in v1.3.0

GetChronicity returns GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease.Chronicity, and is useful for accessing the field via an interface.

func (*GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease) GetId added in v1.3.0

GetId returns GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease.Id, and is useful for accessing the field via an interface.

func (*GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease) GetName added in v1.3.0

GetName returns GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease.Name, and is useful for accessing the field via an interface.

func (*GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease) GetStill_relevant added in v1.4.6

GetStill_relevant returns GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease.Still_relevant, and is useful for accessing the field via an interface.

func (*GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease) GetSurgery_ids added in v1.4.6

GetSurgery_ids returns GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease.Surgery_ids, and is useful for accessing the field via an interface.

func (*GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease) GetSymptoms added in v1.3.0

GetSymptoms returns GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease.Symptoms, and is useful for accessing the field via an interface.

func (*GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease) GetTreatment_ids added in v1.4.6

GetTreatment_ids returns GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease.Treatment_ids, and is useful for accessing the field via an interface.

type GetAnteDiseaseByIDResponse added in v1.3.0

type GetAnteDiseaseByIDResponse struct {
	GetAnteDiseaseByID GetAnteDiseaseByIDGetAnteDiseaseByIDAnteDisease `json:"getAnteDiseaseByID"`
}

GetAnteDiseaseByIDResponse is returned by GetAnteDiseaseByID on success.

func GetAnteDiseaseByID added in v1.3.0

func GetAnteDiseaseByID(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetAnteDiseaseByIDResponse, error)

func (*GetAnteDiseaseByIDResponse) GetGetAnteDiseaseByID added in v1.3.0

GetGetAnteDiseaseByID returns GetAnteDiseaseByIDResponse.GetAnteDiseaseByID, and is useful for accessing the field via an interface.

type GetAnteDiseasesGetAnteDiseasesAnteDisease added in v1.3.0

type GetAnteDiseasesGetAnteDiseasesAnteDisease struct {
	Id             string   `json:"id"`
	Name           string   `json:"name"`
	Chronicity     float64  `json:"chronicity"`
	Surgery_ids    []string `json:"surgery_ids"`
	Symptoms       []string `json:"symptoms"`
	Treatment_ids  []string `json:"treatment_ids"`
	Still_relevant bool     `json:"still_relevant"`
}

GetAnteDiseasesGetAnteDiseasesAnteDisease includes the requested fields of the GraphQL type AnteDisease.

func (*GetAnteDiseasesGetAnteDiseasesAnteDisease) GetChronicity added in v1.3.0

GetChronicity returns GetAnteDiseasesGetAnteDiseasesAnteDisease.Chronicity, and is useful for accessing the field via an interface.

func (*GetAnteDiseasesGetAnteDiseasesAnteDisease) GetId added in v1.3.0

GetId returns GetAnteDiseasesGetAnteDiseasesAnteDisease.Id, and is useful for accessing the field via an interface.

func (*GetAnteDiseasesGetAnteDiseasesAnteDisease) GetName added in v1.3.0

GetName returns GetAnteDiseasesGetAnteDiseasesAnteDisease.Name, and is useful for accessing the field via an interface.

func (*GetAnteDiseasesGetAnteDiseasesAnteDisease) GetStill_relevant added in v1.4.6

func (v *GetAnteDiseasesGetAnteDiseasesAnteDisease) GetStill_relevant() bool

GetStill_relevant returns GetAnteDiseasesGetAnteDiseasesAnteDisease.Still_relevant, and is useful for accessing the field via an interface.

func (*GetAnteDiseasesGetAnteDiseasesAnteDisease) GetSurgery_ids added in v1.4.6

func (v *GetAnteDiseasesGetAnteDiseasesAnteDisease) GetSurgery_ids() []string

GetSurgery_ids returns GetAnteDiseasesGetAnteDiseasesAnteDisease.Surgery_ids, and is useful for accessing the field via an interface.

func (*GetAnteDiseasesGetAnteDiseasesAnteDisease) GetSymptoms added in v1.3.0

GetSymptoms returns GetAnteDiseasesGetAnteDiseasesAnteDisease.Symptoms, and is useful for accessing the field via an interface.

func (*GetAnteDiseasesGetAnteDiseasesAnteDisease) GetTreatment_ids added in v1.4.6

func (v *GetAnteDiseasesGetAnteDiseasesAnteDisease) GetTreatment_ids() []string

GetTreatment_ids returns GetAnteDiseasesGetAnteDiseasesAnteDisease.Treatment_ids, and is useful for accessing the field via an interface.

type GetAnteDiseasesResponse added in v1.3.0

type GetAnteDiseasesResponse struct {
	GetAnteDiseases []GetAnteDiseasesGetAnteDiseasesAnteDisease `json:"getAnteDiseases"`
}

GetAnteDiseasesResponse is returned by GetAnteDiseases on success.

func GetAnteDiseases added in v1.3.0

func GetAnteDiseases(
	ctx context.Context,
	client graphql.Client,
) (*GetAnteDiseasesResponse, error)

func (*GetAnteDiseasesResponse) GetGetAnteDiseases added in v1.3.0

GetGetAnteDiseases returns GetAnteDiseasesResponse.GetAnteDiseases, and is useful for accessing the field via an interface.

type GetAnteFamiliesGetAnteFamiliesAnteFamily added in v1.3.0

type GetAnteFamiliesGetAnteFamiliesAnteFamily struct {
	Id      string   `json:"id"`
	Name    string   `json:"name"`
	Disease []string `json:"disease"`
}

GetAnteFamiliesGetAnteFamiliesAnteFamily includes the requested fields of the GraphQL type AnteFamily.

func (*GetAnteFamiliesGetAnteFamiliesAnteFamily) GetDisease added in v1.3.0

GetDisease returns GetAnteFamiliesGetAnteFamiliesAnteFamily.Disease, and is useful for accessing the field via an interface.

func (*GetAnteFamiliesGetAnteFamiliesAnteFamily) GetId added in v1.3.0

GetId returns GetAnteFamiliesGetAnteFamiliesAnteFamily.Id, and is useful for accessing the field via an interface.

func (*GetAnteFamiliesGetAnteFamiliesAnteFamily) GetName added in v1.3.0

GetName returns GetAnteFamiliesGetAnteFamiliesAnteFamily.Name, and is useful for accessing the field via an interface.

type GetAnteFamiliesResponse added in v1.3.0

type GetAnteFamiliesResponse struct {
	GetAnteFamilies []GetAnteFamiliesGetAnteFamiliesAnteFamily `json:"getAnteFamilies"`
}

GetAnteFamiliesResponse is returned by GetAnteFamilies on success.

func GetAnteFamilies added in v1.3.0

func GetAnteFamilies(
	ctx context.Context,
	client graphql.Client,
) (*GetAnteFamiliesResponse, error)

func (*GetAnteFamiliesResponse) GetGetAnteFamilies added in v1.3.0

GetGetAnteFamilies returns GetAnteFamiliesResponse.GetAnteFamilies, and is useful for accessing the field via an interface.

type GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily added in v1.3.0

type GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily struct {
	Id      string   `json:"id"`
	Name    string   `json:"name"`
	Disease []string `json:"disease"`
}

GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily includes the requested fields of the GraphQL type AnteFamily.

func (*GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily) GetDisease added in v1.3.0

GetDisease returns GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily.Disease, and is useful for accessing the field via an interface.

func (*GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily) GetId added in v1.3.0

GetId returns GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily.Id, and is useful for accessing the field via an interface.

func (*GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily) GetName added in v1.3.0

GetName returns GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily.Name, and is useful for accessing the field via an interface.

type GetAnteFamilyByIDResponse added in v1.3.0

type GetAnteFamilyByIDResponse struct {
	GetAnteFamilyByID GetAnteFamilyByIDGetAnteFamilyByIDAnteFamily `json:"getAnteFamilyByID"`
}

GetAnteFamilyByIDResponse is returned by GetAnteFamilyByID on success.

func GetAnteFamilyByID added in v1.3.0

func GetAnteFamilyByID(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetAnteFamilyByIDResponse, error)

func (*GetAnteFamilyByIDResponse) GetGetAnteFamilyByID added in v1.3.0

GetGetAnteFamilyByID returns GetAnteFamilyByIDResponse.GetAnteFamilyByID, and is useful for accessing the field via an interface.

type GetChatByIdGetChatByIdChat added in v1.6.0

type GetChatByIdGetChatByIdChat struct {
	Id           string                                   `json:"id"`
	Participants []GetChatByIdGetChatByIdChatParticipants `json:"participants"`
	Messages     []GetChatByIdGetChatByIdChatMessages     `json:"messages"`
}

GetChatByIdGetChatByIdChat includes the requested fields of the GraphQL type Chat.

func (*GetChatByIdGetChatByIdChat) GetId added in v1.6.0

GetId returns GetChatByIdGetChatByIdChat.Id, and is useful for accessing the field via an interface.

func (*GetChatByIdGetChatByIdChat) GetMessages added in v1.6.0

GetMessages returns GetChatByIdGetChatByIdChat.Messages, and is useful for accessing the field via an interface.

func (*GetChatByIdGetChatByIdChat) GetParticipants added in v1.6.0

GetParticipants returns GetChatByIdGetChatByIdChat.Participants, and is useful for accessing the field via an interface.

type GetChatByIdGetChatByIdChatMessages added in v1.6.0

type GetChatByIdGetChatByIdChatMessages struct {
	Owner_id    string `json:"owner_id"`
	Message     string `json:"message"`
	Sended_time int    `json:"sended_time"`
}

GetChatByIdGetChatByIdChatMessages includes the requested fields of the GraphQL type ChatMessages.

func (*GetChatByIdGetChatByIdChatMessages) GetMessage added in v1.6.0

GetMessage returns GetChatByIdGetChatByIdChatMessages.Message, and is useful for accessing the field via an interface.

func (*GetChatByIdGetChatByIdChatMessages) GetOwner_id added in v1.6.0

func (v *GetChatByIdGetChatByIdChatMessages) GetOwner_id() string

GetOwner_id returns GetChatByIdGetChatByIdChatMessages.Owner_id, and is useful for accessing the field via an interface.

func (*GetChatByIdGetChatByIdChatMessages) GetSended_time added in v1.6.0

func (v *GetChatByIdGetChatByIdChatMessages) GetSended_time() int

GetSended_time returns GetChatByIdGetChatByIdChatMessages.Sended_time, and is useful for accessing the field via an interface.

type GetChatByIdGetChatByIdChatParticipants added in v1.6.0

type GetChatByIdGetChatByIdChatParticipants struct {
	Participant_id string `json:"participant_id"`
	Last_seen      int    `json:"last_seen"`
}

GetChatByIdGetChatByIdChatParticipants includes the requested fields of the GraphQL type ChatParticipants.

func (*GetChatByIdGetChatByIdChatParticipants) GetLast_seen added in v1.6.0

func (v *GetChatByIdGetChatByIdChatParticipants) GetLast_seen() int

GetLast_seen returns GetChatByIdGetChatByIdChatParticipants.Last_seen, and is useful for accessing the field via an interface.

func (*GetChatByIdGetChatByIdChatParticipants) GetParticipant_id added in v1.6.0

func (v *GetChatByIdGetChatByIdChatParticipants) GetParticipant_id() string

GetParticipant_id returns GetChatByIdGetChatByIdChatParticipants.Participant_id, and is useful for accessing the field via an interface.

type GetChatByIdResponse added in v1.6.0

type GetChatByIdResponse struct {
	GetChatById GetChatByIdGetChatByIdChat `json:"getChatById"`
}

GetChatByIdResponse is returned by GetChatById on success.

func GetChatById added in v1.6.0

func GetChatById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetChatByIdResponse, error)

func (*GetChatByIdResponse) GetGetChatById added in v1.6.0

func (v *GetChatByIdResponse) GetGetChatById() GetChatByIdGetChatByIdChat

GetGetChatById returns GetChatByIdResponse.GetChatById, and is useful for accessing the field via an interface.

type GetChatsGetChatsChat added in v1.6.0

type GetChatsGetChatsChat struct {
	Id           string                             `json:"id"`
	Participants []GetChatsGetChatsChatParticipants `json:"participants"`
	Messages     []GetChatsGetChatsChatMessages     `json:"messages"`
}

GetChatsGetChatsChat includes the requested fields of the GraphQL type Chat.

func (*GetChatsGetChatsChat) GetId added in v1.6.0

func (v *GetChatsGetChatsChat) GetId() string

GetId returns GetChatsGetChatsChat.Id, and is useful for accessing the field via an interface.

func (*GetChatsGetChatsChat) GetMessages added in v1.6.0

GetMessages returns GetChatsGetChatsChat.Messages, and is useful for accessing the field via an interface.

func (*GetChatsGetChatsChat) GetParticipants added in v1.6.0

GetParticipants returns GetChatsGetChatsChat.Participants, and is useful for accessing the field via an interface.

type GetChatsGetChatsChatMessages added in v1.6.0

type GetChatsGetChatsChatMessages struct {
	Owner_id    string `json:"owner_id"`
	Message     string `json:"message"`
	Sended_time int    `json:"sended_time"`
}

GetChatsGetChatsChatMessages includes the requested fields of the GraphQL type ChatMessages.

func (*GetChatsGetChatsChatMessages) GetMessage added in v1.6.0

func (v *GetChatsGetChatsChatMessages) GetMessage() string

GetMessage returns GetChatsGetChatsChatMessages.Message, and is useful for accessing the field via an interface.

func (*GetChatsGetChatsChatMessages) GetOwner_id added in v1.6.0

func (v *GetChatsGetChatsChatMessages) GetOwner_id() string

GetOwner_id returns GetChatsGetChatsChatMessages.Owner_id, and is useful for accessing the field via an interface.

func (*GetChatsGetChatsChatMessages) GetSended_time added in v1.6.0

func (v *GetChatsGetChatsChatMessages) GetSended_time() int

GetSended_time returns GetChatsGetChatsChatMessages.Sended_time, and is useful for accessing the field via an interface.

type GetChatsGetChatsChatParticipants added in v1.6.0

type GetChatsGetChatsChatParticipants struct {
	Participant_id string `json:"participant_id"`
	Last_seen      int    `json:"last_seen"`
}

GetChatsGetChatsChatParticipants includes the requested fields of the GraphQL type ChatParticipants.

func (*GetChatsGetChatsChatParticipants) GetLast_seen added in v1.6.0

func (v *GetChatsGetChatsChatParticipants) GetLast_seen() int

GetLast_seen returns GetChatsGetChatsChatParticipants.Last_seen, and is useful for accessing the field via an interface.

func (*GetChatsGetChatsChatParticipants) GetParticipant_id added in v1.6.0

func (v *GetChatsGetChatsChatParticipants) GetParticipant_id() string

GetParticipant_id returns GetChatsGetChatsChatParticipants.Participant_id, and is useful for accessing the field via an interface.

type GetChatsResponse added in v1.6.0

type GetChatsResponse struct {
	GetChats []GetChatsGetChatsChat `json:"getChats"`
}

GetChatsResponse is returned by GetChats on success.

func GetChats added in v1.6.0

func GetChats(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetChatsResponse, error)

func (*GetChatsResponse) GetGetChats added in v1.6.0

func (v *GetChatsResponse) GetGetChats() []GetChatsGetChatsChat

GetGetChats returns GetChatsResponse.GetChats, and is useful for accessing the field via an interface.

type GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount added in v1.3.0

type GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount includes the requested fields of the GraphQL type DemoAccount.

func (*GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount) GetEmail added in v1.3.0

GetEmail returns GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount.Email, and is useful for accessing the field via an interface.

func (*GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount) GetId added in v1.3.0

GetId returns GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount.Id, and is useful for accessing the field via an interface.

func (*GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount) GetPassword added in v1.3.0

GetPassword returns GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount.Password, and is useful for accessing the field via an interface.

type GetDemoAccountByEmailResponse added in v1.3.0

type GetDemoAccountByEmailResponse struct {
	GetDemoAccountByEmail GetDemoAccountByEmailGetDemoAccountByEmailDemoAccount `json:"getDemoAccountByEmail"`
}

GetDemoAccountByEmailResponse is returned by GetDemoAccountByEmail on success.

func GetDemoAccountByEmail added in v1.3.0

func GetDemoAccountByEmail(
	ctx context.Context,
	client graphql.Client,
	email string,
) (*GetDemoAccountByEmailResponse, error)

func (*GetDemoAccountByEmailResponse) GetGetDemoAccountByEmail added in v1.3.0

GetGetDemoAccountByEmail returns GetDemoAccountByEmailResponse.GetDemoAccountByEmail, and is useful for accessing the field via an interface.

type GetDemoAccountByIdGetDemoAccountByIdDemoAccount added in v1.3.0

type GetDemoAccountByIdGetDemoAccountByIdDemoAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

GetDemoAccountByIdGetDemoAccountByIdDemoAccount includes the requested fields of the GraphQL type DemoAccount.

func (*GetDemoAccountByIdGetDemoAccountByIdDemoAccount) GetEmail added in v1.3.0

GetEmail returns GetDemoAccountByIdGetDemoAccountByIdDemoAccount.Email, and is useful for accessing the field via an interface.

func (*GetDemoAccountByIdGetDemoAccountByIdDemoAccount) GetId added in v1.3.0

GetId returns GetDemoAccountByIdGetDemoAccountByIdDemoAccount.Id, and is useful for accessing the field via an interface.

func (*GetDemoAccountByIdGetDemoAccountByIdDemoAccount) GetPassword added in v1.3.0

GetPassword returns GetDemoAccountByIdGetDemoAccountByIdDemoAccount.Password, and is useful for accessing the field via an interface.

type GetDemoAccountByIdResponse added in v1.3.0

type GetDemoAccountByIdResponse struct {
	GetDemoAccountById GetDemoAccountByIdGetDemoAccountByIdDemoAccount `json:"getDemoAccountById"`
}

GetDemoAccountByIdResponse is returned by GetDemoAccountById on success.

func GetDemoAccountById added in v1.3.0

func GetDemoAccountById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetDemoAccountByIdResponse, error)

func (*GetDemoAccountByIdResponse) GetGetDemoAccountById added in v1.3.0

GetGetDemoAccountById returns GetDemoAccountByIdResponse.GetDemoAccountById, and is useful for accessing the field via an interface.

type GetDemoAccountsGetDemoAccountsDemoAccount added in v1.3.0

type GetDemoAccountsGetDemoAccountsDemoAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

GetDemoAccountsGetDemoAccountsDemoAccount includes the requested fields of the GraphQL type DemoAccount.

func (*GetDemoAccountsGetDemoAccountsDemoAccount) GetEmail added in v1.3.0

GetEmail returns GetDemoAccountsGetDemoAccountsDemoAccount.Email, and is useful for accessing the field via an interface.

func (*GetDemoAccountsGetDemoAccountsDemoAccount) GetId added in v1.3.0

GetId returns GetDemoAccountsGetDemoAccountsDemoAccount.Id, and is useful for accessing the field via an interface.

func (*GetDemoAccountsGetDemoAccountsDemoAccount) GetPassword added in v1.3.0

GetPassword returns GetDemoAccountsGetDemoAccountsDemoAccount.Password, and is useful for accessing the field via an interface.

type GetDemoAccountsResponse added in v1.3.0

type GetDemoAccountsResponse struct {
	GetDemoAccounts []GetDemoAccountsGetDemoAccountsDemoAccount `json:"getDemoAccounts"`
}

GetDemoAccountsResponse is returned by GetDemoAccounts on success.

func GetDemoAccounts added in v1.3.0

func GetDemoAccounts(
	ctx context.Context,
	client graphql.Client,
) (*GetDemoAccountsResponse, error)

func (*GetDemoAccountsResponse) GetGetDemoAccounts added in v1.3.0

GetGetDemoAccounts returns GetDemoAccountsResponse.GetDemoAccounts, and is useful for accessing the field via an interface.

type GetDiseaseByIdGetDiseaseByIdDisease added in v1.3.0

type GetDiseaseByIdGetDiseaseByIdDisease struct {
	Id                string                                                             `json:"id"`
	Code              string                                                             `json:"code"`
	Name              string                                                             `json:"name"`
	Symptoms          []string                                                           `json:"symptoms"`
	Symptoms_weight   []GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight `json:"symptoms_weight"`
	Overweight_factor float64                                                            `json:"overweight_factor"`
	Advice            string                                                             `json:"advice"`
}

GetDiseaseByIdGetDiseaseByIdDisease includes the requested fields of the GraphQL type Disease.

func (*GetDiseaseByIdGetDiseaseByIdDisease) GetAdvice added in v1.3.0

GetAdvice returns GetDiseaseByIdGetDiseaseByIdDisease.Advice, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDisease) GetCode added in v1.3.0

GetCode returns GetDiseaseByIdGetDiseaseByIdDisease.Code, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDisease) GetId added in v1.3.0

GetId returns GetDiseaseByIdGetDiseaseByIdDisease.Id, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDisease) GetName added in v1.3.0

GetName returns GetDiseaseByIdGetDiseaseByIdDisease.Name, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDisease) GetOverweight_factor added in v1.6.2

func (v *GetDiseaseByIdGetDiseaseByIdDisease) GetOverweight_factor() float64

GetOverweight_factor returns GetDiseaseByIdGetDiseaseByIdDisease.Overweight_factor, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDisease) GetSymptoms added in v1.3.0

func (v *GetDiseaseByIdGetDiseaseByIdDisease) GetSymptoms() []string

GetSymptoms returns GetDiseaseByIdGetDiseaseByIdDisease.Symptoms, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDisease) GetSymptoms_weight added in v1.5.7

GetSymptoms_weight returns GetDiseaseByIdGetDiseaseByIdDisease.Symptoms_weight, and is useful for accessing the field via an interface.

type GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight added in v1.5.7

type GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight struct {
	Symptom string  `json:"symptom"`
	Value   float64 `json:"value"`
	Chronic bool    `json:"chronic"`
}

GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight includes the requested fields of the GraphQL type SymptomsWeight.

func (*GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight) GetChronic added in v1.5.14

GetChronic returns GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight.Chronic, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight) GetSymptom added in v1.5.7

GetSymptom returns GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight.Symptom, and is useful for accessing the field via an interface.

func (*GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight) GetValue added in v1.5.7

GetValue returns GetDiseaseByIdGetDiseaseByIdDiseaseSymptoms_weightSymptomsWeight.Value, and is useful for accessing the field via an interface.

type GetDiseaseByIdResponse added in v1.3.0

type GetDiseaseByIdResponse struct {
	GetDiseaseById GetDiseaseByIdGetDiseaseByIdDisease `json:"getDiseaseById"`
}

GetDiseaseByIdResponse is returned by GetDiseaseById on success.

func GetDiseaseById added in v1.3.0

func GetDiseaseById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetDiseaseByIdResponse, error)

func (*GetDiseaseByIdResponse) GetGetDiseaseById added in v1.3.0

GetGetDiseaseById returns GetDiseaseByIdResponse.GetDiseaseById, and is useful for accessing the field via an interface.

type GetDiseasesGetDiseasesDisease added in v1.3.0

type GetDiseasesGetDiseasesDisease struct {
	Id                string                                                       `json:"id"`
	Code              string                                                       `json:"code"`
	Name              string                                                       `json:"name"`
	Symptoms          []string                                                     `json:"symptoms"`
	Symptoms_weight   []GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight `json:"symptoms_weight"`
	Overweight_factor float64                                                      `json:"overweight_factor"`
	Advice            string                                                       `json:"advice"`
}

GetDiseasesGetDiseasesDisease includes the requested fields of the GraphQL type Disease.

func (*GetDiseasesGetDiseasesDisease) GetAdvice added in v1.3.0

func (v *GetDiseasesGetDiseasesDisease) GetAdvice() string

GetAdvice returns GetDiseasesGetDiseasesDisease.Advice, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDisease) GetCode added in v1.3.0

GetCode returns GetDiseasesGetDiseasesDisease.Code, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDisease) GetId added in v1.3.0

GetId returns GetDiseasesGetDiseasesDisease.Id, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDisease) GetName added in v1.3.0

GetName returns GetDiseasesGetDiseasesDisease.Name, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDisease) GetOverweight_factor added in v1.6.2

func (v *GetDiseasesGetDiseasesDisease) GetOverweight_factor() float64

GetOverweight_factor returns GetDiseasesGetDiseasesDisease.Overweight_factor, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDisease) GetSymptoms added in v1.3.0

func (v *GetDiseasesGetDiseasesDisease) GetSymptoms() []string

GetSymptoms returns GetDiseasesGetDiseasesDisease.Symptoms, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDisease) GetSymptoms_weight added in v1.5.7

GetSymptoms_weight returns GetDiseasesGetDiseasesDisease.Symptoms_weight, and is useful for accessing the field via an interface.

type GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight added in v1.5.7

type GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight struct {
	Symptom string  `json:"symptom"`
	Value   float64 `json:"value"`
	Chronic bool    `json:"chronic"`
}

GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight includes the requested fields of the GraphQL type SymptomsWeight.

func (*GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight) GetChronic added in v1.5.14

GetChronic returns GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight.Chronic, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight) GetSymptom added in v1.5.7

GetSymptom returns GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight.Symptom, and is useful for accessing the field via an interface.

func (*GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight) GetValue added in v1.5.7

GetValue returns GetDiseasesGetDiseasesDiseaseSymptoms_weightSymptomsWeight.Value, and is useful for accessing the field via an interface.

type GetDiseasesResponse added in v1.3.0

type GetDiseasesResponse struct {
	GetDiseases []GetDiseasesGetDiseasesDisease `json:"getDiseases"`
}

GetDiseasesResponse is returned by GetDiseases on success.

func GetDiseases added in v1.3.0

func GetDiseases(
	ctx context.Context,
	client graphql.Client,
) (*GetDiseasesResponse, error)

func (*GetDiseasesResponse) GetGetDiseases added in v1.3.0

func (v *GetDiseasesResponse) GetGetDiseases() []GetDiseasesGetDiseasesDisease

GetGetDiseases returns GetDiseasesResponse.GetDiseases, and is useful for accessing the field via an interface.

type GetDoctorByEmailGetDoctorByEmailDoctor added in v1.3.0

type GetDoctorByEmailGetDoctorByEmailDoctor struct {
	Id              string                                        `json:"id"`
	Email           string                                        `json:"email"`
	Password        string                                        `json:"password"`
	Name            string                                        `json:"name"`
	Firstname       string                                        `json:"firstname"`
	Address         GetDoctorByEmailGetDoctorByEmailDoctorAddress `json:"address"`
	Rendez_vous_ids []string                                      `json:"rendez_vous_ids"`
	Patient_ids     []string                                      `json:"patient_ids"`
	Chat_ids        []string                                      `json:"chat_ids"`
}

GetDoctorByEmailGetDoctorByEmailDoctor includes the requested fields of the GraphQL type Doctor.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetAddress added in v1.3.2

GetAddress returns GetDoctorByEmailGetDoctorByEmailDoctor.Address, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetChat_ids added in v1.6.0

GetChat_ids returns GetDoctorByEmailGetDoctorByEmailDoctor.Chat_ids, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetEmail added in v1.3.0

GetEmail returns GetDoctorByEmailGetDoctorByEmailDoctor.Email, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetFirstname added in v1.3.2

GetFirstname returns GetDoctorByEmailGetDoctorByEmailDoctor.Firstname, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetId added in v1.3.0

GetId returns GetDoctorByEmailGetDoctorByEmailDoctor.Id, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetName added in v1.3.2

GetName returns GetDoctorByEmailGetDoctorByEmailDoctor.Name, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetPassword added in v1.3.0

GetPassword returns GetDoctorByEmailGetDoctorByEmailDoctor.Password, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetPatient_ids added in v1.3.0

func (v *GetDoctorByEmailGetDoctorByEmailDoctor) GetPatient_ids() []string

GetPatient_ids returns GetDoctorByEmailGetDoctorByEmailDoctor.Patient_ids, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctor) GetRendez_vous_ids added in v1.3.0

func (v *GetDoctorByEmailGetDoctorByEmailDoctor) GetRendez_vous_ids() []string

GetRendez_vous_ids returns GetDoctorByEmailGetDoctorByEmailDoctor.Rendez_vous_ids, and is useful for accessing the field via an interface.

type GetDoctorByEmailGetDoctorByEmailDoctorAddress added in v1.3.2

type GetDoctorByEmailGetDoctorByEmailDoctorAddress struct {
	Street   string `json:"street"`
	Zip_code string `json:"zip_code"`
	Country  string `json:"country"`
	City     string `json:"city"`
}

GetDoctorByEmailGetDoctorByEmailDoctorAddress includes the requested fields of the GraphQL type Address.

func (*GetDoctorByEmailGetDoctorByEmailDoctorAddress) GetCity added in v1.4.0

GetCity returns GetDoctorByEmailGetDoctorByEmailDoctorAddress.City, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctorAddress) GetCountry added in v1.3.2

GetCountry returns GetDoctorByEmailGetDoctorByEmailDoctorAddress.Country, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctorAddress) GetStreet added in v1.3.2

GetStreet returns GetDoctorByEmailGetDoctorByEmailDoctorAddress.Street, and is useful for accessing the field via an interface.

func (*GetDoctorByEmailGetDoctorByEmailDoctorAddress) GetZip_code added in v1.3.2

GetZip_code returns GetDoctorByEmailGetDoctorByEmailDoctorAddress.Zip_code, and is useful for accessing the field via an interface.

type GetDoctorByEmailResponse added in v1.3.0

type GetDoctorByEmailResponse struct {
	GetDoctorByEmail GetDoctorByEmailGetDoctorByEmailDoctor `json:"getDoctorByEmail"`
}

GetDoctorByEmailResponse is returned by GetDoctorByEmail on success.

func GetDoctorByEmail

func GetDoctorByEmail(
	ctx context.Context,
	client graphql.Client,
	email string,
) (*GetDoctorByEmailResponse, error)

func (*GetDoctorByEmailResponse) GetGetDoctorByEmail added in v1.3.0

GetGetDoctorByEmail returns GetDoctorByEmailResponse.GetDoctorByEmail, and is useful for accessing the field via an interface.

type GetDoctorByIdGetDoctorByIdDoctor added in v1.3.0

type GetDoctorByIdGetDoctorByIdDoctor struct {
	Id              string                                  `json:"id"`
	Email           string                                  `json:"email"`
	Password        string                                  `json:"password"`
	Name            string                                  `json:"name"`
	Firstname       string                                  `json:"firstname"`
	Address         GetDoctorByIdGetDoctorByIdDoctorAddress `json:"address"`
	Rendez_vous_ids []string                                `json:"rendez_vous_ids"`
	Patient_ids     []string                                `json:"patient_ids"`
	Chat_ids        []string                                `json:"chat_ids"`
}

GetDoctorByIdGetDoctorByIdDoctor includes the requested fields of the GraphQL type Doctor.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetAddress added in v1.3.2

GetAddress returns GetDoctorByIdGetDoctorByIdDoctor.Address, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetChat_ids added in v1.6.0

func (v *GetDoctorByIdGetDoctorByIdDoctor) GetChat_ids() []string

GetChat_ids returns GetDoctorByIdGetDoctorByIdDoctor.Chat_ids, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetEmail added in v1.3.0

GetEmail returns GetDoctorByIdGetDoctorByIdDoctor.Email, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetFirstname added in v1.3.2

func (v *GetDoctorByIdGetDoctorByIdDoctor) GetFirstname() string

GetFirstname returns GetDoctorByIdGetDoctorByIdDoctor.Firstname, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetId added in v1.3.0

GetId returns GetDoctorByIdGetDoctorByIdDoctor.Id, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetName added in v1.3.2

GetName returns GetDoctorByIdGetDoctorByIdDoctor.Name, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetPassword added in v1.3.0

func (v *GetDoctorByIdGetDoctorByIdDoctor) GetPassword() string

GetPassword returns GetDoctorByIdGetDoctorByIdDoctor.Password, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetPatient_ids added in v1.3.0

func (v *GetDoctorByIdGetDoctorByIdDoctor) GetPatient_ids() []string

GetPatient_ids returns GetDoctorByIdGetDoctorByIdDoctor.Patient_ids, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctor) GetRendez_vous_ids added in v1.3.0

func (v *GetDoctorByIdGetDoctorByIdDoctor) GetRendez_vous_ids() []string

GetRendez_vous_ids returns GetDoctorByIdGetDoctorByIdDoctor.Rendez_vous_ids, and is useful for accessing the field via an interface.

type GetDoctorByIdGetDoctorByIdDoctorAddress added in v1.3.2

type GetDoctorByIdGetDoctorByIdDoctorAddress struct {
	Street   string `json:"street"`
	Zip_code string `json:"zip_code"`
	Country  string `json:"country"`
	City     string `json:"city"`
}

GetDoctorByIdGetDoctorByIdDoctorAddress includes the requested fields of the GraphQL type Address.

func (*GetDoctorByIdGetDoctorByIdDoctorAddress) GetCity added in v1.4.0

GetCity returns GetDoctorByIdGetDoctorByIdDoctorAddress.City, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctorAddress) GetCountry added in v1.3.2

GetCountry returns GetDoctorByIdGetDoctorByIdDoctorAddress.Country, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctorAddress) GetStreet added in v1.3.2

GetStreet returns GetDoctorByIdGetDoctorByIdDoctorAddress.Street, and is useful for accessing the field via an interface.

func (*GetDoctorByIdGetDoctorByIdDoctorAddress) GetZip_code added in v1.3.2

GetZip_code returns GetDoctorByIdGetDoctorByIdDoctorAddress.Zip_code, and is useful for accessing the field via an interface.

type GetDoctorByIdResponse added in v1.3.0

type GetDoctorByIdResponse struct {
	GetDoctorById GetDoctorByIdGetDoctorByIdDoctor `json:"getDoctorById"`
}

GetDoctorByIdResponse is returned by GetDoctorById on success.

func GetDoctorById

func GetDoctorById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetDoctorByIdResponse, error)

func (*GetDoctorByIdResponse) GetGetDoctorById added in v1.3.0

GetGetDoctorById returns GetDoctorByIdResponse.GetDoctorById, and is useful for accessing the field via an interface.

type GetDoctorRdvGetDoctorRdv added in v1.3.0

type GetDoctorRdvGetDoctorRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
	Health_method      string            `json:"health_method"`
}

GetDoctorRdvGetDoctorRdv includes the requested fields of the GraphQL type Rdv.

func (*GetDoctorRdvGetDoctorRdv) GetAppointment_status added in v1.4.0

func (v *GetDoctorRdvGetDoctorRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns GetDoctorRdvGetDoctorRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetCancelation_reason added in v1.3.0

func (v *GetDoctorRdvGetDoctorRdv) GetCancelation_reason() string

GetCancelation_reason returns GetDoctorRdvGetDoctorRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetDoctor_id added in v1.3.0

func (v *GetDoctorRdvGetDoctorRdv) GetDoctor_id() string

GetDoctor_id returns GetDoctorRdvGetDoctorRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetEnd_date added in v1.3.0

func (v *GetDoctorRdvGetDoctorRdv) GetEnd_date() int

GetEnd_date returns GetDoctorRdvGetDoctorRdv.End_date, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetHealth_method added in v1.7.0

func (v *GetDoctorRdvGetDoctorRdv) GetHealth_method() string

GetHealth_method returns GetDoctorRdvGetDoctorRdv.Health_method, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetId added in v1.3.0

func (v *GetDoctorRdvGetDoctorRdv) GetId() string

GetId returns GetDoctorRdvGetDoctorRdv.Id, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetId_patient added in v1.3.0

func (v *GetDoctorRdvGetDoctorRdv) GetId_patient() string

GetId_patient returns GetDoctorRdvGetDoctorRdv.Id_patient, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetSession_id added in v1.4.2

func (v *GetDoctorRdvGetDoctorRdv) GetSession_id() string

GetSession_id returns GetDoctorRdvGetDoctorRdv.Session_id, and is useful for accessing the field via an interface.

func (*GetDoctorRdvGetDoctorRdv) GetStart_date added in v1.3.0

func (v *GetDoctorRdvGetDoctorRdv) GetStart_date() int

GetStart_date returns GetDoctorRdvGetDoctorRdv.Start_date, and is useful for accessing the field via an interface.

type GetDoctorRdvResponse added in v1.3.0

type GetDoctorRdvResponse struct {
	GetDoctorRdv []GetDoctorRdvGetDoctorRdv `json:"getDoctorRdv"`
}

GetDoctorRdvResponse is returned by GetDoctorRdv on success.

func GetDoctorRdv added in v1.3.0

func GetDoctorRdv(
	ctx context.Context,
	client graphql.Client,
	doctor_id string,
) (*GetDoctorRdvResponse, error)

func (*GetDoctorRdvResponse) GetGetDoctorRdv added in v1.3.0

func (v *GetDoctorRdvResponse) GetGetDoctorRdv() []GetDoctorRdvGetDoctorRdv

GetGetDoctorRdv returns GetDoctorRdvResponse.GetDoctorRdv, and is useful for accessing the field via an interface.

type GetDoctorsGetDoctorsDoctor added in v1.3.0

type GetDoctorsGetDoctorsDoctor struct {
	Id              string                            `json:"id"`
	Email           string                            `json:"email"`
	Password        string                            `json:"password"`
	Name            string                            `json:"name"`
	Firstname       string                            `json:"firstname"`
	Address         GetDoctorsGetDoctorsDoctorAddress `json:"address"`
	Rendez_vous_ids []string                          `json:"rendez_vous_ids"`
	Patient_ids     []string                          `json:"patient_ids"`
	Chat_ids        []string                          `json:"chat_ids"`
}

GetDoctorsGetDoctorsDoctor includes the requested fields of the GraphQL type Doctor.

func (*GetDoctorsGetDoctorsDoctor) GetAddress added in v1.3.2

GetAddress returns GetDoctorsGetDoctorsDoctor.Address, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetChat_ids added in v1.6.0

func (v *GetDoctorsGetDoctorsDoctor) GetChat_ids() []string

GetChat_ids returns GetDoctorsGetDoctorsDoctor.Chat_ids, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetEmail added in v1.3.0

func (v *GetDoctorsGetDoctorsDoctor) GetEmail() string

GetEmail returns GetDoctorsGetDoctorsDoctor.Email, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetFirstname added in v1.3.2

func (v *GetDoctorsGetDoctorsDoctor) GetFirstname() string

GetFirstname returns GetDoctorsGetDoctorsDoctor.Firstname, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetId added in v1.3.0

GetId returns GetDoctorsGetDoctorsDoctor.Id, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetName added in v1.3.2

func (v *GetDoctorsGetDoctorsDoctor) GetName() string

GetName returns GetDoctorsGetDoctorsDoctor.Name, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetPassword added in v1.3.0

func (v *GetDoctorsGetDoctorsDoctor) GetPassword() string

GetPassword returns GetDoctorsGetDoctorsDoctor.Password, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetPatient_ids added in v1.3.0

func (v *GetDoctorsGetDoctorsDoctor) GetPatient_ids() []string

GetPatient_ids returns GetDoctorsGetDoctorsDoctor.Patient_ids, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctor) GetRendez_vous_ids added in v1.3.0

func (v *GetDoctorsGetDoctorsDoctor) GetRendez_vous_ids() []string

GetRendez_vous_ids returns GetDoctorsGetDoctorsDoctor.Rendez_vous_ids, and is useful for accessing the field via an interface.

type GetDoctorsGetDoctorsDoctorAddress added in v1.3.2

type GetDoctorsGetDoctorsDoctorAddress struct {
	Street   string `json:"street"`
	Zip_code string `json:"zip_code"`
	Country  string `json:"country"`
	City     string `json:"city"`
}

GetDoctorsGetDoctorsDoctorAddress includes the requested fields of the GraphQL type Address.

func (*GetDoctorsGetDoctorsDoctorAddress) GetCity added in v1.4.0

GetCity returns GetDoctorsGetDoctorsDoctorAddress.City, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctorAddress) GetCountry added in v1.3.2

func (v *GetDoctorsGetDoctorsDoctorAddress) GetCountry() string

GetCountry returns GetDoctorsGetDoctorsDoctorAddress.Country, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctorAddress) GetStreet added in v1.3.2

GetStreet returns GetDoctorsGetDoctorsDoctorAddress.Street, and is useful for accessing the field via an interface.

func (*GetDoctorsGetDoctorsDoctorAddress) GetZip_code added in v1.3.2

func (v *GetDoctorsGetDoctorsDoctorAddress) GetZip_code() string

GetZip_code returns GetDoctorsGetDoctorsDoctorAddress.Zip_code, and is useful for accessing the field via an interface.

type GetDoctorsResponse added in v1.3.0

type GetDoctorsResponse struct {
	GetDoctors []GetDoctorsGetDoctorsDoctor `json:"getDoctors"`
}

GetDoctorsResponse is returned by GetDoctors on success.

func GetDoctors added in v1.3.0

func GetDoctors(
	ctx context.Context,
	client graphql.Client,
) (*GetDoctorsResponse, error)

func (*GetDoctorsResponse) GetGetDoctors added in v1.3.0

func (v *GetDoctorsResponse) GetGetDoctors() []GetDoctorsGetDoctorsDoctor

GetGetDoctors returns GetDoctorsResponse.GetDoctors, and is useful for accessing the field via an interface.

type GetDocumentByIdGetDocumentByIdDocument added in v1.3.0

type GetDocumentByIdGetDocumentByIdDocument struct {
	Id            string       `json:"id"`
	Owner_id      string       `json:"owner_id"`
	Name          string       `json:"name"`
	Document_type DocumentType `json:"document_type"`
	Category      Category     `json:"category"`
	Is_favorite   bool         `json:"is_favorite"`
	Download_url  string       `json:"download_url"`
}

GetDocumentByIdGetDocumentByIdDocument includes the requested fields of the GraphQL type Document.

func (*GetDocumentByIdGetDocumentByIdDocument) GetCategory added in v1.3.0

GetCategory returns GetDocumentByIdGetDocumentByIdDocument.Category, and is useful for accessing the field via an interface.

func (*GetDocumentByIdGetDocumentByIdDocument) GetDocument_type added in v1.3.0

GetDocument_type returns GetDocumentByIdGetDocumentByIdDocument.Document_type, and is useful for accessing the field via an interface.

func (*GetDocumentByIdGetDocumentByIdDocument) GetDownload_url added in v1.3.0

func (v *GetDocumentByIdGetDocumentByIdDocument) GetDownload_url() string

GetDownload_url returns GetDocumentByIdGetDocumentByIdDocument.Download_url, and is useful for accessing the field via an interface.

func (*GetDocumentByIdGetDocumentByIdDocument) GetId added in v1.3.0

GetId returns GetDocumentByIdGetDocumentByIdDocument.Id, and is useful for accessing the field via an interface.

func (*GetDocumentByIdGetDocumentByIdDocument) GetIs_favorite added in v1.3.0

func (v *GetDocumentByIdGetDocumentByIdDocument) GetIs_favorite() bool

GetIs_favorite returns GetDocumentByIdGetDocumentByIdDocument.Is_favorite, and is useful for accessing the field via an interface.

func (*GetDocumentByIdGetDocumentByIdDocument) GetName added in v1.3.0

GetName returns GetDocumentByIdGetDocumentByIdDocument.Name, and is useful for accessing the field via an interface.

func (*GetDocumentByIdGetDocumentByIdDocument) GetOwner_id added in v1.3.0

GetOwner_id returns GetDocumentByIdGetDocumentByIdDocument.Owner_id, and is useful for accessing the field via an interface.

type GetDocumentByIdResponse added in v1.3.0

type GetDocumentByIdResponse struct {
	GetDocumentById GetDocumentByIdGetDocumentByIdDocument `json:"getDocumentById"`
}

GetDocumentByIdResponse is returned by GetDocumentById on success.

func GetDocumentById added in v1.3.0

func GetDocumentById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetDocumentByIdResponse, error)

func (*GetDocumentByIdResponse) GetGetDocumentById added in v1.3.0

GetGetDocumentById returns GetDocumentByIdResponse.GetDocumentById, and is useful for accessing the field via an interface.

type GetDocumentsGetDocumentsDocument added in v1.3.0

type GetDocumentsGetDocumentsDocument struct {
	Id            string       `json:"id"`
	Owner_id      string       `json:"owner_id"`
	Name          string       `json:"name"`
	Document_type DocumentType `json:"document_type"`
	Category      Category     `json:"category"`
	Is_favorite   bool         `json:"is_favorite"`
	Download_url  string       `json:"download_url"`
}

GetDocumentsGetDocumentsDocument includes the requested fields of the GraphQL type Document.

func (*GetDocumentsGetDocumentsDocument) GetCategory added in v1.3.0

func (v *GetDocumentsGetDocumentsDocument) GetCategory() Category

GetCategory returns GetDocumentsGetDocumentsDocument.Category, and is useful for accessing the field via an interface.

func (*GetDocumentsGetDocumentsDocument) GetDocument_type added in v1.3.0

func (v *GetDocumentsGetDocumentsDocument) GetDocument_type() DocumentType

GetDocument_type returns GetDocumentsGetDocumentsDocument.Document_type, and is useful for accessing the field via an interface.

func (*GetDocumentsGetDocumentsDocument) GetDownload_url added in v1.3.0

func (v *GetDocumentsGetDocumentsDocument) GetDownload_url() string

GetDownload_url returns GetDocumentsGetDocumentsDocument.Download_url, and is useful for accessing the field via an interface.

func (*GetDocumentsGetDocumentsDocument) GetId added in v1.3.0

GetId returns GetDocumentsGetDocumentsDocument.Id, and is useful for accessing the field via an interface.

func (*GetDocumentsGetDocumentsDocument) GetIs_favorite added in v1.3.0

func (v *GetDocumentsGetDocumentsDocument) GetIs_favorite() bool

GetIs_favorite returns GetDocumentsGetDocumentsDocument.Is_favorite, and is useful for accessing the field via an interface.

func (*GetDocumentsGetDocumentsDocument) GetName added in v1.3.0

GetName returns GetDocumentsGetDocumentsDocument.Name, and is useful for accessing the field via an interface.

func (*GetDocumentsGetDocumentsDocument) GetOwner_id added in v1.3.0

func (v *GetDocumentsGetDocumentsDocument) GetOwner_id() string

GetOwner_id returns GetDocumentsGetDocumentsDocument.Owner_id, and is useful for accessing the field via an interface.

type GetDocumentsResponse added in v1.3.0

type GetDocumentsResponse struct {
	GetDocuments []GetDocumentsGetDocumentsDocument `json:"getDocuments"`
}

GetDocumentsResponse is returned by GetDocuments on success.

func GetDocuments added in v1.3.0

func GetDocuments(
	ctx context.Context,
	client graphql.Client,
) (*GetDocumentsResponse, error)

func (*GetDocumentsResponse) GetGetDocuments added in v1.3.0

GetGetDocuments returns GetDocumentsResponse.GetDocuments, and is useful for accessing the field via an interface.

type GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo added in v1.3.2

type GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo struct {
	Id                     string           `json:"id"`
	Name                   string           `json:"name"`
	Firstname              string           `json:"firstname"`
	Birthdate              int              `json:"birthdate"`
	Sex                    Sex              `json:"sex"`
	Height                 int              `json:"height"`
	Weight                 int              `json:"weight"`
	Primary_doctor_id      string           `json:"primary_doctor_id"`
	Antecedent_disease_ids []string         `json:"antecedent_disease_ids"`
	Onboarding_status      OnboardingStatus `json:"onboarding_status"`
}

GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo includes the requested fields of the GraphQL type MedicalInfo.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetAntecedent_disease_ids added in v1.5.0

func (v *GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetAntecedent_disease_ids() []string

GetAntecedent_disease_ids returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Antecedent_disease_ids, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetBirthdate added in v1.3.2

GetBirthdate returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Birthdate, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetFirstname added in v1.3.2

GetFirstname returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Firstname, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetHeight added in v1.3.2

GetHeight returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Height, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetId added in v1.3.2

GetId returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Id, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetName added in v1.3.2

GetName returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Name, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetOnboarding_status added in v1.3.2

GetOnboarding_status returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Onboarding_status, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetPrimary_doctor_id added in v1.3.2

GetPrimary_doctor_id returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Primary_doctor_id, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetSex added in v1.3.2

GetSex returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Sex, and is useful for accessing the field via an interface.

func (*GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo) GetWeight added in v1.3.2

GetWeight returns GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo.Weight, and is useful for accessing the field via an interface.

type GetMedicalFolderByIDResponse added in v1.3.2

type GetMedicalFolderByIDResponse struct {
	GetMedicalFolderById GetMedicalFolderByIDGetMedicalFolderByIdMedicalInfo `json:"getMedicalFolderById"`
}

GetMedicalFolderByIDResponse is returned by GetMedicalFolderByID on success.

func GetMedicalFolderByID added in v1.3.2

func GetMedicalFolderByID(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetMedicalFolderByIDResponse, error)

func (*GetMedicalFolderByIDResponse) GetGetMedicalFolderById added in v1.3.2

GetGetMedicalFolderById returns GetMedicalFolderByIDResponse.GetMedicalFolderById, and is useful for accessing the field via an interface.

type GetMedicalFolderGetMedicalFolderMedicalInfo added in v1.3.2

type GetMedicalFolderGetMedicalFolderMedicalInfo struct {
	Id                     string           `json:"id"`
	Name                   string           `json:"name"`
	Firstname              string           `json:"firstname"`
	Birthdate              int              `json:"birthdate"`
	Sex                    Sex              `json:"sex"`
	Height                 int              `json:"height"`
	Weight                 int              `json:"weight"`
	Primary_doctor_id      string           `json:"primary_doctor_id"`
	Antecedent_disease_ids []string         `json:"antecedent_disease_ids"`
	Onboarding_status      OnboardingStatus `json:"onboarding_status"`
}

GetMedicalFolderGetMedicalFolderMedicalInfo includes the requested fields of the GraphQL type MedicalInfo.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetAntecedent_disease_ids added in v1.5.0

func (v *GetMedicalFolderGetMedicalFolderMedicalInfo) GetAntecedent_disease_ids() []string

GetAntecedent_disease_ids returns GetMedicalFolderGetMedicalFolderMedicalInfo.Antecedent_disease_ids, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetBirthdate added in v1.3.2

GetBirthdate returns GetMedicalFolderGetMedicalFolderMedicalInfo.Birthdate, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetFirstname added in v1.3.2

GetFirstname returns GetMedicalFolderGetMedicalFolderMedicalInfo.Firstname, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetHeight added in v1.3.2

GetHeight returns GetMedicalFolderGetMedicalFolderMedicalInfo.Height, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetId added in v1.3.2

GetId returns GetMedicalFolderGetMedicalFolderMedicalInfo.Id, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetName added in v1.3.2

GetName returns GetMedicalFolderGetMedicalFolderMedicalInfo.Name, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetOnboarding_status added in v1.3.2

GetOnboarding_status returns GetMedicalFolderGetMedicalFolderMedicalInfo.Onboarding_status, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetPrimary_doctor_id added in v1.3.2

func (v *GetMedicalFolderGetMedicalFolderMedicalInfo) GetPrimary_doctor_id() string

GetPrimary_doctor_id returns GetMedicalFolderGetMedicalFolderMedicalInfo.Primary_doctor_id, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetSex added in v1.3.2

GetSex returns GetMedicalFolderGetMedicalFolderMedicalInfo.Sex, and is useful for accessing the field via an interface.

func (*GetMedicalFolderGetMedicalFolderMedicalInfo) GetWeight added in v1.3.2

GetWeight returns GetMedicalFolderGetMedicalFolderMedicalInfo.Weight, and is useful for accessing the field via an interface.

type GetMedicalFolderResponse added in v1.3.2

type GetMedicalFolderResponse struct {
	GetMedicalFolder []GetMedicalFolderGetMedicalFolderMedicalInfo `json:"getMedicalFolder"`
}

GetMedicalFolderResponse is returned by GetMedicalFolder on success.

func GetMedicalFolder added in v1.3.2

func GetMedicalFolder(
	ctx context.Context,
	client graphql.Client,
) (*GetMedicalFolderResponse, error)

func (*GetMedicalFolderResponse) GetGetMedicalFolder added in v1.3.2

GetGetMedicalFolder returns GetMedicalFolderResponse.GetMedicalFolder, and is useful for accessing the field via an interface.

type GetMedicineByIDGetMedicineByIDMedicine added in v1.5.1

type GetMedicineByIDGetMedicineByIDMedicine struct {
	Id               string       `json:"id"`
	Name             string       `json:"name"`
	Unit             MedicineUnit `json:"unit"`
	Target_diseases  []string     `json:"target_diseases"`
	Treated_symptoms []string     `json:"treated_symptoms"`
	Side_effects     []string     `json:"side_effects"`
}

GetMedicineByIDGetMedicineByIDMedicine includes the requested fields of the GraphQL type Medicine.

func (*GetMedicineByIDGetMedicineByIDMedicine) GetId added in v1.5.1

GetId returns GetMedicineByIDGetMedicineByIDMedicine.Id, and is useful for accessing the field via an interface.

func (*GetMedicineByIDGetMedicineByIDMedicine) GetName added in v1.5.1

GetName returns GetMedicineByIDGetMedicineByIDMedicine.Name, and is useful for accessing the field via an interface.

func (*GetMedicineByIDGetMedicineByIDMedicine) GetSide_effects added in v1.5.1

func (v *GetMedicineByIDGetMedicineByIDMedicine) GetSide_effects() []string

GetSide_effects returns GetMedicineByIDGetMedicineByIDMedicine.Side_effects, and is useful for accessing the field via an interface.

func (*GetMedicineByIDGetMedicineByIDMedicine) GetTarget_diseases added in v1.5.1

func (v *GetMedicineByIDGetMedicineByIDMedicine) GetTarget_diseases() []string

GetTarget_diseases returns GetMedicineByIDGetMedicineByIDMedicine.Target_diseases, and is useful for accessing the field via an interface.

func (*GetMedicineByIDGetMedicineByIDMedicine) GetTreated_symptoms added in v1.5.1

func (v *GetMedicineByIDGetMedicineByIDMedicine) GetTreated_symptoms() []string

GetTreated_symptoms returns GetMedicineByIDGetMedicineByIDMedicine.Treated_symptoms, and is useful for accessing the field via an interface.

func (*GetMedicineByIDGetMedicineByIDMedicine) GetUnit added in v1.5.1

GetUnit returns GetMedicineByIDGetMedicineByIDMedicine.Unit, and is useful for accessing the field via an interface.

type GetMedicineByIDResponse added in v1.5.1

type GetMedicineByIDResponse struct {
	GetMedicineByID GetMedicineByIDGetMedicineByIDMedicine `json:"getMedicineByID"`
}

GetMedicineByIDResponse is returned by GetMedicineByID on success.

func GetMedicineByID added in v1.5.1

func GetMedicineByID(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetMedicineByIDResponse, error)

func (*GetMedicineByIDResponse) GetGetMedicineByID added in v1.5.1

GetGetMedicineByID returns GetMedicineByIDResponse.GetMedicineByID, and is useful for accessing the field via an interface.

type GetMedicinesGetMedicinesMedicine added in v1.5.1

type GetMedicinesGetMedicinesMedicine struct {
	Id               string       `json:"id"`
	Name             string       `json:"name"`
	Unit             MedicineUnit `json:"unit"`
	Target_diseases  []string     `json:"target_diseases"`
	Treated_symptoms []string     `json:"treated_symptoms"`
	Side_effects     []string     `json:"side_effects"`
}

GetMedicinesGetMedicinesMedicine includes the requested fields of the GraphQL type Medicine.

func (*GetMedicinesGetMedicinesMedicine) GetId added in v1.5.1

GetId returns GetMedicinesGetMedicinesMedicine.Id, and is useful for accessing the field via an interface.

func (*GetMedicinesGetMedicinesMedicine) GetName added in v1.5.1

GetName returns GetMedicinesGetMedicinesMedicine.Name, and is useful for accessing the field via an interface.

func (*GetMedicinesGetMedicinesMedicine) GetSide_effects added in v1.5.1

func (v *GetMedicinesGetMedicinesMedicine) GetSide_effects() []string

GetSide_effects returns GetMedicinesGetMedicinesMedicine.Side_effects, and is useful for accessing the field via an interface.

func (*GetMedicinesGetMedicinesMedicine) GetTarget_diseases added in v1.5.1

func (v *GetMedicinesGetMedicinesMedicine) GetTarget_diseases() []string

GetTarget_diseases returns GetMedicinesGetMedicinesMedicine.Target_diseases, and is useful for accessing the field via an interface.

func (*GetMedicinesGetMedicinesMedicine) GetTreated_symptoms added in v1.5.1

func (v *GetMedicinesGetMedicinesMedicine) GetTreated_symptoms() []string

GetTreated_symptoms returns GetMedicinesGetMedicinesMedicine.Treated_symptoms, and is useful for accessing the field via an interface.

func (*GetMedicinesGetMedicinesMedicine) GetUnit added in v1.5.1

GetUnit returns GetMedicinesGetMedicinesMedicine.Unit, and is useful for accessing the field via an interface.

type GetMedicinesResponse added in v1.5.1

type GetMedicinesResponse struct {
	GetMedicines []GetMedicinesGetMedicinesMedicine `json:"getMedicines"`
}

GetMedicinesResponse is returned by GetMedicines on success.

func GetMedicines added in v1.5.1

func GetMedicines(
	ctx context.Context,
	client graphql.Client,
) (*GetMedicinesResponse, error)

func (*GetMedicinesResponse) GetGetMedicines added in v1.5.1

GetGetMedicines returns GetMedicinesResponse.GetMedicines, and is useful for accessing the field via an interface.

type GetNlpReportsByVersionGetNlpReportsByVersionNlpReport added in v1.5.5

type GetNlpReportsByVersionGetNlpReportsByVersionNlpReport struct {
	Id               string                                                        `json:"id"`
	Version          int                                                           `json:"version"`
	Input_symptoms   []string                                                      `json:"input_symptoms"`
	Input_sentence   string                                                        `json:"input_sentence"`
	Output           []GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput `json:"output"`
	Computation_time int                                                           `json:"computation_time"`
}

GetNlpReportsByVersionGetNlpReportsByVersionNlpReport includes the requested fields of the GraphQL type NlpReport.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReport) GetComputation_time added in v1.5.5

GetComputation_time returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReport.Computation_time, and is useful for accessing the field via an interface.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReport) GetId added in v1.5.5

GetId returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReport.Id, and is useful for accessing the field via an interface.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReport) GetInput_sentence added in v1.5.5

GetInput_sentence returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReport.Input_sentence, and is useful for accessing the field via an interface.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReport) GetInput_symptoms added in v1.5.5

GetInput_symptoms returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReport.Input_symptoms, and is useful for accessing the field via an interface.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReport) GetOutput added in v1.5.5

GetOutput returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReport.Output, and is useful for accessing the field via an interface.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReport) GetVersion added in v1.5.5

GetVersion returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReport.Version, and is useful for accessing the field via an interface.

type GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput added in v1.5.5

type GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput struct {
	Symptom string `json:"symptom"`
	Present bool   `json:"present"`
}

GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput includes the requested fields of the GraphQL type NlpReportOutput.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput) GetPresent added in v1.5.5

GetPresent returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput.Present, and is useful for accessing the field via an interface.

func (*GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput) GetSymptom added in v1.5.5

GetSymptom returns GetNlpReportsByVersionGetNlpReportsByVersionNlpReportOutput.Symptom, and is useful for accessing the field via an interface.

type GetNlpReportsByVersionResponse added in v1.5.5

type GetNlpReportsByVersionResponse struct {
	GetNlpReportsByVersion []GetNlpReportsByVersionGetNlpReportsByVersionNlpReport `json:"getNlpReportsByVersion"`
}

GetNlpReportsByVersionResponse is returned by GetNlpReportsByVersion on success.

func GetNlpReportsByVersion added in v1.5.5

func GetNlpReportsByVersion(
	ctx context.Context,
	client graphql.Client,
	version int,
) (*GetNlpReportsByVersionResponse, error)

func (*GetNlpReportsByVersionResponse) GetGetNlpReportsByVersion added in v1.5.5

GetGetNlpReportsByVersion returns GetNlpReportsByVersionResponse.GetNlpReportsByVersion, and is useful for accessing the field via an interface.

type GetNlpReportsGetNlpReportsNlpReport added in v1.5.5

type GetNlpReportsGetNlpReportsNlpReport struct {
	Id               string                                      `json:"id"`
	Version          int                                         `json:"version"`
	Input_symptoms   []string                                    `json:"input_symptoms"`
	Input_sentence   string                                      `json:"input_sentence"`
	Output           []GetNlpReportsGetNlpReportsNlpReportOutput `json:"output"`
	Computation_time int                                         `json:"computation_time"`
}

GetNlpReportsGetNlpReportsNlpReport includes the requested fields of the GraphQL type NlpReport.

func (*GetNlpReportsGetNlpReportsNlpReport) GetComputation_time added in v1.5.5

func (v *GetNlpReportsGetNlpReportsNlpReport) GetComputation_time() int

GetComputation_time returns GetNlpReportsGetNlpReportsNlpReport.Computation_time, and is useful for accessing the field via an interface.

func (*GetNlpReportsGetNlpReportsNlpReport) GetId added in v1.5.5

GetId returns GetNlpReportsGetNlpReportsNlpReport.Id, and is useful for accessing the field via an interface.

func (*GetNlpReportsGetNlpReportsNlpReport) GetInput_sentence added in v1.5.5

func (v *GetNlpReportsGetNlpReportsNlpReport) GetInput_sentence() string

GetInput_sentence returns GetNlpReportsGetNlpReportsNlpReport.Input_sentence, and is useful for accessing the field via an interface.

func (*GetNlpReportsGetNlpReportsNlpReport) GetInput_symptoms added in v1.5.5

func (v *GetNlpReportsGetNlpReportsNlpReport) GetInput_symptoms() []string

GetInput_symptoms returns GetNlpReportsGetNlpReportsNlpReport.Input_symptoms, and is useful for accessing the field via an interface.

func (*GetNlpReportsGetNlpReportsNlpReport) GetOutput added in v1.5.5

GetOutput returns GetNlpReportsGetNlpReportsNlpReport.Output, and is useful for accessing the field via an interface.

func (*GetNlpReportsGetNlpReportsNlpReport) GetVersion added in v1.5.5

func (v *GetNlpReportsGetNlpReportsNlpReport) GetVersion() int

GetVersion returns GetNlpReportsGetNlpReportsNlpReport.Version, and is useful for accessing the field via an interface.

type GetNlpReportsGetNlpReportsNlpReportOutput added in v1.5.5

type GetNlpReportsGetNlpReportsNlpReportOutput struct {
	Symptom string `json:"symptom"`
	Present bool   `json:"present"`
}

GetNlpReportsGetNlpReportsNlpReportOutput includes the requested fields of the GraphQL type NlpReportOutput.

func (*GetNlpReportsGetNlpReportsNlpReportOutput) GetPresent added in v1.5.5

GetPresent returns GetNlpReportsGetNlpReportsNlpReportOutput.Present, and is useful for accessing the field via an interface.

func (*GetNlpReportsGetNlpReportsNlpReportOutput) GetSymptom added in v1.5.5

GetSymptom returns GetNlpReportsGetNlpReportsNlpReportOutput.Symptom, and is useful for accessing the field via an interface.

type GetNlpReportsResponse added in v1.5.5

type GetNlpReportsResponse struct {
	GetNlpReports []GetNlpReportsGetNlpReportsNlpReport `json:"getNlpReports"`
}

GetNlpReportsResponse is returned by GetNlpReports on success.

func GetNlpReports added in v1.5.5

func GetNlpReports(
	ctx context.Context,
	client graphql.Client,
) (*GetNlpReportsResponse, error)

func (*GetNlpReportsResponse) GetGetNlpReports added in v1.5.5

GetGetNlpReports returns GetNlpReportsResponse.GetNlpReports, and is useful for accessing the field via an interface.

type GetNotificationByIdGetNotificationByIdNotification added in v1.3.0

type GetNotificationByIdGetNotificationByIdNotification struct {
	Id      string `json:"id"`
	Token   string `json:"token"`
	Title   string `json:"title"`
	Message string `json:"message"`
}

GetNotificationByIdGetNotificationByIdNotification includes the requested fields of the GraphQL type Notification.

func (*GetNotificationByIdGetNotificationByIdNotification) GetId added in v1.3.0

GetId returns GetNotificationByIdGetNotificationByIdNotification.Id, and is useful for accessing the field via an interface.

func (*GetNotificationByIdGetNotificationByIdNotification) GetMessage added in v1.3.0

GetMessage returns GetNotificationByIdGetNotificationByIdNotification.Message, and is useful for accessing the field via an interface.

func (*GetNotificationByIdGetNotificationByIdNotification) GetTitle added in v1.3.0

GetTitle returns GetNotificationByIdGetNotificationByIdNotification.Title, and is useful for accessing the field via an interface.

func (*GetNotificationByIdGetNotificationByIdNotification) GetToken added in v1.3.0

GetToken returns GetNotificationByIdGetNotificationByIdNotification.Token, and is useful for accessing the field via an interface.

type GetNotificationByIdResponse added in v1.3.0

type GetNotificationByIdResponse struct {
	GetNotificationById GetNotificationByIdGetNotificationByIdNotification `json:"getNotificationById"`
}

GetNotificationByIdResponse is returned by GetNotificationById on success.

func GetNotificationById added in v1.3.0

func GetNotificationById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetNotificationByIdResponse, error)

func (*GetNotificationByIdResponse) GetGetNotificationById added in v1.3.0

GetGetNotificationById returns GetNotificationByIdResponse.GetNotificationById, and is useful for accessing the field via an interface.

type GetNotificationsGetNotificationsNotification added in v1.3.0

type GetNotificationsGetNotificationsNotification struct {
	Id      string `json:"id"`
	Token   string `json:"token"`
	Title   string `json:"title"`
	Message string `json:"message"`
}

GetNotificationsGetNotificationsNotification includes the requested fields of the GraphQL type Notification.

func (*GetNotificationsGetNotificationsNotification) GetId added in v1.3.0

GetId returns GetNotificationsGetNotificationsNotification.Id, and is useful for accessing the field via an interface.

func (*GetNotificationsGetNotificationsNotification) GetMessage added in v1.3.0

GetMessage returns GetNotificationsGetNotificationsNotification.Message, and is useful for accessing the field via an interface.

func (*GetNotificationsGetNotificationsNotification) GetTitle added in v1.3.0

GetTitle returns GetNotificationsGetNotificationsNotification.Title, and is useful for accessing the field via an interface.

func (*GetNotificationsGetNotificationsNotification) GetToken added in v1.3.0

GetToken returns GetNotificationsGetNotificationsNotification.Token, and is useful for accessing the field via an interface.

type GetNotificationsResponse added in v1.3.0

type GetNotificationsResponse struct {
	GetNotifications []GetNotificationsGetNotificationsNotification `json:"getNotifications"`
}

GetNotificationsResponse is returned by GetNotifications on success.

func GetNotifications added in v1.3.0

func GetNotifications(
	ctx context.Context,
	client graphql.Client,
) (*GetNotificationsResponse, error)

func (*GetNotificationsResponse) GetGetNotifications added in v1.3.0

GetGetNotifications returns GetNotificationsResponse.GetNotifications, and is useful for accessing the field via an interface.

type GetPatientByEmailGetPatientByEmailPatient added in v1.3.0

type GetPatientByEmailGetPatientByEmailPatient struct {
	Id                      string   `json:"id"`
	Email                   string   `json:"email"`
	Password                string   `json:"password"`
	Rendez_vous_ids         []string `json:"rendez_vous_ids"`
	Medical_info_id         string   `json:"medical_info_id"`
	Document_ids            []string `json:"document_ids"`
	Treatment_follow_up_ids []string `json:"treatment_follow_up_ids"`
	Chat_ids                []string `json:"chat_ids"`
}

GetPatientByEmailGetPatientByEmailPatient includes the requested fields of the GraphQL type Patient.

func (*GetPatientByEmailGetPatientByEmailPatient) GetChat_ids added in v1.6.0

GetChat_ids returns GetPatientByEmailGetPatientByEmailPatient.Chat_ids, and is useful for accessing the field via an interface.

func (*GetPatientByEmailGetPatientByEmailPatient) GetDocument_ids added in v1.3.0

func (v *GetPatientByEmailGetPatientByEmailPatient) GetDocument_ids() []string

GetDocument_ids returns GetPatientByEmailGetPatientByEmailPatient.Document_ids, and is useful for accessing the field via an interface.

func (*GetPatientByEmailGetPatientByEmailPatient) GetEmail added in v1.3.0

GetEmail returns GetPatientByEmailGetPatientByEmailPatient.Email, and is useful for accessing the field via an interface.

func (*GetPatientByEmailGetPatientByEmailPatient) GetId added in v1.3.0

GetId returns GetPatientByEmailGetPatientByEmailPatient.Id, and is useful for accessing the field via an interface.

func (*GetPatientByEmailGetPatientByEmailPatient) GetMedical_info_id added in v1.3.2

func (v *GetPatientByEmailGetPatientByEmailPatient) GetMedical_info_id() string

GetMedical_info_id returns GetPatientByEmailGetPatientByEmailPatient.Medical_info_id, and is useful for accessing the field via an interface.

func (*GetPatientByEmailGetPatientByEmailPatient) GetPassword added in v1.3.0

GetPassword returns GetPatientByEmailGetPatientByEmailPatient.Password, and is useful for accessing the field via an interface.

func (*GetPatientByEmailGetPatientByEmailPatient) GetRendez_vous_ids added in v1.3.0

func (v *GetPatientByEmailGetPatientByEmailPatient) GetRendez_vous_ids() []string

GetRendez_vous_ids returns GetPatientByEmailGetPatientByEmailPatient.Rendez_vous_ids, and is useful for accessing the field via an interface.

func (*GetPatientByEmailGetPatientByEmailPatient) GetTreatment_follow_up_ids added in v1.5.1

func (v *GetPatientByEmailGetPatientByEmailPatient) GetTreatment_follow_up_ids() []string

GetTreatment_follow_up_ids returns GetPatientByEmailGetPatientByEmailPatient.Treatment_follow_up_ids, and is useful for accessing the field via an interface.

type GetPatientByEmailResponse added in v1.3.0

type GetPatientByEmailResponse struct {
	GetPatientByEmail GetPatientByEmailGetPatientByEmailPatient `json:"getPatientByEmail"`
}

GetPatientByEmailResponse is returned by GetPatientByEmail on success.

func GetPatientByEmail

func GetPatientByEmail(
	ctx context.Context,
	client graphql.Client,
	email string,
) (*GetPatientByEmailResponse, error)

func (*GetPatientByEmailResponse) GetGetPatientByEmail added in v1.3.0

GetGetPatientByEmail returns GetPatientByEmailResponse.GetPatientByEmail, and is useful for accessing the field via an interface.

type GetPatientByIdGetPatientByIdPatient added in v1.3.0

type GetPatientByIdGetPatientByIdPatient struct {
	Id                      string   `json:"id"`
	Email                   string   `json:"email"`
	Password                string   `json:"password"`
	Rendez_vous_ids         []string `json:"rendez_vous_ids"`
	Medical_info_id         string   `json:"medical_info_id"`
	Document_ids            []string `json:"document_ids"`
	Treatment_follow_up_ids []string `json:"treatment_follow_up_ids"`
	Chat_ids                []string `json:"chat_ids"`
}

GetPatientByIdGetPatientByIdPatient includes the requested fields of the GraphQL type Patient.

func (*GetPatientByIdGetPatientByIdPatient) GetChat_ids added in v1.6.0

func (v *GetPatientByIdGetPatientByIdPatient) GetChat_ids() []string

GetChat_ids returns GetPatientByIdGetPatientByIdPatient.Chat_ids, and is useful for accessing the field via an interface.

func (*GetPatientByIdGetPatientByIdPatient) GetDocument_ids added in v1.3.0

func (v *GetPatientByIdGetPatientByIdPatient) GetDocument_ids() []string

GetDocument_ids returns GetPatientByIdGetPatientByIdPatient.Document_ids, and is useful for accessing the field via an interface.

func (*GetPatientByIdGetPatientByIdPatient) GetEmail added in v1.3.0

GetEmail returns GetPatientByIdGetPatientByIdPatient.Email, and is useful for accessing the field via an interface.

func (*GetPatientByIdGetPatientByIdPatient) GetId added in v1.3.0

GetId returns GetPatientByIdGetPatientByIdPatient.Id, and is useful for accessing the field via an interface.

func (*GetPatientByIdGetPatientByIdPatient) GetMedical_info_id added in v1.3.2

func (v *GetPatientByIdGetPatientByIdPatient) GetMedical_info_id() string

GetMedical_info_id returns GetPatientByIdGetPatientByIdPatient.Medical_info_id, and is useful for accessing the field via an interface.

func (*GetPatientByIdGetPatientByIdPatient) GetPassword added in v1.3.0

GetPassword returns GetPatientByIdGetPatientByIdPatient.Password, and is useful for accessing the field via an interface.

func (*GetPatientByIdGetPatientByIdPatient) GetRendez_vous_ids added in v1.3.0

func (v *GetPatientByIdGetPatientByIdPatient) GetRendez_vous_ids() []string

GetRendez_vous_ids returns GetPatientByIdGetPatientByIdPatient.Rendez_vous_ids, and is useful for accessing the field via an interface.

func (*GetPatientByIdGetPatientByIdPatient) GetTreatment_follow_up_ids added in v1.5.1

func (v *GetPatientByIdGetPatientByIdPatient) GetTreatment_follow_up_ids() []string

GetTreatment_follow_up_ids returns GetPatientByIdGetPatientByIdPatient.Treatment_follow_up_ids, and is useful for accessing the field via an interface.

type GetPatientByIdResponse added in v1.3.0

type GetPatientByIdResponse struct {
	GetPatientById GetPatientByIdGetPatientByIdPatient `json:"getPatientById"`
}

GetPatientByIdResponse is returned by GetPatientById on success.

func GetPatientById

func GetPatientById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetPatientByIdResponse, error)

func (*GetPatientByIdResponse) GetGetPatientById added in v1.3.0

GetGetPatientById returns GetPatientByIdResponse.GetPatientById, and is useful for accessing the field via an interface.

type GetPatientDocumentGetPatientDocument added in v1.3.0

type GetPatientDocumentGetPatientDocument struct {
	Id            string       `json:"id"`
	Owner_id      string       `json:"owner_id"`
	Name          string       `json:"name"`
	Document_type DocumentType `json:"document_type"`
	Category      Category     `json:"category"`
	Is_favorite   bool         `json:"is_favorite"`
	Download_url  string       `json:"download_url"`
}

GetPatientDocumentGetPatientDocument includes the requested fields of the GraphQL type Document.

func (*GetPatientDocumentGetPatientDocument) GetCategory added in v1.3.0

GetCategory returns GetPatientDocumentGetPatientDocument.Category, and is useful for accessing the field via an interface.

func (*GetPatientDocumentGetPatientDocument) GetDocument_type added in v1.3.0

func (v *GetPatientDocumentGetPatientDocument) GetDocument_type() DocumentType

GetDocument_type returns GetPatientDocumentGetPatientDocument.Document_type, and is useful for accessing the field via an interface.

func (*GetPatientDocumentGetPatientDocument) GetDownload_url added in v1.3.0

func (v *GetPatientDocumentGetPatientDocument) GetDownload_url() string

GetDownload_url returns GetPatientDocumentGetPatientDocument.Download_url, and is useful for accessing the field via an interface.

func (*GetPatientDocumentGetPatientDocument) GetId added in v1.3.0

GetId returns GetPatientDocumentGetPatientDocument.Id, and is useful for accessing the field via an interface.

func (*GetPatientDocumentGetPatientDocument) GetIs_favorite added in v1.3.0

func (v *GetPatientDocumentGetPatientDocument) GetIs_favorite() bool

GetIs_favorite returns GetPatientDocumentGetPatientDocument.Is_favorite, and is useful for accessing the field via an interface.

func (*GetPatientDocumentGetPatientDocument) GetName added in v1.3.0

GetName returns GetPatientDocumentGetPatientDocument.Name, and is useful for accessing the field via an interface.

func (*GetPatientDocumentGetPatientDocument) GetOwner_id added in v1.3.0

GetOwner_id returns GetPatientDocumentGetPatientDocument.Owner_id, and is useful for accessing the field via an interface.

type GetPatientDocumentResponse added in v1.3.0

type GetPatientDocumentResponse struct {
	GetPatientDocument []GetPatientDocumentGetPatientDocument `json:"getPatientDocument"`
}

GetPatientDocumentResponse is returned by GetPatientDocument on success.

func GetPatientDocument added in v1.3.0

func GetPatientDocument(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetPatientDocumentResponse, error)

func (*GetPatientDocumentResponse) GetGetPatientDocument added in v1.3.0

GetGetPatientDocument returns GetPatientDocumentResponse.GetPatientDocument, and is useful for accessing the field via an interface.

type GetPatientRdvGetPatientRdv added in v1.3.0

type GetPatientRdvGetPatientRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
	Health_method      string            `json:"health_method"`
}

GetPatientRdvGetPatientRdv includes the requested fields of the GraphQL type Rdv.

func (*GetPatientRdvGetPatientRdv) GetAppointment_status added in v1.4.0

func (v *GetPatientRdvGetPatientRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns GetPatientRdvGetPatientRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetCancelation_reason added in v1.3.0

func (v *GetPatientRdvGetPatientRdv) GetCancelation_reason() string

GetCancelation_reason returns GetPatientRdvGetPatientRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetDoctor_id added in v1.3.0

func (v *GetPatientRdvGetPatientRdv) GetDoctor_id() string

GetDoctor_id returns GetPatientRdvGetPatientRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetEnd_date added in v1.3.0

func (v *GetPatientRdvGetPatientRdv) GetEnd_date() int

GetEnd_date returns GetPatientRdvGetPatientRdv.End_date, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetHealth_method added in v1.7.0

func (v *GetPatientRdvGetPatientRdv) GetHealth_method() string

GetHealth_method returns GetPatientRdvGetPatientRdv.Health_method, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetId added in v1.3.0

GetId returns GetPatientRdvGetPatientRdv.Id, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetId_patient added in v1.3.0

func (v *GetPatientRdvGetPatientRdv) GetId_patient() string

GetId_patient returns GetPatientRdvGetPatientRdv.Id_patient, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetSession_id added in v1.4.2

func (v *GetPatientRdvGetPatientRdv) GetSession_id() string

GetSession_id returns GetPatientRdvGetPatientRdv.Session_id, and is useful for accessing the field via an interface.

func (*GetPatientRdvGetPatientRdv) GetStart_date added in v1.3.0

func (v *GetPatientRdvGetPatientRdv) GetStart_date() int

GetStart_date returns GetPatientRdvGetPatientRdv.Start_date, and is useful for accessing the field via an interface.

type GetPatientRdvResponse added in v1.3.0

type GetPatientRdvResponse struct {
	GetPatientRdv []GetPatientRdvGetPatientRdv `json:"getPatientRdv"`
}

GetPatientRdvResponse is returned by GetPatientRdv on success.

func GetPatientRdv added in v1.3.0

func GetPatientRdv(
	ctx context.Context,
	client graphql.Client,
	id_patient string,
) (*GetPatientRdvResponse, error)

func (*GetPatientRdvResponse) GetGetPatientRdv added in v1.3.0

func (v *GetPatientRdvResponse) GetGetPatientRdv() []GetPatientRdvGetPatientRdv

GetGetPatientRdv returns GetPatientRdvResponse.GetPatientRdv, and is useful for accessing the field via an interface.

type GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient added in v1.3.9

type GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient struct {
	Id                      string   `json:"id"`
	Email                   string   `json:"email"`
	Password                string   `json:"password"`
	Rendez_vous_ids         []string `json:"rendez_vous_ids"`
	Medical_info_id         string   `json:"medical_info_id"`
	Document_ids            []string `json:"document_ids"`
	Treatment_follow_up_ids []string `json:"treatment_follow_up_ids"`
	Chat_ids                []string `json:"chat_ids"`
}

GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient includes the requested fields of the GraphQL type Patient.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetChat_ids added in v1.6.0

GetChat_ids returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Chat_ids, and is useful for accessing the field via an interface.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetDocument_ids added in v1.3.9

GetDocument_ids returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Document_ids, and is useful for accessing the field via an interface.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetEmail added in v1.3.9

GetEmail returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Email, and is useful for accessing the field via an interface.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetId added in v1.3.9

GetId returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Id, and is useful for accessing the field via an interface.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetMedical_info_id added in v1.3.9

GetMedical_info_id returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Medical_info_id, and is useful for accessing the field via an interface.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetPassword added in v1.3.9

GetPassword returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Password, and is useful for accessing the field via an interface.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetRendez_vous_ids added in v1.3.9

GetRendez_vous_ids returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Rendez_vous_ids, and is useful for accessing the field via an interface.

func (*GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetTreatment_follow_up_ids added in v1.5.1

func (v *GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient) GetTreatment_follow_up_ids() []string

GetTreatment_follow_up_ids returns GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient.Treatment_follow_up_ids, and is useful for accessing the field via an interface.

type GetPatientsFromDoctorByIdResponse added in v1.3.9

type GetPatientsFromDoctorByIdResponse struct {
	GetPatientsFromDoctorById []GetPatientsFromDoctorByIdGetPatientsFromDoctorByIdPatient `json:"getPatientsFromDoctorById"`
}

GetPatientsFromDoctorByIdResponse is returned by GetPatientsFromDoctorById on success.

func GetPatientsFromDoctorById added in v1.3.9

func GetPatientsFromDoctorById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetPatientsFromDoctorByIdResponse, error)

func (*GetPatientsFromDoctorByIdResponse) GetGetPatientsFromDoctorById added in v1.3.9

GetGetPatientsFromDoctorById returns GetPatientsFromDoctorByIdResponse.GetPatientsFromDoctorById, and is useful for accessing the field via an interface.

type GetPatientsGetPatientsPatient added in v1.3.0

type GetPatientsGetPatientsPatient struct {
	Id                      string   `json:"id"`
	Email                   string   `json:"email"`
	Password                string   `json:"password"`
	Rendez_vous_ids         []string `json:"rendez_vous_ids"`
	Medical_info_id         string   `json:"medical_info_id"`
	Document_ids            []string `json:"document_ids"`
	Treatment_follow_up_ids []string `json:"treatment_follow_up_ids"`
	Chat_ids                []string `json:"chat_ids"`
}

GetPatientsGetPatientsPatient includes the requested fields of the GraphQL type Patient.

func (*GetPatientsGetPatientsPatient) GetChat_ids added in v1.6.0

func (v *GetPatientsGetPatientsPatient) GetChat_ids() []string

GetChat_ids returns GetPatientsGetPatientsPatient.Chat_ids, and is useful for accessing the field via an interface.

func (*GetPatientsGetPatientsPatient) GetDocument_ids added in v1.3.0

func (v *GetPatientsGetPatientsPatient) GetDocument_ids() []string

GetDocument_ids returns GetPatientsGetPatientsPatient.Document_ids, and is useful for accessing the field via an interface.

func (*GetPatientsGetPatientsPatient) GetEmail added in v1.3.0

func (v *GetPatientsGetPatientsPatient) GetEmail() string

GetEmail returns GetPatientsGetPatientsPatient.Email, and is useful for accessing the field via an interface.

func (*GetPatientsGetPatientsPatient) GetId added in v1.3.0

GetId returns GetPatientsGetPatientsPatient.Id, and is useful for accessing the field via an interface.

func (*GetPatientsGetPatientsPatient) GetMedical_info_id added in v1.3.2

func (v *GetPatientsGetPatientsPatient) GetMedical_info_id() string

GetMedical_info_id returns GetPatientsGetPatientsPatient.Medical_info_id, and is useful for accessing the field via an interface.

func (*GetPatientsGetPatientsPatient) GetPassword added in v1.3.0

func (v *GetPatientsGetPatientsPatient) GetPassword() string

GetPassword returns GetPatientsGetPatientsPatient.Password, and is useful for accessing the field via an interface.

func (*GetPatientsGetPatientsPatient) GetRendez_vous_ids added in v1.3.0

func (v *GetPatientsGetPatientsPatient) GetRendez_vous_ids() []string

GetRendez_vous_ids returns GetPatientsGetPatientsPatient.Rendez_vous_ids, and is useful for accessing the field via an interface.

func (*GetPatientsGetPatientsPatient) GetTreatment_follow_up_ids added in v1.5.1

func (v *GetPatientsGetPatientsPatient) GetTreatment_follow_up_ids() []string

GetTreatment_follow_up_ids returns GetPatientsGetPatientsPatient.Treatment_follow_up_ids, and is useful for accessing the field via an interface.

type GetPatientsResponse added in v1.3.0

type GetPatientsResponse struct {
	GetPatients []GetPatientsGetPatientsPatient `json:"getPatients"`
}

GetPatientsResponse is returned by GetPatients on success.

func GetPatients added in v1.3.0

func GetPatients(
	ctx context.Context,
	client graphql.Client,
) (*GetPatientsResponse, error)

func (*GetPatientsResponse) GetGetPatients added in v1.3.0

func (v *GetPatientsResponse) GetGetPatients() []GetPatientsGetPatientsPatient

GetGetPatients returns GetPatientsResponse.GetPatients, and is useful for accessing the field via an interface.

type GetRdvByIdGetRdvByIdRdv added in v1.3.0

type GetRdvByIdGetRdvByIdRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
	Health_method      string            `json:"health_method"`
}

GetRdvByIdGetRdvByIdRdv includes the requested fields of the GraphQL type Rdv.

func (*GetRdvByIdGetRdvByIdRdv) GetAppointment_status added in v1.4.0

func (v *GetRdvByIdGetRdvByIdRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns GetRdvByIdGetRdvByIdRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetCancelation_reason added in v1.3.0

func (v *GetRdvByIdGetRdvByIdRdv) GetCancelation_reason() string

GetCancelation_reason returns GetRdvByIdGetRdvByIdRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetDoctor_id added in v1.3.0

func (v *GetRdvByIdGetRdvByIdRdv) GetDoctor_id() string

GetDoctor_id returns GetRdvByIdGetRdvByIdRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetEnd_date added in v1.3.0

func (v *GetRdvByIdGetRdvByIdRdv) GetEnd_date() int

GetEnd_date returns GetRdvByIdGetRdvByIdRdv.End_date, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetHealth_method added in v1.7.0

func (v *GetRdvByIdGetRdvByIdRdv) GetHealth_method() string

GetHealth_method returns GetRdvByIdGetRdvByIdRdv.Health_method, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetId added in v1.3.0

func (v *GetRdvByIdGetRdvByIdRdv) GetId() string

GetId returns GetRdvByIdGetRdvByIdRdv.Id, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetId_patient added in v1.3.0

func (v *GetRdvByIdGetRdvByIdRdv) GetId_patient() string

GetId_patient returns GetRdvByIdGetRdvByIdRdv.Id_patient, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetSession_id added in v1.4.2

func (v *GetRdvByIdGetRdvByIdRdv) GetSession_id() string

GetSession_id returns GetRdvByIdGetRdvByIdRdv.Session_id, and is useful for accessing the field via an interface.

func (*GetRdvByIdGetRdvByIdRdv) GetStart_date added in v1.3.0

func (v *GetRdvByIdGetRdvByIdRdv) GetStart_date() int

GetStart_date returns GetRdvByIdGetRdvByIdRdv.Start_date, and is useful for accessing the field via an interface.

type GetRdvByIdResponse added in v1.3.0

type GetRdvByIdResponse struct {
	GetRdvById GetRdvByIdGetRdvByIdRdv `json:"getRdvById"`
}

GetRdvByIdResponse is returned by GetRdvById on success.

func GetRdvById added in v1.1.0

func GetRdvById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetRdvByIdResponse, error)

func (*GetRdvByIdResponse) GetGetRdvById added in v1.3.0

func (v *GetRdvByIdResponse) GetGetRdvById() GetRdvByIdGetRdvByIdRdv

GetGetRdvById returns GetRdvByIdResponse.GetRdvById, and is useful for accessing the field via an interface.

type GetSessionByIdGetSessionByIdSession added in v1.3.0

type GetSessionByIdGetSessionByIdSession struct {
	Id            string                                                      `json:"id"`
	Diseases      []GetSessionByIdGetSessionByIdSessionDiseases               `json:"diseases"`
	Symptoms      []GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom `json:"symptoms"`
	Age           int                                                         `json:"age"`
	Height        int                                                         `json:"height"`
	Weight        int                                                         `json:"weight"`
	Sex           string                                                      `json:"sex"`
	Ante_chirs    []string                                                    `json:"ante_chirs"`
	Ante_diseases []string                                                    `json:"ante_diseases"`
	Medicine      []string                                                    `json:"medicine"`
	Last_question string                                                      `json:"last_question"`
	Logs          []GetSessionByIdGetSessionByIdSessionLogs                   `json:"logs"`
	Alerts        []string                                                    `json:"alerts"`
}

GetSessionByIdGetSessionByIdSession includes the requested fields of the GraphQL type Session.

func (*GetSessionByIdGetSessionByIdSession) GetAge added in v1.3.0

GetAge returns GetSessionByIdGetSessionByIdSession.Age, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetAlerts added in v1.3.0

GetAlerts returns GetSessionByIdGetSessionByIdSession.Alerts, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetAnte_chirs added in v1.3.4

func (v *GetSessionByIdGetSessionByIdSession) GetAnte_chirs() []string

GetAnte_chirs returns GetSessionByIdGetSessionByIdSession.Ante_chirs, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetAnte_diseases added in v1.3.4

func (v *GetSessionByIdGetSessionByIdSession) GetAnte_diseases() []string

GetAnte_diseases returns GetSessionByIdGetSessionByIdSession.Ante_diseases, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetDiseases added in v1.4.6

GetDiseases returns GetSessionByIdGetSessionByIdSession.Diseases, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetHeight added in v1.3.0

GetHeight returns GetSessionByIdGetSessionByIdSession.Height, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetId added in v1.3.0

GetId returns GetSessionByIdGetSessionByIdSession.Id, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetLast_question added in v1.3.0

func (v *GetSessionByIdGetSessionByIdSession) GetLast_question() string

GetLast_question returns GetSessionByIdGetSessionByIdSession.Last_question, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetLogs added in v1.3.0

GetLogs returns GetSessionByIdGetSessionByIdSession.Logs, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetMedicine added in v1.5.1

func (v *GetSessionByIdGetSessionByIdSession) GetMedicine() []string

GetMedicine returns GetSessionByIdGetSessionByIdSession.Medicine, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetSex added in v1.3.0

GetSex returns GetSessionByIdGetSessionByIdSession.Sex, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetSymptoms added in v1.3.0

GetSymptoms returns GetSessionByIdGetSessionByIdSession.Symptoms, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSession) GetWeight added in v1.3.0

GetWeight returns GetSessionByIdGetSessionByIdSession.Weight, and is useful for accessing the field via an interface.

type GetSessionByIdGetSessionByIdSessionDiseases added in v1.4.6

type GetSessionByIdGetSessionByIdSessionDiseases struct {
	Name     string  `json:"name"`
	Presence float64 `json:"presence"`
}

GetSessionByIdGetSessionByIdSessionDiseases includes the requested fields of the GraphQL type SessionDiseases.

func (*GetSessionByIdGetSessionByIdSessionDiseases) GetName added in v1.4.6

GetName returns GetSessionByIdGetSessionByIdSessionDiseases.Name, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSessionDiseases) GetPresence added in v1.4.6

GetPresence returns GetSessionByIdGetSessionByIdSessionDiseases.Presence, and is useful for accessing the field via an interface.

type GetSessionByIdGetSessionByIdSessionLogs added in v1.3.0

type GetSessionByIdGetSessionByIdSessionLogs struct {
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

GetSessionByIdGetSessionByIdSessionLogs includes the requested fields of the GraphQL type Logs.

func (*GetSessionByIdGetSessionByIdSessionLogs) GetAnswer added in v1.3.0

GetAnswer returns GetSessionByIdGetSessionByIdSessionLogs.Answer, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSessionLogs) GetQuestion added in v1.3.0

GetQuestion returns GetSessionByIdGetSessionByIdSessionLogs.Question, and is useful for accessing the field via an interface.

type GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom added in v1.3.4

type GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom struct {
	Name     string   `json:"name"`
	Presence bool     `json:"presence"`
	Duration int      `json:"duration"`
	Treated  []string `json:"treated"`
}

GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom includes the requested fields of the GraphQL type SessionSymptom.

func (*GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom) GetDuration added in v1.3.4

GetDuration returns GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom.Duration, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom) GetName added in v1.3.4

GetName returns GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom.Name, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom) GetPresence added in v1.3.4

GetPresence returns GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom.Presence, and is useful for accessing the field via an interface.

func (*GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom) GetTreated added in v1.5.1

GetTreated returns GetSessionByIdGetSessionByIdSessionSymptomsSessionSymptom.Treated, and is useful for accessing the field via an interface.

type GetSessionByIdResponse added in v1.3.0

type GetSessionByIdResponse struct {
	GetSessionById GetSessionByIdGetSessionByIdSession `json:"getSessionById"`
}

GetSessionByIdResponse is returned by GetSessionById on success.

func GetSessionById added in v1.0.0

func GetSessionById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetSessionByIdResponse, error)

func (*GetSessionByIdResponse) GetGetSessionById added in v1.3.0

GetGetSessionById returns GetSessionByIdResponse.GetSessionById, and is useful for accessing the field via an interface.

type GetSessionsGetSessionsSession added in v1.3.0

type GetSessionsGetSessionsSession struct {
	Id            string                                                `json:"id"`
	Diseases      []GetSessionsGetSessionsSessionDiseases               `json:"diseases"`
	Symptoms      []GetSessionsGetSessionsSessionSymptomsSessionSymptom `json:"symptoms"`
	Age           int                                                   `json:"age"`
	Height        int                                                   `json:"height"`
	Weight        int                                                   `json:"weight"`
	Sex           string                                                `json:"sex"`
	Ante_chirs    []string                                              `json:"ante_chirs"`
	Ante_diseases []string                                              `json:"ante_diseases"`
	Medicine      []string                                              `json:"medicine"`
	Last_question string                                                `json:"last_question"`
	Logs          []GetSessionsGetSessionsSessionLogs                   `json:"logs"`
	Alerts        []string                                              `json:"alerts"`
}

GetSessionsGetSessionsSession includes the requested fields of the GraphQL type Session.

func (*GetSessionsGetSessionsSession) GetAge added in v1.3.0

func (v *GetSessionsGetSessionsSession) GetAge() int

GetAge returns GetSessionsGetSessionsSession.Age, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetAlerts added in v1.3.0

func (v *GetSessionsGetSessionsSession) GetAlerts() []string

GetAlerts returns GetSessionsGetSessionsSession.Alerts, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetAnte_chirs added in v1.3.4

func (v *GetSessionsGetSessionsSession) GetAnte_chirs() []string

GetAnte_chirs returns GetSessionsGetSessionsSession.Ante_chirs, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetAnte_diseases added in v1.3.4

func (v *GetSessionsGetSessionsSession) GetAnte_diseases() []string

GetAnte_diseases returns GetSessionsGetSessionsSession.Ante_diseases, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetDiseases added in v1.4.6

GetDiseases returns GetSessionsGetSessionsSession.Diseases, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetHeight added in v1.3.0

func (v *GetSessionsGetSessionsSession) GetHeight() int

GetHeight returns GetSessionsGetSessionsSession.Height, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetId added in v1.3.0

GetId returns GetSessionsGetSessionsSession.Id, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetLast_question added in v1.3.0

func (v *GetSessionsGetSessionsSession) GetLast_question() string

GetLast_question returns GetSessionsGetSessionsSession.Last_question, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetLogs added in v1.3.0

GetLogs returns GetSessionsGetSessionsSession.Logs, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetMedicine added in v1.5.1

func (v *GetSessionsGetSessionsSession) GetMedicine() []string

GetMedicine returns GetSessionsGetSessionsSession.Medicine, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetSex added in v1.3.0

GetSex returns GetSessionsGetSessionsSession.Sex, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetSymptoms added in v1.3.0

GetSymptoms returns GetSessionsGetSessionsSession.Symptoms, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSession) GetWeight added in v1.3.0

func (v *GetSessionsGetSessionsSession) GetWeight() int

GetWeight returns GetSessionsGetSessionsSession.Weight, and is useful for accessing the field via an interface.

type GetSessionsGetSessionsSessionDiseases added in v1.4.6

type GetSessionsGetSessionsSessionDiseases struct {
	Name     string  `json:"name"`
	Presence float64 `json:"presence"`
}

GetSessionsGetSessionsSessionDiseases includes the requested fields of the GraphQL type SessionDiseases.

func (*GetSessionsGetSessionsSessionDiseases) GetName added in v1.4.6

GetName returns GetSessionsGetSessionsSessionDiseases.Name, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSessionDiseases) GetPresence added in v1.4.6

GetPresence returns GetSessionsGetSessionsSessionDiseases.Presence, and is useful for accessing the field via an interface.

type GetSessionsGetSessionsSessionLogs added in v1.3.0

type GetSessionsGetSessionsSessionLogs struct {
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

GetSessionsGetSessionsSessionLogs includes the requested fields of the GraphQL type Logs.

func (*GetSessionsGetSessionsSessionLogs) GetAnswer added in v1.3.0

GetAnswer returns GetSessionsGetSessionsSessionLogs.Answer, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSessionLogs) GetQuestion added in v1.3.0

func (v *GetSessionsGetSessionsSessionLogs) GetQuestion() string

GetQuestion returns GetSessionsGetSessionsSessionLogs.Question, and is useful for accessing the field via an interface.

type GetSessionsGetSessionsSessionSymptomsSessionSymptom added in v1.3.4

type GetSessionsGetSessionsSessionSymptomsSessionSymptom struct {
	Name     string   `json:"name"`
	Presence bool     `json:"presence"`
	Duration int      `json:"duration"`
	Treated  []string `json:"treated"`
}

GetSessionsGetSessionsSessionSymptomsSessionSymptom includes the requested fields of the GraphQL type SessionSymptom.

func (*GetSessionsGetSessionsSessionSymptomsSessionSymptom) GetDuration added in v1.3.4

GetDuration returns GetSessionsGetSessionsSessionSymptomsSessionSymptom.Duration, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSessionSymptomsSessionSymptom) GetName added in v1.3.4

GetName returns GetSessionsGetSessionsSessionSymptomsSessionSymptom.Name, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSessionSymptomsSessionSymptom) GetPresence added in v1.3.4

GetPresence returns GetSessionsGetSessionsSessionSymptomsSessionSymptom.Presence, and is useful for accessing the field via an interface.

func (*GetSessionsGetSessionsSessionSymptomsSessionSymptom) GetTreated added in v1.5.1

GetTreated returns GetSessionsGetSessionsSessionSymptomsSessionSymptom.Treated, and is useful for accessing the field via an interface.

type GetSessionsResponse added in v1.3.0

type GetSessionsResponse struct {
	GetSessions []GetSessionsGetSessionsSession `json:"getSessions"`
}

GetSessionsResponse is returned by GetSessions on success.

func GetSessions added in v1.3.0

func GetSessions(
	ctx context.Context,
	client graphql.Client,
) (*GetSessionsResponse, error)

func (*GetSessionsResponse) GetGetSessions added in v1.3.0

func (v *GetSessionsResponse) GetGetSessions() []GetSessionsGetSessionsSession

GetGetSessions returns GetSessionsResponse.GetSessions, and is useful for accessing the field via an interface.

type GetSlotByIdGetSlotByIdRdv added in v1.4.0

type GetSlotByIdGetSlotByIdRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
}

GetSlotByIdGetSlotByIdRdv includes the requested fields of the GraphQL type Rdv.

func (*GetSlotByIdGetSlotByIdRdv) GetAppointment_status added in v1.4.0

func (v *GetSlotByIdGetSlotByIdRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns GetSlotByIdGetSlotByIdRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*GetSlotByIdGetSlotByIdRdv) GetCancelation_reason added in v1.4.0

func (v *GetSlotByIdGetSlotByIdRdv) GetCancelation_reason() string

GetCancelation_reason returns GetSlotByIdGetSlotByIdRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*GetSlotByIdGetSlotByIdRdv) GetDoctor_id added in v1.4.0

func (v *GetSlotByIdGetSlotByIdRdv) GetDoctor_id() string

GetDoctor_id returns GetSlotByIdGetSlotByIdRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*GetSlotByIdGetSlotByIdRdv) GetEnd_date added in v1.4.0

func (v *GetSlotByIdGetSlotByIdRdv) GetEnd_date() int

GetEnd_date returns GetSlotByIdGetSlotByIdRdv.End_date, and is useful for accessing the field via an interface.

func (*GetSlotByIdGetSlotByIdRdv) GetId added in v1.4.0

func (v *GetSlotByIdGetSlotByIdRdv) GetId() string

GetId returns GetSlotByIdGetSlotByIdRdv.Id, and is useful for accessing the field via an interface.

func (*GetSlotByIdGetSlotByIdRdv) GetId_patient added in v1.4.0

func (v *GetSlotByIdGetSlotByIdRdv) GetId_patient() string

GetId_patient returns GetSlotByIdGetSlotByIdRdv.Id_patient, and is useful for accessing the field via an interface.

func (*GetSlotByIdGetSlotByIdRdv) GetSession_id added in v1.4.2

func (v *GetSlotByIdGetSlotByIdRdv) GetSession_id() string

GetSession_id returns GetSlotByIdGetSlotByIdRdv.Session_id, and is useful for accessing the field via an interface.

func (*GetSlotByIdGetSlotByIdRdv) GetStart_date added in v1.4.0

func (v *GetSlotByIdGetSlotByIdRdv) GetStart_date() int

GetStart_date returns GetSlotByIdGetSlotByIdRdv.Start_date, and is useful for accessing the field via an interface.

type GetSlotByIdResponse added in v1.4.0

type GetSlotByIdResponse struct {
	GetSlotById GetSlotByIdGetSlotByIdRdv `json:"getSlotById"`
}

GetSlotByIdResponse is returned by GetSlotById on success.

func GetSlotById added in v1.4.0

func GetSlotById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetSlotByIdResponse, error)

func (*GetSlotByIdResponse) GetGetSlotById added in v1.4.0

func (v *GetSlotByIdResponse) GetGetSlotById() GetSlotByIdGetSlotByIdRdv

GetGetSlotById returns GetSlotByIdResponse.GetSlotById, and is useful for accessing the field via an interface.

type GetSlotsGetSlotsRdv added in v1.4.0

type GetSlotsGetSlotsRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
}

GetSlotsGetSlotsRdv includes the requested fields of the GraphQL type Rdv.

func (*GetSlotsGetSlotsRdv) GetAppointment_status added in v1.4.0

func (v *GetSlotsGetSlotsRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns GetSlotsGetSlotsRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*GetSlotsGetSlotsRdv) GetCancelation_reason added in v1.4.0

func (v *GetSlotsGetSlotsRdv) GetCancelation_reason() string

GetCancelation_reason returns GetSlotsGetSlotsRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*GetSlotsGetSlotsRdv) GetDoctor_id added in v1.4.0

func (v *GetSlotsGetSlotsRdv) GetDoctor_id() string

GetDoctor_id returns GetSlotsGetSlotsRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*GetSlotsGetSlotsRdv) GetEnd_date added in v1.4.0

func (v *GetSlotsGetSlotsRdv) GetEnd_date() int

GetEnd_date returns GetSlotsGetSlotsRdv.End_date, and is useful for accessing the field via an interface.

func (*GetSlotsGetSlotsRdv) GetId added in v1.4.0

func (v *GetSlotsGetSlotsRdv) GetId() string

GetId returns GetSlotsGetSlotsRdv.Id, and is useful for accessing the field via an interface.

func (*GetSlotsGetSlotsRdv) GetId_patient added in v1.4.0

func (v *GetSlotsGetSlotsRdv) GetId_patient() string

GetId_patient returns GetSlotsGetSlotsRdv.Id_patient, and is useful for accessing the field via an interface.

func (*GetSlotsGetSlotsRdv) GetSession_id added in v1.4.2

func (v *GetSlotsGetSlotsRdv) GetSession_id() string

GetSession_id returns GetSlotsGetSlotsRdv.Session_id, and is useful for accessing the field via an interface.

func (*GetSlotsGetSlotsRdv) GetStart_date added in v1.4.0

func (v *GetSlotsGetSlotsRdv) GetStart_date() int

GetStart_date returns GetSlotsGetSlotsRdv.Start_date, and is useful for accessing the field via an interface.

type GetSlotsResponse added in v1.4.0

type GetSlotsResponse struct {
	GetSlots []GetSlotsGetSlotsRdv `json:"getSlots"`
}

GetSlotsResponse is returned by GetSlots on success.

func GetSlots added in v1.4.0

func GetSlots(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetSlotsResponse, error)

func (*GetSlotsResponse) GetGetSlots added in v1.4.0

func (v *GetSlotsResponse) GetGetSlots() []GetSlotsGetSlotsRdv

GetGetSlots returns GetSlotsResponse.GetSlots, and is useful for accessing the field via an interface.

type GetSymptomByIdGetSymptomByIdSymptom added in v1.3.0

type GetSymptomByIdGetSymptomByIdSymptom struct {
	Id                string   `json:"id"`
	Code              string   `json:"code"`
	Name              string   `json:"name"`
	Chronic           int      `json:"chronic"`
	Symptom           []string `json:"symptom"`
	Advice            string   `json:"advice"`
	Question          string   `json:"question"`
	Question_basic    string   `json:"question_basic"`
	Question_duration string   `json:"question_duration"`
	Question_ante     string   `json:"question_ante"`
}

GetSymptomByIdGetSymptomByIdSymptom includes the requested fields of the GraphQL type Symptom.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetAdvice added in v1.3.0

GetAdvice returns GetSymptomByIdGetSymptomByIdSymptom.Advice, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetChronic added in v1.3.0

func (v *GetSymptomByIdGetSymptomByIdSymptom) GetChronic() int

GetChronic returns GetSymptomByIdGetSymptomByIdSymptom.Chronic, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetCode added in v1.3.0

GetCode returns GetSymptomByIdGetSymptomByIdSymptom.Code, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetId added in v1.3.0

GetId returns GetSymptomByIdGetSymptomByIdSymptom.Id, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetName added in v1.3.0

GetName returns GetSymptomByIdGetSymptomByIdSymptom.Name, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetQuestion added in v1.3.0

GetQuestion returns GetSymptomByIdGetSymptomByIdSymptom.Question, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetQuestion_ante added in v1.5.13

func (v *GetSymptomByIdGetSymptomByIdSymptom) GetQuestion_ante() string

GetQuestion_ante returns GetSymptomByIdGetSymptomByIdSymptom.Question_ante, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetQuestion_basic added in v1.5.13

func (v *GetSymptomByIdGetSymptomByIdSymptom) GetQuestion_basic() string

GetQuestion_basic returns GetSymptomByIdGetSymptomByIdSymptom.Question_basic, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetQuestion_duration added in v1.5.13

func (v *GetSymptomByIdGetSymptomByIdSymptom) GetQuestion_duration() string

GetQuestion_duration returns GetSymptomByIdGetSymptomByIdSymptom.Question_duration, and is useful for accessing the field via an interface.

func (*GetSymptomByIdGetSymptomByIdSymptom) GetSymptom added in v1.3.0

func (v *GetSymptomByIdGetSymptomByIdSymptom) GetSymptom() []string

GetSymptom returns GetSymptomByIdGetSymptomByIdSymptom.Symptom, and is useful for accessing the field via an interface.

type GetSymptomByIdResponse added in v1.3.0

type GetSymptomByIdResponse struct {
	GetSymptomById GetSymptomByIdGetSymptomByIdSymptom `json:"getSymptomById"`
}

GetSymptomByIdResponse is returned by GetSymptomById on success.

func GetSymptomById added in v1.3.0

func GetSymptomById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetSymptomByIdResponse, error)

func (*GetSymptomByIdResponse) GetGetSymptomById added in v1.3.0

GetGetSymptomById returns GetSymptomByIdResponse.GetSymptomById, and is useful for accessing the field via an interface.

type GetSymptomsGetSymptomsSymptom added in v1.3.0

type GetSymptomsGetSymptomsSymptom struct {
	Id                string   `json:"id"`
	Code              string   `json:"code"`
	Name              string   `json:"name"`
	Chronic           int      `json:"chronic"`
	Symptom           []string `json:"symptom"`
	Advice            string   `json:"advice"`
	Question          string   `json:"question"`
	Question_basic    string   `json:"question_basic"`
	Question_duration string   `json:"question_duration"`
	Question_ante     string   `json:"question_ante"`
}

GetSymptomsGetSymptomsSymptom includes the requested fields of the GraphQL type Symptom.

func (*GetSymptomsGetSymptomsSymptom) GetAdvice added in v1.3.0

func (v *GetSymptomsGetSymptomsSymptom) GetAdvice() string

GetAdvice returns GetSymptomsGetSymptomsSymptom.Advice, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetChronic added in v1.3.0

func (v *GetSymptomsGetSymptomsSymptom) GetChronic() int

GetChronic returns GetSymptomsGetSymptomsSymptom.Chronic, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetCode added in v1.3.0

GetCode returns GetSymptomsGetSymptomsSymptom.Code, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetId added in v1.3.0

GetId returns GetSymptomsGetSymptomsSymptom.Id, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetName added in v1.3.0

GetName returns GetSymptomsGetSymptomsSymptom.Name, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetQuestion added in v1.3.0

func (v *GetSymptomsGetSymptomsSymptom) GetQuestion() string

GetQuestion returns GetSymptomsGetSymptomsSymptom.Question, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetQuestion_ante added in v1.5.13

func (v *GetSymptomsGetSymptomsSymptom) GetQuestion_ante() string

GetQuestion_ante returns GetSymptomsGetSymptomsSymptom.Question_ante, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetQuestion_basic added in v1.5.13

func (v *GetSymptomsGetSymptomsSymptom) GetQuestion_basic() string

GetQuestion_basic returns GetSymptomsGetSymptomsSymptom.Question_basic, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetQuestion_duration added in v1.5.13

func (v *GetSymptomsGetSymptomsSymptom) GetQuestion_duration() string

GetQuestion_duration returns GetSymptomsGetSymptomsSymptom.Question_duration, and is useful for accessing the field via an interface.

func (*GetSymptomsGetSymptomsSymptom) GetSymptom added in v1.3.0

func (v *GetSymptomsGetSymptomsSymptom) GetSymptom() []string

GetSymptom returns GetSymptomsGetSymptomsSymptom.Symptom, and is useful for accessing the field via an interface.

type GetSymptomsResponse added in v1.3.0

type GetSymptomsResponse struct {
	GetSymptoms []GetSymptomsGetSymptomsSymptom `json:"getSymptoms"`
}

GetSymptomsResponse is returned by GetSymptoms on success.

func GetSymptoms added in v1.3.0

func GetSymptoms(
	ctx context.Context,
	client graphql.Client,
) (*GetSymptomsResponse, error)

func (*GetSymptomsResponse) GetGetSymptoms added in v1.3.0

func (v *GetSymptomsResponse) GetGetSymptoms() []GetSymptomsGetSymptomsSymptom

GetGetSymptoms returns GetSymptomsResponse.GetSymptoms, and is useful for accessing the field via an interface.

type GetTestAccountByEmailGetTestAccountByEmailTestAccount added in v1.3.0

type GetTestAccountByEmailGetTestAccountByEmailTestAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

GetTestAccountByEmailGetTestAccountByEmailTestAccount includes the requested fields of the GraphQL type TestAccount.

func (*GetTestAccountByEmailGetTestAccountByEmailTestAccount) GetEmail added in v1.3.0

GetEmail returns GetTestAccountByEmailGetTestAccountByEmailTestAccount.Email, and is useful for accessing the field via an interface.

func (*GetTestAccountByEmailGetTestAccountByEmailTestAccount) GetId added in v1.3.0

GetId returns GetTestAccountByEmailGetTestAccountByEmailTestAccount.Id, and is useful for accessing the field via an interface.

func (*GetTestAccountByEmailGetTestAccountByEmailTestAccount) GetPassword added in v1.3.0

GetPassword returns GetTestAccountByEmailGetTestAccountByEmailTestAccount.Password, and is useful for accessing the field via an interface.

type GetTestAccountByEmailResponse added in v1.3.0

type GetTestAccountByEmailResponse struct {
	GetTestAccountByEmail GetTestAccountByEmailGetTestAccountByEmailTestAccount `json:"getTestAccountByEmail"`
}

GetTestAccountByEmailResponse is returned by GetTestAccountByEmail on success.

func GetTestAccountByEmail added in v1.3.0

func GetTestAccountByEmail(
	ctx context.Context,
	client graphql.Client,
	email string,
) (*GetTestAccountByEmailResponse, error)

func (*GetTestAccountByEmailResponse) GetGetTestAccountByEmail added in v1.3.0

GetGetTestAccountByEmail returns GetTestAccountByEmailResponse.GetTestAccountByEmail, and is useful for accessing the field via an interface.

type GetTestAccountByIdGetTestAccountByIdTestAccount added in v1.3.0

type GetTestAccountByIdGetTestAccountByIdTestAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

GetTestAccountByIdGetTestAccountByIdTestAccount includes the requested fields of the GraphQL type TestAccount.

func (*GetTestAccountByIdGetTestAccountByIdTestAccount) GetEmail added in v1.3.0

GetEmail returns GetTestAccountByIdGetTestAccountByIdTestAccount.Email, and is useful for accessing the field via an interface.

func (*GetTestAccountByIdGetTestAccountByIdTestAccount) GetId added in v1.3.0

GetId returns GetTestAccountByIdGetTestAccountByIdTestAccount.Id, and is useful for accessing the field via an interface.

func (*GetTestAccountByIdGetTestAccountByIdTestAccount) GetPassword added in v1.3.0

GetPassword returns GetTestAccountByIdGetTestAccountByIdTestAccount.Password, and is useful for accessing the field via an interface.

type GetTestAccountByIdResponse added in v1.3.0

type GetTestAccountByIdResponse struct {
	GetTestAccountById GetTestAccountByIdGetTestAccountByIdTestAccount `json:"getTestAccountById"`
}

GetTestAccountByIdResponse is returned by GetTestAccountById on success.

func GetTestAccountById added in v1.3.0

func GetTestAccountById(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetTestAccountByIdResponse, error)

func (*GetTestAccountByIdResponse) GetGetTestAccountById added in v1.3.0

GetGetTestAccountById returns GetTestAccountByIdResponse.GetTestAccountById, and is useful for accessing the field via an interface.

type GetTestAccountsGetTestAccountsTestAccount added in v1.3.0

type GetTestAccountsGetTestAccountsTestAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

GetTestAccountsGetTestAccountsTestAccount includes the requested fields of the GraphQL type TestAccount.

func (*GetTestAccountsGetTestAccountsTestAccount) GetEmail added in v1.3.0

GetEmail returns GetTestAccountsGetTestAccountsTestAccount.Email, and is useful for accessing the field via an interface.

func (*GetTestAccountsGetTestAccountsTestAccount) GetId added in v1.3.0

GetId returns GetTestAccountsGetTestAccountsTestAccount.Id, and is useful for accessing the field via an interface.

func (*GetTestAccountsGetTestAccountsTestAccount) GetPassword added in v1.3.0

GetPassword returns GetTestAccountsGetTestAccountsTestAccount.Password, and is useful for accessing the field via an interface.

type GetTestAccountsResponse added in v1.3.0

type GetTestAccountsResponse struct {
	GetTestAccounts []GetTestAccountsGetTestAccountsTestAccount `json:"getTestAccounts"`
}

GetTestAccountsResponse is returned by GetTestAccounts on success.

func GetTestAccounts added in v1.3.0

func GetTestAccounts(
	ctx context.Context,
	client graphql.Client,
) (*GetTestAccountsResponse, error)

func (*GetTestAccountsResponse) GetGetTestAccounts added in v1.3.0

GetGetTestAccounts returns GetTestAccountsResponse.GetTestAccounts, and is useful for accessing the field via an interface.

type GetTreatmentByIDGetTreatmentByIDTreatment added in v1.3.0

type GetTreatmentByIDGetTreatmentByIDTreatment struct {
	Id          string   `json:"id"`
	Period      []Period `json:"period"`
	Day         []Day    `json:"day"`
	Quantity    int      `json:"quantity"`
	Medicine_id string   `json:"medicine_id"`
}

GetTreatmentByIDGetTreatmentByIDTreatment includes the requested fields of the GraphQL type Treatment.

func (*GetTreatmentByIDGetTreatmentByIDTreatment) GetDay added in v1.5.0

GetDay returns GetTreatmentByIDGetTreatmentByIDTreatment.Day, and is useful for accessing the field via an interface.

func (*GetTreatmentByIDGetTreatmentByIDTreatment) GetId added in v1.3.0

GetId returns GetTreatmentByIDGetTreatmentByIDTreatment.Id, and is useful for accessing the field via an interface.

func (*GetTreatmentByIDGetTreatmentByIDTreatment) GetMedicine_id added in v1.5.0

GetMedicine_id returns GetTreatmentByIDGetTreatmentByIDTreatment.Medicine_id, and is useful for accessing the field via an interface.

func (*GetTreatmentByIDGetTreatmentByIDTreatment) GetPeriod added in v1.5.0

GetPeriod returns GetTreatmentByIDGetTreatmentByIDTreatment.Period, and is useful for accessing the field via an interface.

func (*GetTreatmentByIDGetTreatmentByIDTreatment) GetQuantity added in v1.5.0

GetQuantity returns GetTreatmentByIDGetTreatmentByIDTreatment.Quantity, and is useful for accessing the field via an interface.

type GetTreatmentByIDResponse added in v1.3.0

type GetTreatmentByIDResponse struct {
	GetTreatmentByID GetTreatmentByIDGetTreatmentByIDTreatment `json:"getTreatmentByID"`
}

GetTreatmentByIDResponse is returned by GetTreatmentByID on success.

func GetTreatmentByID added in v1.3.0

func GetTreatmentByID(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetTreatmentByIDResponse, error)

func (*GetTreatmentByIDResponse) GetGetTreatmentByID added in v1.3.0

GetGetTreatmentByID returns GetTreatmentByIDResponse.GetTreatmentByID, and is useful for accessing the field via an interface.

type GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp added in v1.5.1

type GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp struct {
	Id           string   `json:"id"`
	Treatment_id string   `json:"treatment_id"`
	Date         int      `json:"date"`
	Period       []Period `json:"period"`
}

GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp includes the requested fields of the GraphQL type TreatmentsFollowUp.

func (*GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp) GetDate added in v1.5.1

GetDate returns GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp.Date, and is useful for accessing the field via an interface.

func (*GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp) GetId added in v1.5.1

GetId returns GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp.Id, and is useful for accessing the field via an interface.

func (*GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp) GetPeriod added in v1.5.1

GetPeriod returns GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp.Period, and is useful for accessing the field via an interface.

func (*GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp) GetTreatment_id added in v1.5.1

GetTreatment_id returns GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp.Treatment_id, and is useful for accessing the field via an interface.

type GetTreatmentsFollowUpByIDResponse added in v1.5.1

type GetTreatmentsFollowUpByIDResponse struct {
	GetTreatmentsFollowUpById GetTreatmentsFollowUpByIDGetTreatmentsFollowUpByIdTreatmentsFollowUp `json:"getTreatmentsFollowUpById"`
}

GetTreatmentsFollowUpByIDResponse is returned by GetTreatmentsFollowUpByID on success.

func GetTreatmentsFollowUpByID added in v1.5.1

func GetTreatmentsFollowUpByID(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetTreatmentsFollowUpByIDResponse, error)

func (*GetTreatmentsFollowUpByIDResponse) GetGetTreatmentsFollowUpById added in v1.5.1

GetGetTreatmentsFollowUpById returns GetTreatmentsFollowUpByIDResponse.GetTreatmentsFollowUpById, and is useful for accessing the field via an interface.

type GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp added in v1.5.1

type GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp struct {
	Id           string   `json:"id"`
	Treatment_id string   `json:"treatment_id"`
	Date         int      `json:"date"`
	Period       []Period `json:"period"`
}

GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp includes the requested fields of the GraphQL type TreatmentsFollowUp.

func (*GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp) GetDate added in v1.5.1

GetDate returns GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp.Date, and is useful for accessing the field via an interface.

func (*GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp) GetId added in v1.5.1

GetId returns GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp.Id, and is useful for accessing the field via an interface.

func (*GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp) GetPeriod added in v1.5.1

GetPeriod returns GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp.Period, and is useful for accessing the field via an interface.

func (*GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp) GetTreatment_id added in v1.5.1

GetTreatment_id returns GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp.Treatment_id, and is useful for accessing the field via an interface.

type GetTreatmentsFollowUpResponse added in v1.5.1

type GetTreatmentsFollowUpResponse struct {
	GetTreatmentsFollowUps []GetTreatmentsFollowUpGetTreatmentsFollowUpsTreatmentsFollowUp `json:"getTreatmentsFollowUps"`
}

GetTreatmentsFollowUpResponse is returned by GetTreatmentsFollowUp on success.

func GetTreatmentsFollowUp added in v1.5.1

func GetTreatmentsFollowUp(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetTreatmentsFollowUpResponse, error)

func (*GetTreatmentsFollowUpResponse) GetGetTreatmentsFollowUps added in v1.5.1

GetGetTreatmentsFollowUps returns GetTreatmentsFollowUpResponse.GetTreatmentsFollowUps, and is useful for accessing the field via an interface.

type GetTreatmentsGetTreatmentsTreatment added in v1.3.0

type GetTreatmentsGetTreatmentsTreatment struct {
	Id          string   `json:"id"`
	Period      []Period `json:"period"`
	Day         []Day    `json:"day"`
	Quantity    int      `json:"quantity"`
	Medicine_id string   `json:"medicine_id"`
}

GetTreatmentsGetTreatmentsTreatment includes the requested fields of the GraphQL type Treatment.

func (*GetTreatmentsGetTreatmentsTreatment) GetDay added in v1.5.0

GetDay returns GetTreatmentsGetTreatmentsTreatment.Day, and is useful for accessing the field via an interface.

func (*GetTreatmentsGetTreatmentsTreatment) GetId added in v1.3.0

GetId returns GetTreatmentsGetTreatmentsTreatment.Id, and is useful for accessing the field via an interface.

func (*GetTreatmentsGetTreatmentsTreatment) GetMedicine_id added in v1.5.0

func (v *GetTreatmentsGetTreatmentsTreatment) GetMedicine_id() string

GetMedicine_id returns GetTreatmentsGetTreatmentsTreatment.Medicine_id, and is useful for accessing the field via an interface.

func (*GetTreatmentsGetTreatmentsTreatment) GetPeriod added in v1.5.0

GetPeriod returns GetTreatmentsGetTreatmentsTreatment.Period, and is useful for accessing the field via an interface.

func (*GetTreatmentsGetTreatmentsTreatment) GetQuantity added in v1.5.0

func (v *GetTreatmentsGetTreatmentsTreatment) GetQuantity() int

GetQuantity returns GetTreatmentsGetTreatmentsTreatment.Quantity, and is useful for accessing the field via an interface.

type GetTreatmentsResponse added in v1.3.0

type GetTreatmentsResponse struct {
	GetTreatments []GetTreatmentsGetTreatmentsTreatment `json:"getTreatments"`
}

GetTreatmentsResponse is returned by GetTreatments on success.

func GetTreatments added in v1.3.0

func GetTreatments(
	ctx context.Context,
	client graphql.Client,
) (*GetTreatmentsResponse, error)

func (*GetTreatmentsResponse) GetGetTreatments added in v1.3.0

GetGetTreatments returns GetTreatmentsResponse.GetTreatments, and is useful for accessing the field via an interface.

type GetWaitingRdvGetWaitingRdv added in v1.4.0

type GetWaitingRdvGetWaitingRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
	Health_method      string            `json:"health_method"`
}

GetWaitingRdvGetWaitingRdv includes the requested fields of the GraphQL type Rdv.

func (*GetWaitingRdvGetWaitingRdv) GetAppointment_status added in v1.4.0

func (v *GetWaitingRdvGetWaitingRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns GetWaitingRdvGetWaitingRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetCancelation_reason added in v1.4.0

func (v *GetWaitingRdvGetWaitingRdv) GetCancelation_reason() string

GetCancelation_reason returns GetWaitingRdvGetWaitingRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetDoctor_id added in v1.4.0

func (v *GetWaitingRdvGetWaitingRdv) GetDoctor_id() string

GetDoctor_id returns GetWaitingRdvGetWaitingRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetEnd_date added in v1.4.0

func (v *GetWaitingRdvGetWaitingRdv) GetEnd_date() int

GetEnd_date returns GetWaitingRdvGetWaitingRdv.End_date, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetHealth_method added in v1.7.0

func (v *GetWaitingRdvGetWaitingRdv) GetHealth_method() string

GetHealth_method returns GetWaitingRdvGetWaitingRdv.Health_method, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetId added in v1.4.0

GetId returns GetWaitingRdvGetWaitingRdv.Id, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetId_patient added in v1.4.0

func (v *GetWaitingRdvGetWaitingRdv) GetId_patient() string

GetId_patient returns GetWaitingRdvGetWaitingRdv.Id_patient, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetSession_id added in v1.4.2

func (v *GetWaitingRdvGetWaitingRdv) GetSession_id() string

GetSession_id returns GetWaitingRdvGetWaitingRdv.Session_id, and is useful for accessing the field via an interface.

func (*GetWaitingRdvGetWaitingRdv) GetStart_date added in v1.4.0

func (v *GetWaitingRdvGetWaitingRdv) GetStart_date() int

GetStart_date returns GetWaitingRdvGetWaitingRdv.Start_date, and is useful for accessing the field via an interface.

type GetWaitingRdvResponse added in v1.4.0

type GetWaitingRdvResponse struct {
	GetWaitingRdv []GetWaitingRdvGetWaitingRdv `json:"getWaitingRdv"`
}

GetWaitingRdvResponse is returned by GetWaitingRdv on success.

func GetWaitingRdv added in v1.4.0

func GetWaitingRdv(
	ctx context.Context,
	client graphql.Client,
	doctor_id string,
) (*GetWaitingRdvResponse, error)

func (*GetWaitingRdvResponse) GetGetWaitingRdv added in v1.4.0

func (v *GetWaitingRdvResponse) GetGetWaitingRdv() []GetWaitingRdvGetWaitingRdv

GetGetWaitingRdv returns GetWaitingRdvResponse.GetWaitingRdv, and is useful for accessing the field via an interface.

type LogsInput added in v1.3.0

type LogsInput struct {
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

func (*LogsInput) GetAnswer added in v1.3.0

func (v *LogsInput) GetAnswer() string

GetAnswer returns LogsInput.Answer, and is useful for accessing the field via an interface.

func (*LogsInput) GetQuestion added in v1.3.0

func (v *LogsInput) GetQuestion() string

GetQuestion returns LogsInput.Question, and is useful for accessing the field via an interface.

type MedicineUnit added in v1.4.2

type MedicineUnit string
const (
	MedicineUnitApplication MedicineUnit = "APPLICATION"
	MedicineUnitTablet      MedicineUnit = "TABLET"
	MedicineUnitTablespoon  MedicineUnit = "TABLESPOON"
	MedicineUnitCoffeespoon MedicineUnit = "COFFEESPOON"
)

type NlpReportOutputInput added in v1.5.5

type NlpReportOutputInput struct {
	Symptom string `json:"symptom"`
	Present bool   `json:"present"`
	Days    int    `json:"days"`
}

func (*NlpReportOutputInput) GetDays added in v1.5.7

func (v *NlpReportOutputInput) GetDays() int

GetDays returns NlpReportOutputInput.Days, and is useful for accessing the field via an interface.

func (*NlpReportOutputInput) GetPresent added in v1.5.5

func (v *NlpReportOutputInput) GetPresent() bool

GetPresent returns NlpReportOutputInput.Present, and is useful for accessing the field via an interface.

func (*NlpReportOutputInput) GetSymptom added in v1.5.5

func (v *NlpReportOutputInput) GetSymptom() string

GetSymptom returns NlpReportOutputInput.Symptom, and is useful for accessing the field via an interface.

type OnboardingStatus added in v1.3.2

type OnboardingStatus string
const (
	OnboardingStatusNotStarted OnboardingStatus = "NOT_STARTED"
	OnboardingStatusInProgress OnboardingStatus = "IN_PROGRESS"
	OnboardingStatusDone       OnboardingStatus = "DONE"
)

type Period added in v1.3.2

type Period string
const (
	PeriodMorning Period = "MORNING"
	PeriodNoon    Period = "NOON"
	PeriodEvening Period = "EVENING"
	PeriodNight   Period = "NIGHT"
)

type SessionDiseasesInput added in v1.4.6

type SessionDiseasesInput struct {
	Name     string  `json:"name"`
	Presence float64 `json:"presence"`
}

func (*SessionDiseasesInput) GetName added in v1.4.6

func (v *SessionDiseasesInput) GetName() string

GetName returns SessionDiseasesInput.Name, and is useful for accessing the field via an interface.

func (*SessionDiseasesInput) GetPresence added in v1.4.6

func (v *SessionDiseasesInput) GetPresence() float64

GetPresence returns SessionDiseasesInput.Presence, and is useful for accessing the field via an interface.

type SessionSymptomInput added in v1.3.4

type SessionSymptomInput struct {
	Name     string   `json:"name"`
	Presence bool     `json:"presence"`
	Duration int      `json:"duration"`
	Treated  []string `json:"treated"`
}

func (*SessionSymptomInput) GetDuration added in v1.3.4

func (v *SessionSymptomInput) GetDuration() int

GetDuration returns SessionSymptomInput.Duration, and is useful for accessing the field via an interface.

func (*SessionSymptomInput) GetName added in v1.3.4

func (v *SessionSymptomInput) GetName() string

GetName returns SessionSymptomInput.Name, and is useful for accessing the field via an interface.

func (*SessionSymptomInput) GetPresence added in v1.3.4

func (v *SessionSymptomInput) GetPresence() bool

GetPresence returns SessionSymptomInput.Presence, and is useful for accessing the field via an interface.

func (*SessionSymptomInput) GetTreated added in v1.5.1

func (v *SessionSymptomInput) GetTreated() []string

GetTreated returns SessionSymptomInput.Treated, and is useful for accessing the field via an interface.

type Sex added in v1.3.0

type Sex string
const (
	SexMale   Sex = "MALE"
	SexFemale Sex = "FEMALE"
	SexOther  Sex = "OTHER"
)

type SymptomsWeightInput added in v1.5.7

type SymptomsWeightInput struct {
	Symptom string  `json:"symptom"`
	Value   float64 `json:"value"`
	Chronic bool    `json:"chronic"`
}

func (*SymptomsWeightInput) GetChronic added in v1.5.14

func (v *SymptomsWeightInput) GetChronic() bool

GetChronic returns SymptomsWeightInput.Chronic, and is useful for accessing the field via an interface.

func (*SymptomsWeightInput) GetSymptom added in v1.5.7

func (v *SymptomsWeightInput) GetSymptom() string

GetSymptom returns SymptomsWeightInput.Symptom, and is useful for accessing the field via an interface.

func (*SymptomsWeightInput) GetValue added in v1.5.7

func (v *SymptomsWeightInput) GetValue() float64

GetValue returns SymptomsWeightInput.Value, and is useful for accessing the field via an interface.

type UpdateAdminResponse added in v1.3.0

type UpdateAdminResponse struct {
	UpdateAdmin UpdateAdminUpdateAdmin `json:"updateAdmin"`
}

UpdateAdminResponse is returned by UpdateAdmin on success.

func UpdateAdmin added in v1.3.0

func UpdateAdmin(
	ctx context.Context,
	client graphql.Client,
	id string,
	email string,
	password string,
	name string,
	last_name string,
) (*UpdateAdminResponse, error)

func (*UpdateAdminResponse) GetUpdateAdmin added in v1.3.0

func (v *UpdateAdminResponse) GetUpdateAdmin() UpdateAdminUpdateAdmin

GetUpdateAdmin returns UpdateAdminResponse.UpdateAdmin, and is useful for accessing the field via an interface.

type UpdateAdminUpdateAdmin added in v1.3.0

type UpdateAdminUpdateAdmin struct {
	Id        string `json:"id"`
	Email     string `json:"email"`
	Password  string `json:"password"`
	Name      string `json:"name"`
	Last_name string `json:"last_name"`
}

UpdateAdminUpdateAdmin includes the requested fields of the GraphQL type Admin.

func (*UpdateAdminUpdateAdmin) GetEmail added in v1.3.0

func (v *UpdateAdminUpdateAdmin) GetEmail() string

GetEmail returns UpdateAdminUpdateAdmin.Email, and is useful for accessing the field via an interface.

func (*UpdateAdminUpdateAdmin) GetId added in v1.3.0

func (v *UpdateAdminUpdateAdmin) GetId() string

GetId returns UpdateAdminUpdateAdmin.Id, and is useful for accessing the field via an interface.

func (*UpdateAdminUpdateAdmin) GetLast_name added in v1.3.0

func (v *UpdateAdminUpdateAdmin) GetLast_name() string

GetLast_name returns UpdateAdminUpdateAdmin.Last_name, and is useful for accessing the field via an interface.

func (*UpdateAdminUpdateAdmin) GetName added in v1.3.0

func (v *UpdateAdminUpdateAdmin) GetName() string

GetName returns UpdateAdminUpdateAdmin.Name, and is useful for accessing the field via an interface.

func (*UpdateAdminUpdateAdmin) GetPassword added in v1.3.0

func (v *UpdateAdminUpdateAdmin) GetPassword() string

GetPassword returns UpdateAdminUpdateAdmin.Password, and is useful for accessing the field via an interface.

type UpdateAlertResponse added in v1.3.0

type UpdateAlertResponse struct {
	UpdateAlert UpdateAlertUpdateAlert `json:"updateAlert"`
}

UpdateAlertResponse is returned by UpdateAlert on success.

func UpdateAlert added in v1.3.0

func UpdateAlert(
	ctx context.Context,
	client graphql.Client,
	id string,
	name string,
	sex string,
	height int,
	weight int,
	symptoms []string,
	comment string,
) (*UpdateAlertResponse, error)

func (*UpdateAlertResponse) GetUpdateAlert added in v1.3.0

func (v *UpdateAlertResponse) GetUpdateAlert() UpdateAlertUpdateAlert

GetUpdateAlert returns UpdateAlertResponse.UpdateAlert, and is useful for accessing the field via an interface.

type UpdateAlertUpdateAlert added in v1.3.0

type UpdateAlertUpdateAlert struct {
	Id       string   `json:"id"`
	Name     string   `json:"name"`
	Sex      string   `json:"sex"`
	Height   int      `json:"height"`
	Weight   int      `json:"weight"`
	Symptoms []string `json:"symptoms"`
	Comment  string   `json:"comment"`
}

UpdateAlertUpdateAlert includes the requested fields of the GraphQL type Alert.

func (*UpdateAlertUpdateAlert) GetComment added in v1.3.0

func (v *UpdateAlertUpdateAlert) GetComment() string

GetComment returns UpdateAlertUpdateAlert.Comment, and is useful for accessing the field via an interface.

func (*UpdateAlertUpdateAlert) GetHeight added in v1.3.0

func (v *UpdateAlertUpdateAlert) GetHeight() int

GetHeight returns UpdateAlertUpdateAlert.Height, and is useful for accessing the field via an interface.

func (*UpdateAlertUpdateAlert) GetId added in v1.3.0

func (v *UpdateAlertUpdateAlert) GetId() string

GetId returns UpdateAlertUpdateAlert.Id, and is useful for accessing the field via an interface.

func (*UpdateAlertUpdateAlert) GetName added in v1.3.0

func (v *UpdateAlertUpdateAlert) GetName() string

GetName returns UpdateAlertUpdateAlert.Name, and is useful for accessing the field via an interface.

func (*UpdateAlertUpdateAlert) GetSex added in v1.3.0

func (v *UpdateAlertUpdateAlert) GetSex() string

GetSex returns UpdateAlertUpdateAlert.Sex, and is useful for accessing the field via an interface.

func (*UpdateAlertUpdateAlert) GetSymptoms added in v1.3.0

func (v *UpdateAlertUpdateAlert) GetSymptoms() []string

GetSymptoms returns UpdateAlertUpdateAlert.Symptoms, and is useful for accessing the field via an interface.

func (*UpdateAlertUpdateAlert) GetWeight added in v1.3.0

func (v *UpdateAlertUpdateAlert) GetWeight() int

GetWeight returns UpdateAlertUpdateAlert.Weight, and is useful for accessing the field via an interface.

type UpdateAnteChirResponse added in v1.3.0

type UpdateAnteChirResponse struct {
	UpdateAnteChir UpdateAnteChirUpdateAnteChir `json:"updateAnteChir"`
}

UpdateAnteChirResponse is returned by UpdateAnteChir on success.

func UpdateAnteChir added in v1.3.0

func UpdateAnteChir(
	ctx context.Context,
	client graphql.Client,
	id string,
	name string,
	localisation string,
	induced_symptoms []string,
) (*UpdateAnteChirResponse, error)

func (*UpdateAnteChirResponse) GetUpdateAnteChir added in v1.3.0

GetUpdateAnteChir returns UpdateAnteChirResponse.UpdateAnteChir, and is useful for accessing the field via an interface.

type UpdateAnteChirUpdateAnteChir added in v1.3.0

type UpdateAnteChirUpdateAnteChir struct {
	Id               string   `json:"id"`
	Name             string   `json:"name"`
	Localisation     string   `json:"localisation"`
	Induced_symptoms []string `json:"induced_symptoms"`
}

UpdateAnteChirUpdateAnteChir includes the requested fields of the GraphQL type AnteChir.

func (*UpdateAnteChirUpdateAnteChir) GetId added in v1.3.0

GetId returns UpdateAnteChirUpdateAnteChir.Id, and is useful for accessing the field via an interface.

func (*UpdateAnteChirUpdateAnteChir) GetInduced_symptoms added in v1.3.0

func (v *UpdateAnteChirUpdateAnteChir) GetInduced_symptoms() []string

GetInduced_symptoms returns UpdateAnteChirUpdateAnteChir.Induced_symptoms, and is useful for accessing the field via an interface.

func (*UpdateAnteChirUpdateAnteChir) GetLocalisation added in v1.3.0

func (v *UpdateAnteChirUpdateAnteChir) GetLocalisation() string

GetLocalisation returns UpdateAnteChirUpdateAnteChir.Localisation, and is useful for accessing the field via an interface.

func (*UpdateAnteChirUpdateAnteChir) GetName added in v1.3.0

func (v *UpdateAnteChirUpdateAnteChir) GetName() string

GetName returns UpdateAnteChirUpdateAnteChir.Name, and is useful for accessing the field via an interface.

type UpdateAnteDiseaseResponse added in v1.3.0

type UpdateAnteDiseaseResponse struct {
	UpdateAnteDisease UpdateAnteDiseaseUpdateAnteDisease `json:"updateAnteDisease"`
}

UpdateAnteDiseaseResponse is returned by UpdateAnteDisease on success.

func UpdateAnteDisease added in v1.3.0

func UpdateAnteDisease(
	ctx context.Context,
	client graphql.Client,
	id string,
	name string,
	chronicity float64,
	surgery_ids []string,
	symptoms []string,
	treatment_ids []string,
	still_relevant bool,
) (*UpdateAnteDiseaseResponse, error)

func (*UpdateAnteDiseaseResponse) GetUpdateAnteDisease added in v1.3.0

GetUpdateAnteDisease returns UpdateAnteDiseaseResponse.UpdateAnteDisease, and is useful for accessing the field via an interface.

type UpdateAnteDiseaseUpdateAnteDisease added in v1.3.0

type UpdateAnteDiseaseUpdateAnteDisease struct {
	Id             string   `json:"id"`
	Name           string   `json:"name"`
	Chronicity     float64  `json:"chronicity"`
	Surgery_ids    []string `json:"surgery_ids"`
	Symptoms       []string `json:"symptoms"`
	Treatment_ids  []string `json:"treatment_ids"`
	Still_relevant bool     `json:"still_relevant"`
}

UpdateAnteDiseaseUpdateAnteDisease includes the requested fields of the GraphQL type AnteDisease.

func (*UpdateAnteDiseaseUpdateAnteDisease) GetChronicity added in v1.3.0

func (v *UpdateAnteDiseaseUpdateAnteDisease) GetChronicity() float64

GetChronicity returns UpdateAnteDiseaseUpdateAnteDisease.Chronicity, and is useful for accessing the field via an interface.

func (*UpdateAnteDiseaseUpdateAnteDisease) GetId added in v1.3.0

GetId returns UpdateAnteDiseaseUpdateAnteDisease.Id, and is useful for accessing the field via an interface.

func (*UpdateAnteDiseaseUpdateAnteDisease) GetName added in v1.3.0

GetName returns UpdateAnteDiseaseUpdateAnteDisease.Name, and is useful for accessing the field via an interface.

func (*UpdateAnteDiseaseUpdateAnteDisease) GetStill_relevant added in v1.4.6

func (v *UpdateAnteDiseaseUpdateAnteDisease) GetStill_relevant() bool

GetStill_relevant returns UpdateAnteDiseaseUpdateAnteDisease.Still_relevant, and is useful for accessing the field via an interface.

func (*UpdateAnteDiseaseUpdateAnteDisease) GetSurgery_ids added in v1.4.6

func (v *UpdateAnteDiseaseUpdateAnteDisease) GetSurgery_ids() []string

GetSurgery_ids returns UpdateAnteDiseaseUpdateAnteDisease.Surgery_ids, and is useful for accessing the field via an interface.

func (*UpdateAnteDiseaseUpdateAnteDisease) GetSymptoms added in v1.3.0

func (v *UpdateAnteDiseaseUpdateAnteDisease) GetSymptoms() []string

GetSymptoms returns UpdateAnteDiseaseUpdateAnteDisease.Symptoms, and is useful for accessing the field via an interface.

func (*UpdateAnteDiseaseUpdateAnteDisease) GetTreatment_ids added in v1.4.6

func (v *UpdateAnteDiseaseUpdateAnteDisease) GetTreatment_ids() []string

GetTreatment_ids returns UpdateAnteDiseaseUpdateAnteDisease.Treatment_ids, and is useful for accessing the field via an interface.

type UpdateAnteFamilyResponse added in v1.3.0

type UpdateAnteFamilyResponse struct {
	UpdateAnteFamily UpdateAnteFamilyUpdateAnteFamily `json:"updateAnteFamily"`
}

UpdateAnteFamilyResponse is returned by UpdateAnteFamily on success.

func UpdateAnteFamily added in v1.3.0

func UpdateAnteFamily(
	ctx context.Context,
	client graphql.Client,
	id string,
	name string,
	disease []string,
) (*UpdateAnteFamilyResponse, error)

func (*UpdateAnteFamilyResponse) GetUpdateAnteFamily added in v1.3.0

GetUpdateAnteFamily returns UpdateAnteFamilyResponse.UpdateAnteFamily, and is useful for accessing the field via an interface.

type UpdateAnteFamilyUpdateAnteFamily added in v1.3.0

type UpdateAnteFamilyUpdateAnteFamily struct {
	Id      string   `json:"id"`
	Name    string   `json:"name"`
	Disease []string `json:"disease"`
}

UpdateAnteFamilyUpdateAnteFamily includes the requested fields of the GraphQL type AnteFamily.

func (*UpdateAnteFamilyUpdateAnteFamily) GetDisease added in v1.3.0

func (v *UpdateAnteFamilyUpdateAnteFamily) GetDisease() []string

GetDisease returns UpdateAnteFamilyUpdateAnteFamily.Disease, and is useful for accessing the field via an interface.

func (*UpdateAnteFamilyUpdateAnteFamily) GetId added in v1.3.0

GetId returns UpdateAnteFamilyUpdateAnteFamily.Id, and is useful for accessing the field via an interface.

func (*UpdateAnteFamilyUpdateAnteFamily) GetName added in v1.3.0

GetName returns UpdateAnteFamilyUpdateAnteFamily.Name, and is useful for accessing the field via an interface.

type UpdateChatResponse added in v1.6.0

type UpdateChatResponse struct {
	UpdateChat UpdateChatUpdateChat `json:"updateChat"`
}

UpdateChatResponse is returned by UpdateChat on success.

func UpdateChat added in v1.6.0

func UpdateChat(
	ctx context.Context,
	client graphql.Client,
	id string,
	participants []ChatParticipantsInput,
	messages []ChatMessagesInput,
) (*UpdateChatResponse, error)

func (*UpdateChatResponse) GetUpdateChat added in v1.6.0

func (v *UpdateChatResponse) GetUpdateChat() UpdateChatUpdateChat

GetUpdateChat returns UpdateChatResponse.UpdateChat, and is useful for accessing the field via an interface.

type UpdateChatUpdateChat added in v1.6.0

type UpdateChatUpdateChat struct {
	Id           string                             `json:"id"`
	Participants []UpdateChatUpdateChatParticipants `json:"participants"`
	Messages     []UpdateChatUpdateChatMessages     `json:"messages"`
}

UpdateChatUpdateChat includes the requested fields of the GraphQL type Chat.

func (*UpdateChatUpdateChat) GetId added in v1.6.0

func (v *UpdateChatUpdateChat) GetId() string

GetId returns UpdateChatUpdateChat.Id, and is useful for accessing the field via an interface.

func (*UpdateChatUpdateChat) GetMessages added in v1.6.0

GetMessages returns UpdateChatUpdateChat.Messages, and is useful for accessing the field via an interface.

func (*UpdateChatUpdateChat) GetParticipants added in v1.6.0

GetParticipants returns UpdateChatUpdateChat.Participants, and is useful for accessing the field via an interface.

type UpdateChatUpdateChatMessages added in v1.6.0

type UpdateChatUpdateChatMessages struct {
	Owner_id    string `json:"owner_id"`
	Message     string `json:"message"`
	Sended_time int    `json:"sended_time"`
}

UpdateChatUpdateChatMessages includes the requested fields of the GraphQL type ChatMessages.

func (*UpdateChatUpdateChatMessages) GetMessage added in v1.6.0

func (v *UpdateChatUpdateChatMessages) GetMessage() string

GetMessage returns UpdateChatUpdateChatMessages.Message, and is useful for accessing the field via an interface.

func (*UpdateChatUpdateChatMessages) GetOwner_id added in v1.6.0

func (v *UpdateChatUpdateChatMessages) GetOwner_id() string

GetOwner_id returns UpdateChatUpdateChatMessages.Owner_id, and is useful for accessing the field via an interface.

func (*UpdateChatUpdateChatMessages) GetSended_time added in v1.6.0

func (v *UpdateChatUpdateChatMessages) GetSended_time() int

GetSended_time returns UpdateChatUpdateChatMessages.Sended_time, and is useful for accessing the field via an interface.

type UpdateChatUpdateChatParticipants added in v1.6.0

type UpdateChatUpdateChatParticipants struct {
	Participant_id string `json:"participant_id"`
	Last_seen      int    `json:"last_seen"`
}

UpdateChatUpdateChatParticipants includes the requested fields of the GraphQL type ChatParticipants.

func (*UpdateChatUpdateChatParticipants) GetLast_seen added in v1.6.0

func (v *UpdateChatUpdateChatParticipants) GetLast_seen() int

GetLast_seen returns UpdateChatUpdateChatParticipants.Last_seen, and is useful for accessing the field via an interface.

func (*UpdateChatUpdateChatParticipants) GetParticipant_id added in v1.6.0

func (v *UpdateChatUpdateChatParticipants) GetParticipant_id() string

GetParticipant_id returns UpdateChatUpdateChatParticipants.Participant_id, and is useful for accessing the field via an interface.

type UpdateDemoAccountResponse added in v1.3.0

type UpdateDemoAccountResponse struct {
	UpdateDemoAccount UpdateDemoAccountUpdateDemoAccount `json:"updateDemoAccount"`
}

UpdateDemoAccountResponse is returned by UpdateDemoAccount on success.

func UpdateDemoAccount added in v1.3.0

func UpdateDemoAccount(
	ctx context.Context,
	client graphql.Client,
	id string,
	email string,
	password string,
) (*UpdateDemoAccountResponse, error)

func (*UpdateDemoAccountResponse) GetUpdateDemoAccount added in v1.3.0

GetUpdateDemoAccount returns UpdateDemoAccountResponse.UpdateDemoAccount, and is useful for accessing the field via an interface.

type UpdateDemoAccountUpdateDemoAccount added in v1.3.0

type UpdateDemoAccountUpdateDemoAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

UpdateDemoAccountUpdateDemoAccount includes the requested fields of the GraphQL type DemoAccount.

func (*UpdateDemoAccountUpdateDemoAccount) GetEmail added in v1.3.0

GetEmail returns UpdateDemoAccountUpdateDemoAccount.Email, and is useful for accessing the field via an interface.

func (*UpdateDemoAccountUpdateDemoAccount) GetId added in v1.3.0

GetId returns UpdateDemoAccountUpdateDemoAccount.Id, and is useful for accessing the field via an interface.

func (*UpdateDemoAccountUpdateDemoAccount) GetPassword added in v1.3.0

func (v *UpdateDemoAccountUpdateDemoAccount) GetPassword() string

GetPassword returns UpdateDemoAccountUpdateDemoAccount.Password, and is useful for accessing the field via an interface.

type UpdateDiseaseResponse added in v1.3.0

type UpdateDiseaseResponse struct {
	UpdateDisease UpdateDiseaseUpdateDisease `json:"updateDisease"`
}

UpdateDiseaseResponse is returned by UpdateDisease on success.

func UpdateDisease added in v1.3.0

func UpdateDisease(
	ctx context.Context,
	client graphql.Client,
	id string,
	code string,
	name string,
	symptoms []string,
	symptoms_weight []SymptomsWeightInput,
	overweight_factor float64,
	advice string,
) (*UpdateDiseaseResponse, error)

func (*UpdateDiseaseResponse) GetUpdateDisease added in v1.3.0

func (v *UpdateDiseaseResponse) GetUpdateDisease() UpdateDiseaseUpdateDisease

GetUpdateDisease returns UpdateDiseaseResponse.UpdateDisease, and is useful for accessing the field via an interface.

type UpdateDiseaseUpdateDisease added in v1.3.0

type UpdateDiseaseUpdateDisease struct {
	Id                string                                                    `json:"id"`
	Code              string                                                    `json:"code"`
	Name              string                                                    `json:"name"`
	Symptoms          []string                                                  `json:"symptoms"`
	Symptoms_weight   []UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight `json:"symptoms_weight"`
	Overweight_factor float64                                                   `json:"overweight_factor"`
	Advice            string                                                    `json:"advice"`
}

UpdateDiseaseUpdateDisease includes the requested fields of the GraphQL type Disease.

func (*UpdateDiseaseUpdateDisease) GetAdvice added in v1.3.0

func (v *UpdateDiseaseUpdateDisease) GetAdvice() string

GetAdvice returns UpdateDiseaseUpdateDisease.Advice, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDisease) GetCode added in v1.3.0

func (v *UpdateDiseaseUpdateDisease) GetCode() string

GetCode returns UpdateDiseaseUpdateDisease.Code, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDisease) GetId added in v1.3.0

GetId returns UpdateDiseaseUpdateDisease.Id, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDisease) GetName added in v1.3.0

func (v *UpdateDiseaseUpdateDisease) GetName() string

GetName returns UpdateDiseaseUpdateDisease.Name, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDisease) GetOverweight_factor added in v1.6.2

func (v *UpdateDiseaseUpdateDisease) GetOverweight_factor() float64

GetOverweight_factor returns UpdateDiseaseUpdateDisease.Overweight_factor, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDisease) GetSymptoms added in v1.3.0

func (v *UpdateDiseaseUpdateDisease) GetSymptoms() []string

GetSymptoms returns UpdateDiseaseUpdateDisease.Symptoms, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDisease) GetSymptoms_weight added in v1.5.7

GetSymptoms_weight returns UpdateDiseaseUpdateDisease.Symptoms_weight, and is useful for accessing the field via an interface.

type UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight added in v1.5.7

type UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight struct {
	Symptom string  `json:"symptom"`
	Value   float64 `json:"value"`
	Chronic bool    `json:"chronic"`
}

UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight includes the requested fields of the GraphQL type SymptomsWeight.

func (*UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight) GetChronic added in v1.5.14

GetChronic returns UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight.Chronic, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight) GetSymptom added in v1.5.7

GetSymptom returns UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight.Symptom, and is useful for accessing the field via an interface.

func (*UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight) GetValue added in v1.5.7

GetValue returns UpdateDiseaseUpdateDiseaseSymptoms_weightSymptomsWeight.Value, and is useful for accessing the field via an interface.

type UpdateDoctorResponse added in v1.3.0

type UpdateDoctorResponse struct {
	UpdateDoctor UpdateDoctorUpdateDoctor `json:"updateDoctor"`
}

UpdateDoctorResponse is returned by UpdateDoctor on success.

func UpdateDoctor added in v1.3.0

func UpdateDoctor(
	ctx context.Context,
	client graphql.Client,
	id string,
	email string,
	password string,
	name string,
	firstname string,
	rendez_vous_ids []string,
	patient_ids []string,
	address AddressInput,
	chat_ids []string,
) (*UpdateDoctorResponse, error)

func (*UpdateDoctorResponse) GetUpdateDoctor added in v1.3.0

func (v *UpdateDoctorResponse) GetUpdateDoctor() UpdateDoctorUpdateDoctor

GetUpdateDoctor returns UpdateDoctorResponse.UpdateDoctor, and is useful for accessing the field via an interface.

type UpdateDoctorUpdateDoctor added in v1.3.0

type UpdateDoctorUpdateDoctor struct {
	Id              string                          `json:"id"`
	Email           string                          `json:"email"`
	Password        string                          `json:"password"`
	Name            string                          `json:"name"`
	Firstname       string                          `json:"firstname"`
	Rendez_vous_ids []string                        `json:"rendez_vous_ids"`
	Patient_ids     []string                        `json:"patient_ids"`
	Chat_ids        []string                        `json:"chat_ids"`
	Address         UpdateDoctorUpdateDoctorAddress `json:"address"`
}

UpdateDoctorUpdateDoctor includes the requested fields of the GraphQL type Doctor.

func (*UpdateDoctorUpdateDoctor) GetAddress added in v1.3.2

GetAddress returns UpdateDoctorUpdateDoctor.Address, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetChat_ids added in v1.6.0

func (v *UpdateDoctorUpdateDoctor) GetChat_ids() []string

GetChat_ids returns UpdateDoctorUpdateDoctor.Chat_ids, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetEmail added in v1.3.0

func (v *UpdateDoctorUpdateDoctor) GetEmail() string

GetEmail returns UpdateDoctorUpdateDoctor.Email, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetFirstname added in v1.3.2

func (v *UpdateDoctorUpdateDoctor) GetFirstname() string

GetFirstname returns UpdateDoctorUpdateDoctor.Firstname, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetId added in v1.3.0

func (v *UpdateDoctorUpdateDoctor) GetId() string

GetId returns UpdateDoctorUpdateDoctor.Id, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetName added in v1.3.2

func (v *UpdateDoctorUpdateDoctor) GetName() string

GetName returns UpdateDoctorUpdateDoctor.Name, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetPassword added in v1.3.0

func (v *UpdateDoctorUpdateDoctor) GetPassword() string

GetPassword returns UpdateDoctorUpdateDoctor.Password, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetPatient_ids added in v1.3.0

func (v *UpdateDoctorUpdateDoctor) GetPatient_ids() []string

GetPatient_ids returns UpdateDoctorUpdateDoctor.Patient_ids, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctor) GetRendez_vous_ids added in v1.3.0

func (v *UpdateDoctorUpdateDoctor) GetRendez_vous_ids() []string

GetRendez_vous_ids returns UpdateDoctorUpdateDoctor.Rendez_vous_ids, and is useful for accessing the field via an interface.

type UpdateDoctorUpdateDoctorAddress added in v1.3.2

type UpdateDoctorUpdateDoctorAddress struct {
	Street   string `json:"street"`
	Zip_code string `json:"zip_code"`
	Country  string `json:"country"`
}

UpdateDoctorUpdateDoctorAddress includes the requested fields of the GraphQL type Address.

func (*UpdateDoctorUpdateDoctorAddress) GetCountry added in v1.3.2

func (v *UpdateDoctorUpdateDoctorAddress) GetCountry() string

GetCountry returns UpdateDoctorUpdateDoctorAddress.Country, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctorAddress) GetStreet added in v1.3.2

func (v *UpdateDoctorUpdateDoctorAddress) GetStreet() string

GetStreet returns UpdateDoctorUpdateDoctorAddress.Street, and is useful for accessing the field via an interface.

func (*UpdateDoctorUpdateDoctorAddress) GetZip_code added in v1.3.2

func (v *UpdateDoctorUpdateDoctorAddress) GetZip_code() string

GetZip_code returns UpdateDoctorUpdateDoctorAddress.Zip_code, and is useful for accessing the field via an interface.

type UpdateDocumentResponse added in v1.3.0

type UpdateDocumentResponse struct {
	UpdateDocument UpdateDocumentUpdateDocument `json:"updateDocument"`
}

UpdateDocumentResponse is returned by UpdateDocument on success.

func UpdateDocument added in v1.3.0

func UpdateDocument(
	ctx context.Context,
	client graphql.Client,
	id string,
	name string,
	is_favorite bool,
) (*UpdateDocumentResponse, error)

func (*UpdateDocumentResponse) GetUpdateDocument added in v1.3.0

GetUpdateDocument returns UpdateDocumentResponse.UpdateDocument, and is useful for accessing the field via an interface.

type UpdateDocumentUpdateDocument added in v1.3.0

type UpdateDocumentUpdateDocument struct {
	Id            string       `json:"id"`
	Owner_id      string       `json:"owner_id"`
	Name          string       `json:"name"`
	Document_type DocumentType `json:"document_type"`
	Category      Category     `json:"category"`
	Is_favorite   bool         `json:"is_favorite"`
	Download_url  string       `json:"download_url"`
}

UpdateDocumentUpdateDocument includes the requested fields of the GraphQL type Document.

func (*UpdateDocumentUpdateDocument) GetCategory added in v1.3.0

func (v *UpdateDocumentUpdateDocument) GetCategory() Category

GetCategory returns UpdateDocumentUpdateDocument.Category, and is useful for accessing the field via an interface.

func (*UpdateDocumentUpdateDocument) GetDocument_type added in v1.3.0

func (v *UpdateDocumentUpdateDocument) GetDocument_type() DocumentType

GetDocument_type returns UpdateDocumentUpdateDocument.Document_type, and is useful for accessing the field via an interface.

func (*UpdateDocumentUpdateDocument) GetDownload_url added in v1.3.0

func (v *UpdateDocumentUpdateDocument) GetDownload_url() string

GetDownload_url returns UpdateDocumentUpdateDocument.Download_url, and is useful for accessing the field via an interface.

func (*UpdateDocumentUpdateDocument) GetId added in v1.3.0

GetId returns UpdateDocumentUpdateDocument.Id, and is useful for accessing the field via an interface.

func (*UpdateDocumentUpdateDocument) GetIs_favorite added in v1.3.0

func (v *UpdateDocumentUpdateDocument) GetIs_favorite() bool

GetIs_favorite returns UpdateDocumentUpdateDocument.Is_favorite, and is useful for accessing the field via an interface.

func (*UpdateDocumentUpdateDocument) GetName added in v1.3.0

func (v *UpdateDocumentUpdateDocument) GetName() string

GetName returns UpdateDocumentUpdateDocument.Name, and is useful for accessing the field via an interface.

func (*UpdateDocumentUpdateDocument) GetOwner_id added in v1.3.0

func (v *UpdateDocumentUpdateDocument) GetOwner_id() string

GetOwner_id returns UpdateDocumentUpdateDocument.Owner_id, and is useful for accessing the field via an interface.

type UpdateMedicalFolderResponse added in v1.3.2

type UpdateMedicalFolderResponse struct {
	UpdateMedicalFolder UpdateMedicalFolderUpdateMedicalFolderMedicalInfo `json:"updateMedicalFolder"`
}

UpdateMedicalFolderResponse is returned by UpdateMedicalFolder on success.

func UpdateMedicalFolder added in v1.3.2

func UpdateMedicalFolder(
	ctx context.Context,
	client graphql.Client,
	id string,
	name string,
	firstname string,
	birthdate int,
	sex string,
	height int,
	weight int,
	primary_doctor_id string,
	antecedent_disease_ids []string,
	onboarding_status OnboardingStatus,
) (*UpdateMedicalFolderResponse, error)

func (*UpdateMedicalFolderResponse) GetUpdateMedicalFolder added in v1.3.2

GetUpdateMedicalFolder returns UpdateMedicalFolderResponse.UpdateMedicalFolder, and is useful for accessing the field via an interface.

type UpdateMedicalFolderUpdateMedicalFolderMedicalInfo added in v1.3.2

type UpdateMedicalFolderUpdateMedicalFolderMedicalInfo struct {
	Id                     string           `json:"id"`
	Name                   string           `json:"name"`
	Firstname              string           `json:"firstname"`
	Birthdate              int              `json:"birthdate"`
	Sex                    Sex              `json:"sex"`
	Height                 int              `json:"height"`
	Weight                 int              `json:"weight"`
	Primary_doctor_id      string           `json:"primary_doctor_id"`
	Antecedent_disease_ids []string         `json:"antecedent_disease_ids"`
	Onboarding_status      OnboardingStatus `json:"onboarding_status"`
}

UpdateMedicalFolderUpdateMedicalFolderMedicalInfo includes the requested fields of the GraphQL type MedicalInfo.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetAntecedent_disease_ids added in v1.5.0

func (v *UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetAntecedent_disease_ids() []string

GetAntecedent_disease_ids returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Antecedent_disease_ids, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetBirthdate added in v1.3.2

GetBirthdate returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Birthdate, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetFirstname added in v1.3.2

GetFirstname returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Firstname, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetHeight added in v1.3.2

GetHeight returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Height, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetId added in v1.3.2

GetId returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Id, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetName added in v1.3.2

GetName returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Name, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetOnboarding_status added in v1.3.2

GetOnboarding_status returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Onboarding_status, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetPrimary_doctor_id added in v1.3.2

GetPrimary_doctor_id returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Primary_doctor_id, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetSex added in v1.3.2

GetSex returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Sex, and is useful for accessing the field via an interface.

func (*UpdateMedicalFolderUpdateMedicalFolderMedicalInfo) GetWeight added in v1.3.2

GetWeight returns UpdateMedicalFolderUpdateMedicalFolderMedicalInfo.Weight, and is useful for accessing the field via an interface.

type UpdateNotificationResponse added in v1.3.0

type UpdateNotificationResponse struct {
	UpdateNotification UpdateNotificationUpdateNotification `json:"updateNotification"`
}

UpdateNotificationResponse is returned by UpdateNotification on success.

func UpdateNotification added in v1.3.0

func UpdateNotification(
	ctx context.Context,
	client graphql.Client,
	id string,
	token string,
	message string,
	title string,
) (*UpdateNotificationResponse, error)

func (*UpdateNotificationResponse) GetUpdateNotification added in v1.3.0

GetUpdateNotification returns UpdateNotificationResponse.UpdateNotification, and is useful for accessing the field via an interface.

type UpdateNotificationUpdateNotification added in v1.3.0

type UpdateNotificationUpdateNotification struct {
	Id      string `json:"id"`
	Token   string `json:"token"`
	Title   string `json:"title"`
	Message string `json:"message"`
}

UpdateNotificationUpdateNotification includes the requested fields of the GraphQL type Notification.

func (*UpdateNotificationUpdateNotification) GetId added in v1.3.0

GetId returns UpdateNotificationUpdateNotification.Id, and is useful for accessing the field via an interface.

func (*UpdateNotificationUpdateNotification) GetMessage added in v1.3.0

GetMessage returns UpdateNotificationUpdateNotification.Message, and is useful for accessing the field via an interface.

func (*UpdateNotificationUpdateNotification) GetTitle added in v1.3.0

GetTitle returns UpdateNotificationUpdateNotification.Title, and is useful for accessing the field via an interface.

func (*UpdateNotificationUpdateNotification) GetToken added in v1.3.0

GetToken returns UpdateNotificationUpdateNotification.Token, and is useful for accessing the field via an interface.

type UpdatePatientResponse added in v1.3.0

type UpdatePatientResponse struct {
	UpdatePatient UpdatePatientUpdatePatient `json:"updatePatient"`
}

UpdatePatientResponse is returned by UpdatePatient on success.

func UpdatePatient added in v1.1.0

func UpdatePatient(
	ctx context.Context,
	client graphql.Client,
	id string,
	email string,
	password string,
	medical_info_id string,
	rendez_vous_ids []string,
	document_ids []string,
	treatment_follow_up_ids []string,
	chat_ids []string,
) (*UpdatePatientResponse, error)

func (*UpdatePatientResponse) GetUpdatePatient added in v1.3.0

func (v *UpdatePatientResponse) GetUpdatePatient() UpdatePatientUpdatePatient

GetUpdatePatient returns UpdatePatientResponse.UpdatePatient, and is useful for accessing the field via an interface.

type UpdatePatientUpdatePatient added in v1.3.0

type UpdatePatientUpdatePatient struct {
	Id                      string   `json:"id"`
	Email                   string   `json:"email"`
	Password                string   `json:"password"`
	Rendez_vous_ids         []string `json:"rendez_vous_ids"`
	Medical_info_id         string   `json:"medical_info_id"`
	Document_ids            []string `json:"document_ids"`
	Treatment_follow_up_ids []string `json:"treatment_follow_up_ids"`
	Chat_ids                []string `json:"chat_ids"`
}

UpdatePatientUpdatePatient includes the requested fields of the GraphQL type Patient.

func (*UpdatePatientUpdatePatient) GetChat_ids added in v1.6.0

func (v *UpdatePatientUpdatePatient) GetChat_ids() []string

GetChat_ids returns UpdatePatientUpdatePatient.Chat_ids, and is useful for accessing the field via an interface.

func (*UpdatePatientUpdatePatient) GetDocument_ids added in v1.3.0

func (v *UpdatePatientUpdatePatient) GetDocument_ids() []string

GetDocument_ids returns UpdatePatientUpdatePatient.Document_ids, and is useful for accessing the field via an interface.

func (*UpdatePatientUpdatePatient) GetEmail added in v1.3.0

func (v *UpdatePatientUpdatePatient) GetEmail() string

GetEmail returns UpdatePatientUpdatePatient.Email, and is useful for accessing the field via an interface.

func (*UpdatePatientUpdatePatient) GetId added in v1.3.0

GetId returns UpdatePatientUpdatePatient.Id, and is useful for accessing the field via an interface.

func (*UpdatePatientUpdatePatient) GetMedical_info_id added in v1.3.2

func (v *UpdatePatientUpdatePatient) GetMedical_info_id() string

GetMedical_info_id returns UpdatePatientUpdatePatient.Medical_info_id, and is useful for accessing the field via an interface.

func (*UpdatePatientUpdatePatient) GetPassword added in v1.3.0

func (v *UpdatePatientUpdatePatient) GetPassword() string

GetPassword returns UpdatePatientUpdatePatient.Password, and is useful for accessing the field via an interface.

func (*UpdatePatientUpdatePatient) GetRendez_vous_ids added in v1.3.0

func (v *UpdatePatientUpdatePatient) GetRendez_vous_ids() []string

GetRendez_vous_ids returns UpdatePatientUpdatePatient.Rendez_vous_ids, and is useful for accessing the field via an interface.

func (*UpdatePatientUpdatePatient) GetTreatment_follow_up_ids added in v1.5.1

func (v *UpdatePatientUpdatePatient) GetTreatment_follow_up_ids() []string

GetTreatment_follow_up_ids returns UpdatePatientUpdatePatient.Treatment_follow_up_ids, and is useful for accessing the field via an interface.

type UpdateRdvResponse added in v1.3.0

type UpdateRdvResponse struct {
	UpdateRdv UpdateRdvUpdateRdv `json:"updateRdv"`
}

UpdateRdvResponse is returned by UpdateRdv on success.

func UpdateRdv added in v1.1.0

func UpdateRdv(
	ctx context.Context,
	client graphql.Client,
	id string,
	id_patient string,
	doctor_id string,
	start_date int,
	end_date int,
	cancelation_reason string,
	appointment_status AppointmentStatus,
	session_id string,
	health_method string,
) (*UpdateRdvResponse, error)

func (*UpdateRdvResponse) GetUpdateRdv added in v1.3.0

func (v *UpdateRdvResponse) GetUpdateRdv() UpdateRdvUpdateRdv

GetUpdateRdv returns UpdateRdvResponse.UpdateRdv, and is useful for accessing the field via an interface.

type UpdateRdvUpdateRdv added in v1.3.0

type UpdateRdvUpdateRdv struct {
	Id                 string            `json:"id"`
	Doctor_id          string            `json:"doctor_id"`
	Id_patient         string            `json:"id_patient"`
	Start_date         int               `json:"start_date"`
	End_date           int               `json:"end_date"`
	Cancelation_reason string            `json:"cancelation_reason"`
	Appointment_status AppointmentStatus `json:"appointment_status"`
	Session_id         string            `json:"session_id"`
	Health_method      string            `json:"health_method"`
}

UpdateRdvUpdateRdv includes the requested fields of the GraphQL type Rdv.

func (*UpdateRdvUpdateRdv) GetAppointment_status added in v1.4.0

func (v *UpdateRdvUpdateRdv) GetAppointment_status() AppointmentStatus

GetAppointment_status returns UpdateRdvUpdateRdv.Appointment_status, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetCancelation_reason added in v1.3.0

func (v *UpdateRdvUpdateRdv) GetCancelation_reason() string

GetCancelation_reason returns UpdateRdvUpdateRdv.Cancelation_reason, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetDoctor_id added in v1.3.0

func (v *UpdateRdvUpdateRdv) GetDoctor_id() string

GetDoctor_id returns UpdateRdvUpdateRdv.Doctor_id, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetEnd_date added in v1.3.0

func (v *UpdateRdvUpdateRdv) GetEnd_date() int

GetEnd_date returns UpdateRdvUpdateRdv.End_date, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetHealth_method added in v1.7.0

func (v *UpdateRdvUpdateRdv) GetHealth_method() string

GetHealth_method returns UpdateRdvUpdateRdv.Health_method, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetId added in v1.3.0

func (v *UpdateRdvUpdateRdv) GetId() string

GetId returns UpdateRdvUpdateRdv.Id, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetId_patient added in v1.3.0

func (v *UpdateRdvUpdateRdv) GetId_patient() string

GetId_patient returns UpdateRdvUpdateRdv.Id_patient, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetSession_id added in v1.4.2

func (v *UpdateRdvUpdateRdv) GetSession_id() string

GetSession_id returns UpdateRdvUpdateRdv.Session_id, and is useful for accessing the field via an interface.

func (*UpdateRdvUpdateRdv) GetStart_date added in v1.3.0

func (v *UpdateRdvUpdateRdv) GetStart_date() int

GetStart_date returns UpdateRdvUpdateRdv.Start_date, and is useful for accessing the field via an interface.

type UpdateSessionResponse added in v1.3.0

type UpdateSessionResponse struct {
	UpdateSession UpdateSessionUpdateSession `json:"updateSession"`
}

UpdateSessionResponse is returned by UpdateSession on success.

func UpdateSession added in v1.0.0

func UpdateSession(
	ctx context.Context,
	client graphql.Client,
	id string,
	diseases []SessionDiseasesInput,
	symptoms []SessionSymptomInput,
	age int,
	height int,
	weight int,
	sex string,
	ante_chirs []string,
	ante_diseases []string,
	medicine []string,
	last_question string,
	logs []LogsInput,
	alerts []string,
) (*UpdateSessionResponse, error)

func (*UpdateSessionResponse) GetUpdateSession added in v1.3.0

func (v *UpdateSessionResponse) GetUpdateSession() UpdateSessionUpdateSession

GetUpdateSession returns UpdateSessionResponse.UpdateSession, and is useful for accessing the field via an interface.

type UpdateSessionUpdateSession added in v1.3.0

type UpdateSessionUpdateSession struct {
	Id            string                                             `json:"id"`
	Diseases      []UpdateSessionUpdateSessionDiseases               `json:"diseases"`
	Symptoms      []UpdateSessionUpdateSessionSymptomsSessionSymptom `json:"symptoms"`
	Age           int                                                `json:"age"`
	Height        int                                                `json:"height"`
	Weight        int                                                `json:"weight"`
	Sex           string                                             `json:"sex"`
	Ante_chirs    []string                                           `json:"ante_chirs"`
	Ante_diseases []string                                           `json:"ante_diseases"`
	Medicine      []string                                           `json:"medicine"`
	Last_question string                                             `json:"last_question"`
	Logs          []UpdateSessionUpdateSessionLogs                   `json:"logs"`
	Alerts        []string                                           `json:"alerts"`
}

UpdateSessionUpdateSession includes the requested fields of the GraphQL type Session.

func (*UpdateSessionUpdateSession) GetAge added in v1.3.0

func (v *UpdateSessionUpdateSession) GetAge() int

GetAge returns UpdateSessionUpdateSession.Age, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetAlerts added in v1.3.0

func (v *UpdateSessionUpdateSession) GetAlerts() []string

GetAlerts returns UpdateSessionUpdateSession.Alerts, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetAnte_chirs added in v1.4.6

func (v *UpdateSessionUpdateSession) GetAnte_chirs() []string

GetAnte_chirs returns UpdateSessionUpdateSession.Ante_chirs, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetAnte_diseases added in v1.4.6

func (v *UpdateSessionUpdateSession) GetAnte_diseases() []string

GetAnte_diseases returns UpdateSessionUpdateSession.Ante_diseases, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetDiseases added in v1.4.6

GetDiseases returns UpdateSessionUpdateSession.Diseases, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetHeight added in v1.3.0

func (v *UpdateSessionUpdateSession) GetHeight() int

GetHeight returns UpdateSessionUpdateSession.Height, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetId added in v1.3.0

GetId returns UpdateSessionUpdateSession.Id, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetLast_question added in v1.3.0

func (v *UpdateSessionUpdateSession) GetLast_question() string

GetLast_question returns UpdateSessionUpdateSession.Last_question, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetLogs added in v1.3.0

GetLogs returns UpdateSessionUpdateSession.Logs, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetMedicine added in v1.5.1

func (v *UpdateSessionUpdateSession) GetMedicine() []string

GetMedicine returns UpdateSessionUpdateSession.Medicine, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetSex added in v1.3.0

func (v *UpdateSessionUpdateSession) GetSex() string

GetSex returns UpdateSessionUpdateSession.Sex, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetSymptoms added in v1.3.0

GetSymptoms returns UpdateSessionUpdateSession.Symptoms, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSession) GetWeight added in v1.3.0

func (v *UpdateSessionUpdateSession) GetWeight() int

GetWeight returns UpdateSessionUpdateSession.Weight, and is useful for accessing the field via an interface.

type UpdateSessionUpdateSessionDiseases added in v1.4.6

type UpdateSessionUpdateSessionDiseases struct {
	Name     string  `json:"name"`
	Presence float64 `json:"presence"`
}

UpdateSessionUpdateSessionDiseases includes the requested fields of the GraphQL type SessionDiseases.

func (*UpdateSessionUpdateSessionDiseases) GetName added in v1.4.6

GetName returns UpdateSessionUpdateSessionDiseases.Name, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSessionDiseases) GetPresence added in v1.4.6

GetPresence returns UpdateSessionUpdateSessionDiseases.Presence, and is useful for accessing the field via an interface.

type UpdateSessionUpdateSessionLogs added in v1.3.0

type UpdateSessionUpdateSessionLogs struct {
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

UpdateSessionUpdateSessionLogs includes the requested fields of the GraphQL type Logs.

func (*UpdateSessionUpdateSessionLogs) GetAnswer added in v1.3.0

func (v *UpdateSessionUpdateSessionLogs) GetAnswer() string

GetAnswer returns UpdateSessionUpdateSessionLogs.Answer, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSessionLogs) GetQuestion added in v1.3.0

func (v *UpdateSessionUpdateSessionLogs) GetQuestion() string

GetQuestion returns UpdateSessionUpdateSessionLogs.Question, and is useful for accessing the field via an interface.

type UpdateSessionUpdateSessionSymptomsSessionSymptom added in v1.3.4

type UpdateSessionUpdateSessionSymptomsSessionSymptom struct {
	Name     string   `json:"name"`
	Presence bool     `json:"presence"`
	Duration int      `json:"duration"`
	Treated  []string `json:"treated"`
}

UpdateSessionUpdateSessionSymptomsSessionSymptom includes the requested fields of the GraphQL type SessionSymptom.

func (*UpdateSessionUpdateSessionSymptomsSessionSymptom) GetDuration added in v1.3.4

GetDuration returns UpdateSessionUpdateSessionSymptomsSessionSymptom.Duration, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSessionSymptomsSessionSymptom) GetName added in v1.3.4

GetName returns UpdateSessionUpdateSessionSymptomsSessionSymptom.Name, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSessionSymptomsSessionSymptom) GetPresence added in v1.3.4

GetPresence returns UpdateSessionUpdateSessionSymptomsSessionSymptom.Presence, and is useful for accessing the field via an interface.

func (*UpdateSessionUpdateSessionSymptomsSessionSymptom) GetTreated added in v1.5.1

GetTreated returns UpdateSessionUpdateSessionSymptomsSessionSymptom.Treated, and is useful for accessing the field via an interface.

type UpdateSymptomResponse added in v1.3.0

type UpdateSymptomResponse struct {
	UpdateSymptom UpdateSymptomUpdateSymptom `json:"updateSymptom"`
}

UpdateSymptomResponse is returned by UpdateSymptom on success.

func UpdateSymptom added in v1.3.0

func UpdateSymptom(
	ctx context.Context,
	client graphql.Client,
	id string,
	code string,
	name string,
	chronic int,
	symptom []string,
	advice string,
	question string,
	question_basic string,
	question_duration string,
	question_ante string,
) (*UpdateSymptomResponse, error)

func (*UpdateSymptomResponse) GetUpdateSymptom added in v1.3.0

func (v *UpdateSymptomResponse) GetUpdateSymptom() UpdateSymptomUpdateSymptom

GetUpdateSymptom returns UpdateSymptomResponse.UpdateSymptom, and is useful for accessing the field via an interface.

type UpdateSymptomUpdateSymptom added in v1.3.0

type UpdateSymptomUpdateSymptom struct {
	Id                string   `json:"id"`
	Code              string   `json:"code"`
	Name              string   `json:"name"`
	Chronic           int      `json:"chronic"`
	Symptom           []string `json:"symptom"`
	Advice            string   `json:"advice"`
	Question          string   `json:"question"`
	Question_basic    string   `json:"question_basic"`
	Question_duration string   `json:"question_duration"`
	Question_ante     string   `json:"question_ante"`
}

UpdateSymptomUpdateSymptom includes the requested fields of the GraphQL type Symptom.

func (*UpdateSymptomUpdateSymptom) GetAdvice added in v1.3.0

func (v *UpdateSymptomUpdateSymptom) GetAdvice() string

GetAdvice returns UpdateSymptomUpdateSymptom.Advice, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetChronic added in v1.3.0

func (v *UpdateSymptomUpdateSymptom) GetChronic() int

GetChronic returns UpdateSymptomUpdateSymptom.Chronic, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetCode added in v1.3.0

func (v *UpdateSymptomUpdateSymptom) GetCode() string

GetCode returns UpdateSymptomUpdateSymptom.Code, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetId added in v1.3.0

GetId returns UpdateSymptomUpdateSymptom.Id, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetName added in v1.3.0

func (v *UpdateSymptomUpdateSymptom) GetName() string

GetName returns UpdateSymptomUpdateSymptom.Name, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetQuestion added in v1.3.0

func (v *UpdateSymptomUpdateSymptom) GetQuestion() string

GetQuestion returns UpdateSymptomUpdateSymptom.Question, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetQuestion_ante added in v1.5.13

func (v *UpdateSymptomUpdateSymptom) GetQuestion_ante() string

GetQuestion_ante returns UpdateSymptomUpdateSymptom.Question_ante, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetQuestion_basic added in v1.5.13

func (v *UpdateSymptomUpdateSymptom) GetQuestion_basic() string

GetQuestion_basic returns UpdateSymptomUpdateSymptom.Question_basic, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetQuestion_duration added in v1.5.13

func (v *UpdateSymptomUpdateSymptom) GetQuestion_duration() string

GetQuestion_duration returns UpdateSymptomUpdateSymptom.Question_duration, and is useful for accessing the field via an interface.

func (*UpdateSymptomUpdateSymptom) GetSymptom added in v1.3.0

func (v *UpdateSymptomUpdateSymptom) GetSymptom() []string

GetSymptom returns UpdateSymptomUpdateSymptom.Symptom, and is useful for accessing the field via an interface.

type UpdateTestAccountResponse added in v1.3.0

type UpdateTestAccountResponse struct {
	UpdateTestAccount UpdateTestAccountUpdateTestAccount `json:"updateTestAccount"`
}

UpdateTestAccountResponse is returned by UpdateTestAccount on success.

func UpdateTestAccount added in v1.3.0

func UpdateTestAccount(
	ctx context.Context,
	client graphql.Client,
	id string,
	email string,
	password string,
) (*UpdateTestAccountResponse, error)

func (*UpdateTestAccountResponse) GetUpdateTestAccount added in v1.3.0

GetUpdateTestAccount returns UpdateTestAccountResponse.UpdateTestAccount, and is useful for accessing the field via an interface.

type UpdateTestAccountUpdateTestAccount added in v1.3.0

type UpdateTestAccountUpdateTestAccount struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

UpdateTestAccountUpdateTestAccount includes the requested fields of the GraphQL type TestAccount.

func (*UpdateTestAccountUpdateTestAccount) GetEmail added in v1.3.0

GetEmail returns UpdateTestAccountUpdateTestAccount.Email, and is useful for accessing the field via an interface.

func (*UpdateTestAccountUpdateTestAccount) GetId added in v1.3.0

GetId returns UpdateTestAccountUpdateTestAccount.Id, and is useful for accessing the field via an interface.

func (*UpdateTestAccountUpdateTestAccount) GetPassword added in v1.3.0

func (v *UpdateTestAccountUpdateTestAccount) GetPassword() string

GetPassword returns UpdateTestAccountUpdateTestAccount.Password, and is useful for accessing the field via an interface.

type UpdateTreatmentResponse added in v1.3.0

type UpdateTreatmentResponse struct {
	UpdateTreatment UpdateTreatmentUpdateTreatment `json:"updateTreatment"`
}

UpdateTreatmentResponse is returned by UpdateTreatment on success.

func UpdateTreatment added in v1.3.0

func UpdateTreatment(
	ctx context.Context,
	client graphql.Client,
	id string,
	period []Period,
	day []Day,
	quantity int,
	medicine_id string,
) (*UpdateTreatmentResponse, error)

func (*UpdateTreatmentResponse) GetUpdateTreatment added in v1.3.0

GetUpdateTreatment returns UpdateTreatmentResponse.UpdateTreatment, and is useful for accessing the field via an interface.

type UpdateTreatmentUpdateTreatment added in v1.3.0

type UpdateTreatmentUpdateTreatment struct {
	Id          string   `json:"id"`
	Period      []Period `json:"period"`
	Day         []Day    `json:"day"`
	Quantity    int      `json:"quantity"`
	Medicine_id string   `json:"medicine_id"`
}

UpdateTreatmentUpdateTreatment includes the requested fields of the GraphQL type Treatment.

func (*UpdateTreatmentUpdateTreatment) GetDay added in v1.5.0

func (v *UpdateTreatmentUpdateTreatment) GetDay() []Day

GetDay returns UpdateTreatmentUpdateTreatment.Day, and is useful for accessing the field via an interface.

func (*UpdateTreatmentUpdateTreatment) GetId added in v1.3.0

GetId returns UpdateTreatmentUpdateTreatment.Id, and is useful for accessing the field via an interface.

func (*UpdateTreatmentUpdateTreatment) GetMedicine_id added in v1.5.0

func (v *UpdateTreatmentUpdateTreatment) GetMedicine_id() string

GetMedicine_id returns UpdateTreatmentUpdateTreatment.Medicine_id, and is useful for accessing the field via an interface.

func (*UpdateTreatmentUpdateTreatment) GetPeriod added in v1.5.0

func (v *UpdateTreatmentUpdateTreatment) GetPeriod() []Period

GetPeriod returns UpdateTreatmentUpdateTreatment.Period, and is useful for accessing the field via an interface.

func (*UpdateTreatmentUpdateTreatment) GetQuantity added in v1.5.0

func (v *UpdateTreatmentUpdateTreatment) GetQuantity() int

GetQuantity returns UpdateTreatmentUpdateTreatment.Quantity, and is useful for accessing the field via an interface.

type UpdateTreatmentsFollowUpResponse added in v1.5.1

type UpdateTreatmentsFollowUpResponse struct {
	UpdateTreatmentsFollowUp UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp `json:"updateTreatmentsFollowUp"`
}

UpdateTreatmentsFollowUpResponse is returned by UpdateTreatmentsFollowUp on success.

func UpdateTreatmentsFollowUp added in v1.5.1

func UpdateTreatmentsFollowUp(
	ctx context.Context,
	client graphql.Client,
	id string,
	treatment_id string,
	date int,
	period []Period,
) (*UpdateTreatmentsFollowUpResponse, error)

func (*UpdateTreatmentsFollowUpResponse) GetUpdateTreatmentsFollowUp added in v1.5.1

GetUpdateTreatmentsFollowUp returns UpdateTreatmentsFollowUpResponse.UpdateTreatmentsFollowUp, and is useful for accessing the field via an interface.

type UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp added in v1.5.1

type UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp struct {
	Id           string   `json:"id"`
	Treatment_id string   `json:"treatment_id"`
	Date         int      `json:"date"`
	Period       []Period `json:"period"`
}

UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp includes the requested fields of the GraphQL type TreatmentsFollowUp.

func (*UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp) GetDate added in v1.5.1

GetDate returns UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp.Date, and is useful for accessing the field via an interface.

func (*UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp) GetId added in v1.5.1

GetId returns UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp.Id, and is useful for accessing the field via an interface.

func (*UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp) GetPeriod added in v1.5.1

GetPeriod returns UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp.Period, and is useful for accessing the field via an interface.

func (*UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp) GetTreatment_id added in v1.5.1

GetTreatment_id returns UpdateTreatmentsFollowUpUpdateTreatmentsFollowUp.Treatment_id, and is useful for accessing the field via an interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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