Documentation ¶
Index ¶
- Variables
- type Address
- type AddressInput
- type Admin
- type Alert
- type AnteChir
- type AnteDisease
- type AnteFamily
- type AppointmentStatus
- type BlackList
- type Category
- type Chat
- type ChatMessages
- type ChatMessagesInput
- type ChatParticipants
- type ChatParticipantsInput
- type ChirInducedSymptom
- type ChirInducedSymptomInput
- type CreateAdminInput
- type CreateAlertInput
- type CreateAnteChirInput
- type CreateAnteDiseaseInput
- type CreateAnteFamilyInput
- type CreateBlackListInput
- type CreateChatInput
- type CreateDeviceConnectInput
- type CreateDiseaseInput
- type CreateDoctorInput
- type CreateDocumentInput
- type CreateDoubleAuthInput
- type CreateMedicalFolderInput
- type CreateMedicineInput
- type CreateNlpReportInput
- type CreateNotificationInput
- type CreatePatientInput
- type CreateRdvInput
- type CreateSaveCodeInput
- type CreateSessionInput
- type CreateSymptomInput
- type CreateTreatmentInput
- type CreateTreatmentsFollowUpInput
- type Day
- type DeviceConnect
- type Disease
- type Doctor
- type Document
- type DocumentType
- type DoubleAuth
- type GraphQLError
- type Logs
- type LogsInput
- type MedicalAntecedents
- type MedicalAntecedentsInput
- type MedicalInfo
- type Medicine
- type MedicineInput
- type MedicineUnit
- type Mutation
- type NlpReport
- type NlpReportOutput
- type NlpReportOutputInput
- type Notification
- type OnboardingStatus
- type Options
- type Patient
- type Period
- type Query
- type Rdv
- type SaveCode
- type Session
- type SessionDiseases
- type SessionDiseasesInput
- type SessionSymptom
- type SessionSymptomInput
- type Sex
- type SortOrder
- type SortingOptions
- type Symptom
- type SymptomsWeight
- type SymptomsWeightInput
- type Treatment
- type TreatmentInput
- type TreatmentsFollowUp
- type UpdateAccountMedicalFolder
- type UpdateAdminInput
- type UpdateAlertInput
- type UpdateAnteChirInput
- type UpdateAnteDiseaseInput
- type UpdateAnteFamilyInput
- type UpdateBlackListInput
- type UpdateChatInput
- type UpdateDeviceConnectInput
- type UpdateDiseaseInput
- type UpdateDoctorInput
- type UpdateDoctorsDeviceConnectInput
- type UpdateDoctorsPatientIDsInput
- type UpdateDoctorsTrustDeviceInput
- type UpdateDocumentInput
- type UpdateDoubleAuthInput
- type UpdateMedicalFolderInput
- type UpdateNotificationInput
- type UpdatePatientInput
- type UpdatePatientRendezVousIdsInput
- type UpdatePatientTrustDeviceInput
- type UpdatePatientsDeviceConnectInput
- type UpdateRdvInput
- type UpdateSaveCodeInput
- type UpdateSessionInput
- type UpdateSymptomInput
- type UpdateTreatmentInput
- type UpdateTreatmentsFollowUpInput
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAppointmentStatus = []AppointmentStatus{ AppointmentStatusWaitingForReview, AppointmentStatusAcceptedDueToReview, AppointmentStatusCanceledDueToReview, AppointmentStatusCanceled, AppointmentStatusOpened, }
View Source
var AllCategory = []Category{ CategoryGeneral, CategoryFinance, }
View Source
var AllDay = []Day{ DayMonday, DayTuesday, DayWednesday, DayThursday, DayFriday, DaySaturday, DaySunday, }
View Source
var AllDocumentType = []DocumentType{ DocumentTypeXray, DocumentTypePrescription, DocumentTypeOther, DocumentTypeCertificate, }
View Source
var AllMedicineUnit = []MedicineUnit{ MedicineUnitApplication, MedicineUnitTablet, MedicineUnitTablespoon, MedicineUnitCoffeespoon, }
View Source
var AllOnboardingStatus = []OnboardingStatus{ OnboardingStatusNotStarted, OnboardingStatusInProgress, OnboardingStatusDone, }
View Source
var AllPeriod = []Period{ PeriodMorning, PeriodNoon, PeriodEvening, PeriodNight, }
View Source
var AllSex = []Sex{ SexMale, SexFemale, SexOther, }
View Source
var AllSortOrder = []SortOrder{ SortOrderAsc, SortOrderDesc, }
Functions ¶
This section is empty.
Types ¶
type AddressInput ¶
type Admin ¶
type Admin struct { ID string `json:"id" bson:"_id"` Email string `json:"email" bson:"email"` Password string `json:"password" bson:"password"` Name string `json:"name" bson:"name"` LastName string `json:"last_name" bson:"last_name"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type Alert ¶
type Alert struct { ID string `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` Sex *string `json:"sex,omitempty" bson:"sex"` Height *int `json:"height,omitempty" bson:"height"` Weight *int `json:"weight,omitempty" bson:"weight"` Symptoms []string `json:"symptoms" bson:"symptoms"` Comment string `json:"comment" bson:"comment"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type AnteChir ¶
type AnteChir struct { ID string `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` InducedSymptoms []*ChirInducedSymptom `json:"induced_symptoms,omitempty" bson:"induced_symptoms"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type AnteDisease ¶
type AnteDisease struct { ID string `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` Chronicity float64 `json:"chronicity" bson:"chronicity"` SurgeryIds []string `json:"surgery_ids,omitempty" bson:"surgery_ids"` Symptoms []string `json:"symptoms,omitempty" bson:"symptoms"` TreatmentIds []string `json:"treatment_ids,omitempty" bson:"treatment_ids"` StillRelevant bool `json:"still_relevant" bson:"still_relevant"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type AnteFamily ¶
type AppointmentStatus ¶
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" )
func (AppointmentStatus) IsValid ¶
func (e AppointmentStatus) IsValid() bool
func (AppointmentStatus) MarshalGQL ¶
func (e AppointmentStatus) MarshalGQL(w io.Writer)
func (AppointmentStatus) String ¶
func (e AppointmentStatus) String() string
func (*AppointmentStatus) UnmarshalGQL ¶
func (e *AppointmentStatus) UnmarshalGQL(v interface{}) error
type Chat ¶
type Chat struct { ID string `json:"id" bson:"_id"` Participants []*ChatParticipants `json:"participants" bson:"participants"` Messages []*ChatMessages `json:"messages" bson:"messages"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type ChatMessages ¶
type ChatMessagesInput ¶
type ChatParticipants ¶
type ChatParticipantsInput ¶
type ChirInducedSymptom ¶
type ChirInducedSymptomInput ¶
type CreateAdminInput ¶
type CreateAlertInput ¶
type CreateAlertInput struct { Name string `json:"name" bson:"name"` Sex *string `json:"sex,omitempty" bson:"sex"` Height *int `json:"height,omitempty" bson:"height"` Weight *int `json:"weight,omitempty" bson:"weight"` Symptoms []string `json:"symptoms" bson:"symptoms"` Comment string `json:"comment" bson:"comment"` }
type CreateAnteChirInput ¶
type CreateAnteChirInput struct { Name string `json:"name" bson:"name"` InducedSymptoms []*ChirInducedSymptomInput `json:"induced_symptoms,omitempty" bson:"induced_symptoms"` }
type CreateAnteDiseaseInput ¶
type CreateAnteDiseaseInput struct { Name string `json:"name" bson:"name"` Chronicity *float64 `json:"chronicity,omitempty" bson:"chronicity"` SurgeryIds []string `json:"surgery_ids,omitempty" bson:"surgery_ids"` Symptoms []string `json:"symptoms,omitempty" bson:"symptoms"` TreatmentIds []string `json:"treatment_ids,omitempty" bson:"treatment_ids"` StillRelevant bool `json:"still_relevant" bson:"still_relevant"` }
type CreateAnteFamilyInput ¶
type CreateBlackListInput ¶
type CreateBlackListInput struct {
Token []string `json:"token" bson:"token"`
}
type CreateChatInput ¶
type CreateChatInput struct { Participants []*ChatParticipantsInput `json:"participants" bson:"participants"` Messages []*ChatMessagesInput `json:"messages" bson:"messages"` }
type CreateDeviceConnectInput ¶
type CreateDeviceConnectInput struct { DeviceName string `json:"device_name" bson:"device_name"` IPAddress string `json:"ip_address" bson:"ip_address"` City string `json:"city" bson:"city"` Country string `json:"country" bson:"country"` Date int `json:"date" bson:"date"` TrustDevice bool `json:"trust_device" bson:"trust_device"` }
type CreateDiseaseInput ¶
type CreateDiseaseInput struct { Code string `json:"code" bson:"code"` Name string `json:"name" bson:"name"` Symptoms []string `json:"symptoms" bson:"symptoms"` SymptomsWeight []*SymptomsWeightInput `json:"symptoms_weight,omitempty" bson:"symptoms_weight"` OverweightFactor float64 `json:"overweight_factor" bson:"overweight_factor"` HeredityFactor float64 `json:"heredity_factor" bson:"heredity_factor"` Advice *string `json:"advice,omitempty" bson:"advice"` }
type CreateDoctorInput ¶
type CreateDoctorInput struct { Email string `json:"email" bson:"email"` Password string `json:"password" bson:"password"` Name string `json:"name" bson:"name"` Firstname string `json:"firstname" bson:"firstname"` Address *AddressInput `json:"address" bson:"address"` Status bool `json:"status" bson:"status"` }
type CreateDocumentInput ¶
type CreateDocumentInput struct { OwnerID string `json:"owner_id" bson:"owner_id"` Name string `json:"name" bson:"name"` DocumentType string `json:"document_type" bson:"document_type"` Category string `json:"category" bson:"category"` IsFavorite bool `json:"is_favorite" bson:"is_favorite"` DownloadURL string `json:"download_url" bson:"download_url"` UploaderID string `json:"uploader_id" bson:"uploader_id"` }
type CreateDoubleAuthInput ¶
type CreateMedicalFolderInput ¶
type CreateMedicalFolderInput struct { Name string `json:"name" bson:"name"` Firstname string `json:"firstname" bson:"firstname"` Birthdate int `json:"birthdate" bson:"birthdate"` Sex string `json:"sex" bson:"sex"` Height int `json:"height" bson:"height"` Weight int `json:"weight" bson:"weight"` PrimaryDoctorID string `json:"primary_doctor_id" bson:"primary_doctor_id"` AntecedentDiseaseIds []string `json:"antecedent_disease_ids,omitempty" bson:"antecedent_disease_ids"` OnboardingStatus string `json:"onboarding_status" bson:"onboarding_status"` FamilyMembersMedInfoID []string `json:"family_members_med_info_id" bson:"family_members_med_info_id"` }
type CreateMedicineInput ¶
type CreateMedicineInput struct { Name string `json:"name" bson:"name"` Unit *string `json:"unit,omitempty" bson:"unit"` TargetDiseases []string `json:"target_diseases" bson:"target_diseases"` TreatedSymptoms []string `json:"treated_symptoms" bson:"treated_symptoms"` SideEffects []string `json:"side_effects" bson:"side_effects"` Type string `json:"type" bson:"type"` Content string `json:"content" bson:"content"` Quantity int `json:"quantity" bson:"quantity"` }
type CreateNlpReportInput ¶
type CreateNlpReportInput struct { Version int `json:"version" bson:"version"` InputSymptoms []string `json:"input_symptoms" bson:"input_symptoms"` InputSentence string `json:"input_sentence" bson:"input_sentence"` Output []*NlpReportOutputInput `json:"output" bson:"output"` ComputationTime int `json:"computation_time" bson:"computation_time"` }
type CreateNotificationInput ¶
type CreatePatientInput ¶
type CreatePatientInput struct { Email string `json:"email" bson:"email"` Password string `json:"password" bson:"password"` Status bool `json:"status" bson:"status"` DeviceConnect []*string `json:"device_connect,omitempty" bson:"device_connect"` DoubleAuthMethodsID *string `json:"double_auth_methods_id,omitempty" bson:"double_auth_methods_id"` TrustDevices []*string `json:"trust_devices,omitempty" bson:"trust_devices"` }
type CreateRdvInput ¶
type CreateRdvInput struct { IDPatient string `json:"id_patient" bson:"id_patient"` DoctorID string `json:"doctor_id" bson:"doctor_id"` StartDate int `json:"start_date" bson:"start_date"` EndDate int `json:"end_date" bson:"end_date"` AppointmentStatus AppointmentStatus `json:"appointment_status" bson:"appointment_status"` SessionID string `json:"session_id" bson:"session_id"` }
type CreateSaveCodeInput ¶
type CreateSaveCodeInput struct {
Code []string `json:"code" bson:"code"`
}
type CreateSessionInput ¶
type CreateSessionInput struct { Diseases []*SessionDiseasesInput `json:"diseases" bson:"diseases"` Symptoms []*SessionSymptomInput `json:"symptoms" bson:"symptoms"` Age int `json:"age" bson:"age"` Height int `json:"height" bson:"height"` Weight int `json:"weight" bson:"weight"` Sex string `json:"sex" bson:"sex"` AnteChirs []string `json:"ante_chirs" bson:"ante_chirs"` AnteDiseases []string `json:"ante_diseases" bson:"ante_diseases"` Medicine []string `json:"medicine" bson:"medicine"` LastQuestion string `json:"last_question" bson:"last_question"` Logs []*LogsInput `json:"logs" bson:"logs"` HereditaryDisease []string `json:"hereditary_disease" bson:"hereditary_disease"` Alerts []string `json:"alerts" bson:"alerts"` }
type CreateSymptomInput ¶
type CreateSymptomInput struct { Code string `json:"code" bson:"code"` Name string `json:"name" bson:"name"` Chronic *int `json:"chronic,omitempty" bson:"chronic"` Symptom []string `json:"symptom" bson:"symptom"` Advice *string `json:"advice,omitempty" bson:"advice"` Question string `json:"question" bson:"question"` QuestionBasic string `json:"question_basic" bson:"question_basic"` QuestionDuration string `json:"question_duration" bson:"question_duration"` QuestionAnte string `json:"question_ante" bson:"question_ante"` }
type CreateTreatmentInput ¶
type CreateTreatmentInput struct { Period []Period `json:"period" bson:"period"` Day []Day `json:"day" bson:"day"` Quantity int `json:"quantity" bson:"quantity"` MedicineID string `json:"medicine_id" bson:"medicine_id"` StartDate int `json:"start_date" bson:"start_date"` EndDate int `json:"end_date" bson:"end_date"` }
type DeviceConnect ¶
type DeviceConnect struct { ID string `json:"id" bson:"_id"` DeviceName string `json:"device_name" bson:"device_name"` IPAddress string `json:"ip_address" bson:"ip_address"` City string `json:"city" bson:"city"` Country string `json:"country" bson:"country"` Date int `json:"date" bson:"date"` TrustDevice bool `json:"trust_device" bson:"trust_device"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type Disease ¶
type Disease struct { ID string `json:"id" bson:"_id"` Code string `json:"code" bson:"code"` Name string `json:"name" bson:"name"` Symptoms []string `json:"symptoms" bson:"symptoms"` SymptomsWeight []*SymptomsWeight `json:"symptoms_weight,omitempty" bson:"symptoms_weight"` OverweightFactor float64 `json:"overweight_factor" bson:"overweight_factor"` HeredityFactor float64 `json:"heredity_factor" bson:"heredity_factor"` Advice *string `json:"advice,omitempty" bson:"advice"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type Doctor ¶
type Doctor struct { ID string `json:"id" bson:"_id"` Email string `json:"email" bson:"email"` Password string `json:"password" bson:"password"` Name string `json:"name" bson:"name"` Firstname string `json:"firstname" bson:"firstname"` Address *Address `json:"address" bson:"address"` RendezVousIds []*string `json:"rendez_vous_ids,omitempty" bson:"rendez_vous_ids"` PatientIds []*string `json:"patient_ids,omitempty" bson:"patient_ids"` ChatIds []*string `json:"chat_ids,omitempty" bson:"chat_ids"` DoubleAuthMethodsID *string `json:"double_auth_methods_id,omitempty" bson:"double_auth_methods_id"` DeviceConnect []*string `json:"device_connect,omitempty" bson:"device_connect"` TrustDevices []*string `json:"trust_devices,omitempty" bson:"trust_devices"` Status bool `json:"status" bson:"status"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type Document ¶
type Document struct { ID string `json:"id" bson:"_id"` OwnerID string `json:"owner_id" bson:"owner_id"` Name string `json:"name" bson:"name"` DocumentType DocumentType `json:"document_type" bson:"document_type"` Category Category `json:"category" bson:"category"` IsFavorite bool `json:"is_favorite" bson:"is_favorite"` DownloadURL string `json:"download_url" bson:"download_url"` UploaderID string `json:"uploader_id" bson:"uploader_id"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type DocumentType ¶
type DocumentType string
const ( DocumentTypeXray DocumentType = "XRAY" DocumentTypePrescription DocumentType = "PRESCRIPTION" DocumentTypeOther DocumentType = "OTHER" DocumentTypeCertificate DocumentType = "CERTIFICATE" )
func (DocumentType) IsValid ¶
func (e DocumentType) IsValid() bool
func (DocumentType) MarshalGQL ¶
func (e DocumentType) MarshalGQL(w io.Writer)
func (DocumentType) String ¶
func (e DocumentType) String() string
func (*DocumentType) UnmarshalGQL ¶
func (e *DocumentType) UnmarshalGQL(v interface{}) error
type DoubleAuth ¶
type DoubleAuth struct { ID string `json:"id" bson:"_id"` Methods []string `json:"methods" bson:"methods"` Secret string `json:"secret" bson:"secret"` Code string `json:"code" bson:"code"` TrustDeviceID string `json:"trust_device_id" bson:"trust_device_id"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type GraphQLError ¶
type MedicalAntecedents ¶
type MedicalAntecedents struct { ID string `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` Medicines []*Treatment `json:"medicines" bson:"medicines"` StillRelevant bool `json:"still_relevant" bson:"still_relevant"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type MedicalAntecedentsInput ¶
type MedicalAntecedentsInput struct { Name string `json:"name" bson:"name"` Medicines []*TreatmentInput `json:"medicines" bson:"medicines"` StillRelevant bool `json:"still_relevant" bson:"still_relevant"` }
type MedicalInfo ¶
type MedicalInfo struct { ID string `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` Firstname string `json:"firstname" bson:"firstname"` Birthdate int `json:"birthdate" bson:"birthdate"` Sex Sex `json:"sex" bson:"sex"` Height int `json:"height" bson:"height"` Weight int `json:"weight" bson:"weight"` PrimaryDoctorID string `json:"primary_doctor_id" bson:"primary_doctor_id"` OnboardingStatus OnboardingStatus `json:"onboarding_status" bson:"onboarding_status"` AntecedentDiseaseIds []string `json:"antecedent_disease_ids" bson:"antecedent_disease_ids"` FamilyMembersMedInfoID []string `json:"family_members_med_info_id" bson:"family_members_med_info_id"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type Medicine ¶
type Medicine struct { ID string `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` Unit MedicineUnit `json:"unit" bson:"unit"` TargetDiseases []string `json:"target_diseases" bson:"target_diseases"` TreatedSymptoms []string `json:"treated_symptoms" bson:"treated_symptoms"` SideEffects []string `json:"side_effects" bson:"side_effects"` Type string `json:"type" bson:"type"` Content string `json:"content" bson:"content"` Quantity int `json:"quantity" bson:"quantity"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type MedicineInput ¶
type MedicineInput struct { Name string `json:"name" bson:"name"` Unit MedicineUnit `json:"unit" bson:"unit"` TargetDiseases []string `json:"target_diseases" bson:"target_diseases"` TreatedSymptoms []string `json:"treated_symptoms" bson:"treated_symptoms"` SideEffects []string `json:"side_effects" bson:"side_effects"` Type string `json:"type" bson:"type"` Content string `json:"content" bson:"content"` Quantity int `json:"quantity" bson:"quantity"` }
type MedicineUnit ¶
type MedicineUnit string
const ( MedicineUnitApplication MedicineUnit = "APPLICATION" MedicineUnitTablet MedicineUnit = "TABLET" MedicineUnitTablespoon MedicineUnit = "TABLESPOON" MedicineUnitCoffeespoon MedicineUnit = "COFFEESPOON" )
func (MedicineUnit) IsValid ¶
func (e MedicineUnit) IsValid() bool
func (MedicineUnit) MarshalGQL ¶
func (e MedicineUnit) MarshalGQL(w io.Writer)
func (MedicineUnit) String ¶
func (e MedicineUnit) String() string
func (*MedicineUnit) UnmarshalGQL ¶
func (e *MedicineUnit) UnmarshalGQL(v interface{}) error
type NlpReport ¶
type NlpReport struct { ID string `json:"id" bson:"_id"` Version int `json:"version" bson:"version"` InputSymptoms []string `json:"input_symptoms" bson:"input_symptoms"` InputSentence string `json:"input_sentence" bson:"input_sentence"` Output []*NlpReportOutput `json:"output" bson:"output"` ComputationTime int `json:"computation_time" bson:"computation_time"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type NlpReportOutput ¶
type NlpReportOutputInput ¶
type Notification ¶
type OnboardingStatus ¶
type OnboardingStatus string
const ( OnboardingStatusNotStarted OnboardingStatus = "NOT_STARTED" OnboardingStatusInProgress OnboardingStatus = "IN_PROGRESS" OnboardingStatusDone OnboardingStatus = "DONE" )
func (OnboardingStatus) IsValid ¶
func (e OnboardingStatus) IsValid() bool
func (OnboardingStatus) MarshalGQL ¶
func (e OnboardingStatus) MarshalGQL(w io.Writer)
func (OnboardingStatus) String ¶
func (e OnboardingStatus) String() string
func (*OnboardingStatus) UnmarshalGQL ¶
func (e *OnboardingStatus) UnmarshalGQL(v interface{}) error
type Options ¶
type Options struct { Sort *SortingOptions `json:"sort" bson:"sort"` Limit int `json:"limit" bson:"limit"` Offset int `json:"offset" bson:"offset"` }
type Patient ¶
type Patient struct { ID string `json:"id" bson:"_id"` Email string `json:"email" bson:"email"` Password string `json:"password" bson:"password"` RendezVousIds []*string `json:"rendez_vous_ids,omitempty" bson:"rendez_vous_ids"` MedicalInfoID *string `json:"medical_info_id,omitempty" bson:"medical_info_id"` DocumentIds []*string `json:"document_ids,omitempty" bson:"document_ids"` TreatmentFollowUpIds []*string `json:"treatment_follow_up_ids,omitempty" bson:"treatment_follow_up_ids"` ChatIds []*string `json:"chat_ids,omitempty" bson:"chat_ids"` DoubleAuthMethodsID *string `json:"double_auth_methods_id,omitempty" bson:"double_auth_methods_id"` DeviceConnect []*string `json:"device_connect,omitempty" bson:"device_connect"` TrustDevices []*string `json:"trust_devices,omitempty" bson:"trust_devices"` Status bool `json:"status" bson:"status"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type Rdv ¶
type Rdv struct { ID string `json:"id" bson:"_id"` DoctorID string `json:"doctor_id" bson:"doctor_id"` IDPatient string `json:"id_patient" bson:"id_patient"` StartDate int `json:"start_date" bson:"start_date"` EndDate int `json:"end_date" bson:"end_date"` CancelationReason *string `json:"cancelation_reason,omitempty" bson:"cancelation_reason"` AppointmentStatus AppointmentStatus `json:"appointment_status" bson:"appointment_status"` SessionID string `json:"session_id" bson:"session_id"` HealthMethod *string `json:"health_method,omitempty" bson:"health_method"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type Session ¶
type Session struct { ID string `json:"id" bson:"_id"` Diseases []*SessionDiseases `json:"diseases" bson:"diseases"` Symptoms []*SessionSymptom `json:"symptoms" bson:"symptoms"` Age int `json:"age" bson:"age"` Height int `json:"height" bson:"height"` Weight int `json:"weight" bson:"weight"` Sex string `json:"sex" bson:"sex"` AnteChirs []string `json:"ante_chirs" bson:"ante_chirs"` AnteDiseases []string `json:"ante_diseases" bson:"ante_diseases"` Medicine []string `json:"medicine" bson:"medicine"` LastQuestion string `json:"last_question" bson:"last_question"` Logs []*Logs `json:"logs" bson:"logs"` HereditaryDisease []string `json:"hereditary_disease" bson:"hereditary_disease"` Alerts []string `json:"alerts" bson:"alerts"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type SessionDiseases ¶
type SessionDiseasesInput ¶
type SessionSymptom ¶
type SessionSymptomInput ¶
type SortOrder ¶
type SortOrder string
func (SortOrder) MarshalGQL ¶
func (*SortOrder) UnmarshalGQL ¶
type SortingOptions ¶
type Symptom ¶
type Symptom struct { ID string `json:"id" bson:"_id"` Code string `json:"code" bson:"code"` Name string `json:"name" bson:"name"` Chronic *int `json:"chronic,omitempty" bson:"chronic"` Symptom []string `json:"symptom" bson:"symptom"` Advice *string `json:"advice,omitempty" bson:"advice"` Question string `json:"question" bson:"question"` QuestionBasic string `json:"question_basic" bson:"question_basic"` QuestionDuration string `json:"question_duration" bson:"question_duration"` QuestionAnte string `json:"question_ante" bson:"question_ante"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type SymptomsWeight ¶
type SymptomsWeightInput ¶
type Treatment ¶
type Treatment struct { ID string `json:"id" bson:"_id"` Period []Period `json:"period" bson:"period"` Day []Day `json:"day" bson:"day"` Quantity int `json:"quantity" bson:"quantity"` MedicineID string `json:"medicine_id" bson:"medicine_id"` StartDate int `json:"start_date" bson:"start_date"` EndDate int `json:"end_date" bson:"end_date"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type TreatmentInput ¶
type TreatmentInput struct { Period []*Period `json:"period" bson:"period"` Day []*Day `json:"day" bson:"day"` Quantity int `json:"quantity" bson:"quantity"` MedicineID string `json:"medicine_id" bson:"medicine_id"` StartDate int `json:"start_date" bson:"start_date"` EndDate int `json:"end_date" bson:"end_date"` }
type TreatmentsFollowUp ¶
type TreatmentsFollowUp struct { ID string `json:"id" bson:"_id"` TreatmentID string `json:"treatment_id" bson:"treatment_id"` Date int `json:"date" bson:"date"` Period []Period `json:"period" bson:"period"` CreatedAt int `json:"createdAt" bson:"createdAt"` UpdatedAt int `json:"updatedAt" bson:"updatedAt"` }
type UpdateAccountMedicalFolder ¶ added in v2.0.8
type UpdateAccountMedicalFolder struct {
AntecedentDiseaseIds []*string `json:"antecedent_disease_ids,omitempty" bson:"antecedent_disease_ids"`
}
type UpdateAdminInput ¶
type UpdateAlertInput ¶
type UpdateAlertInput struct { Name *string `json:"name,omitempty" bson:"name"` Sex *string `json:"sex,omitempty" bson:"sex"` Height *int `json:"height,omitempty" bson:"height"` Weight *int `json:"weight,omitempty" bson:"weight"` Symptoms []string `json:"symptoms,omitempty" bson:"symptoms"` Comment *string `json:"comment,omitempty" bson:"comment"` }
type UpdateAnteChirInput ¶
type UpdateAnteChirInput struct { Name *string `json:"name,omitempty" bson:"name"` InducedSymptoms []*ChirInducedSymptomInput `json:"induced_symptoms,omitempty" bson:"induced_symptoms"` }
type UpdateAnteDiseaseInput ¶
type UpdateAnteDiseaseInput struct { Name *string `json:"name,omitempty" bson:"name"` Chronicity *float64 `json:"chronicity,omitempty" bson:"chronicity"` SurgeryIds []string `json:"surgery_ids,omitempty" bson:"surgery_ids"` Symptoms []string `json:"symptoms,omitempty" bson:"symptoms"` TreatmentIds []string `json:"treatment_ids,omitempty" bson:"treatment_ids"` StillRelevant *bool `json:"still_relevant,omitempty" bson:"still_relevant"` }
type UpdateAnteFamilyInput ¶
type UpdateBlackListInput ¶
type UpdateBlackListInput struct {
Token []string `json:"token,omitempty" bson:"token"`
}
type UpdateChatInput ¶
type UpdateChatInput struct { Participants []*ChatParticipantsInput `json:"participants,omitempty" bson:"participants"` Messages []*ChatMessagesInput `json:"messages,omitempty" bson:"messages"` }
type UpdateDeviceConnectInput ¶
type UpdateDeviceConnectInput struct { DeviceName *string `json:"device_name,omitempty" bson:"device_name"` IPAddress *string `json:"ip_address,omitempty" bson:"ip_address"` City *string `json:"city,omitempty" bson:"city"` Country *string `json:"country,omitempty" bson:"country"` Date *int `json:"date,omitempty" bson:"date"` TrustDevice *bool `json:"trust_device,omitempty" bson:"trust_device"` }
type UpdateDiseaseInput ¶
type UpdateDiseaseInput struct { Code *string `json:"code,omitempty" bson:"code"` Name *string `json:"name,omitempty" bson:"name"` Symptoms []string `json:"symptoms,omitempty" bson:"symptoms"` SymptomsWeight []*SymptomsWeightInput `json:"symptoms_weight,omitempty" bson:"symptoms_weight"` OverweightFactor *float64 `json:"overweight_factor,omitempty" bson:"overweight_factor"` HeredityFactor *float64 `json:"heredity_factor,omitempty" bson:"heredity_factor"` Advice *string `json:"advice,omitempty" bson:"advice"` }
type UpdateDoctorInput ¶
type UpdateDoctorInput struct { Email *string `json:"email,omitempty" bson:"email"` Password *string `json:"password,omitempty" bson:"password"` Name *string `json:"name,omitempty" bson:"name"` Firstname *string `json:"firstname,omitempty" bson:"firstname"` RendezVousIds []*string `json:"rendez_vous_ids,omitempty" bson:"rendez_vous_ids"` PatientIds []*string `json:"patient_ids,omitempty" bson:"patient_ids"` Address *AddressInput `json:"address,omitempty" bson:"address"` ChatIds []*string `json:"chat_ids,omitempty" bson:"chat_ids"` DeviceConnect []*string `json:"device_connect,omitempty" bson:"device_connect"` DoubleAuthMethodsID *string `json:"double_auth_methods_id,omitempty" bson:"double_auth_methods_id"` TrustDevices []*string `json:"trust_devices,omitempty" bson:"trust_devices"` Status *bool `json:"status,omitempty" bson:"status"` }
type UpdateDoctorsDeviceConnectInput ¶ added in v2.0.2
type UpdateDoctorsPatientIDsInput ¶
type UpdateDoctorsPatientIDsInput struct {
PatientIds []*string `json:"patient_ids,omitempty" bson:"patient_ids"`
}
type UpdateDoctorsTrustDeviceInput ¶ added in v2.0.2
type UpdateDoctorsTrustDeviceInput struct {
TrustDevices []*string `json:"trust_devices,omitempty" bson:"trust_devices"`
}
type UpdateDocumentInput ¶
type UpdateDoubleAuthInput ¶
type UpdateDoubleAuthInput struct { Methods []string `json:"methods,omitempty" bson:"methods"` Secret *string `json:"secret,omitempty" bson:"secret"` Code *string `json:"code,omitempty" bson:"code"` URL *string `json:"url,omitempty" bson:"url"` TrustDeviceID *string `json:"trust_device_id,omitempty" bson:"trust_device_id"` }
type UpdateMedicalFolderInput ¶
type UpdateMedicalFolderInput struct { Name *string `json:"name,omitempty" bson:"name"` Firstname *string `json:"firstname,omitempty" bson:"firstname"` Birthdate *int `json:"birthdate,omitempty" bson:"birthdate"` Sex *string `json:"sex,omitempty" bson:"sex"` Height *int `json:"height,omitempty" bson:"height"` Weight *int `json:"weight,omitempty" bson:"weight"` PrimaryDoctorID *string `json:"primary_doctor_id,omitempty" bson:"primary_doctor_id"` AntecedentDiseaseIds []string `json:"antecedent_disease_ids,omitempty" bson:"antecedent_disease_ids"` OnboardingStatus *OnboardingStatus `json:"onboarding_status,omitempty" bson:"onboarding_status"` FamilyMembersMedInfoID []string `json:"family_members_med_info_id,omitempty" bson:"family_members_med_info_id"` }
type UpdateNotificationInput ¶
type UpdatePatientInput ¶
type UpdatePatientInput struct { Email *string `json:"email,omitempty" bson:"email"` Password *string `json:"password,omitempty" bson:"password"` MedicalInfoID *string `json:"medical_info_id,omitempty" bson:"medical_info_id"` RendezVousIds []*string `json:"rendez_vous_ids,omitempty" bson:"rendez_vous_ids"` DocumentIds []*string `json:"document_ids,omitempty" bson:"document_ids"` TreatmentFollowUpIds []*string `json:"treatment_follow_up_ids,omitempty" bson:"treatment_follow_up_ids"` ChatIds []*string `json:"chat_ids,omitempty" bson:"chat_ids"` Status *bool `json:"status,omitempty" bson:"status"` DeviceConnect []*string `json:"device_connect,omitempty" bson:"device_connect"` DoubleAuthMethodsID *string `json:"double_auth_methods_id,omitempty" bson:"double_auth_methods_id"` TrustDevices []*string `json:"trust_devices,omitempty" bson:"trust_devices"` }
type UpdatePatientRendezVousIdsInput ¶ added in v2.0.5
type UpdatePatientRendezVousIdsInput struct {
RendezVousIds []*string `json:"rendez_vous_ids,omitempty" bson:"rendez_vous_ids"`
}
type UpdatePatientTrustDeviceInput ¶ added in v2.0.2
type UpdatePatientTrustDeviceInput struct {
TrustDevices []*string `json:"trust_devices,omitempty" bson:"trust_devices"`
}
type UpdatePatientsDeviceConnectInput ¶ added in v2.0.2
type UpdateRdvInput ¶
type UpdateRdvInput struct { IDPatient *string `json:"id_patient,omitempty" bson:"id_patient"` DoctorID *string `json:"doctor_id,omitempty" bson:"doctor_id"` StartDate *int `json:"start_date,omitempty" bson:"start_date"` EndDate *int `json:"end_date,omitempty" bson:"end_date"` CancelationReason *string `json:"cancelation_reason,omitempty" bson:"cancelation_reason"` AppointmentStatus *AppointmentStatus `json:"appointment_status,omitempty" bson:"appointment_status"` SessionID *string `json:"session_id,omitempty" bson:"session_id"` HealthMethod *string `json:"health_method,omitempty" bson:"health_method"` }
type UpdateSaveCodeInput ¶
type UpdateSaveCodeInput struct {
Code []string `json:"code,omitempty" bson:"code"`
}
type UpdateSessionInput ¶
type UpdateSessionInput struct { Diseases []*SessionDiseasesInput `json:"diseases,omitempty" bson:"diseases"` Symptoms []*SessionSymptomInput `json:"symptoms,omitempty" bson:"symptoms"` Age *int `json:"age,omitempty" bson:"age"` Height *int `json:"height,omitempty" bson:"height"` Weight *int `json:"weight,omitempty" bson:"weight"` Sex *string `json:"sex,omitempty" bson:"sex"` AnteChirs []string `json:"ante_chirs,omitempty" bson:"ante_chirs"` AnteDiseases []string `json:"ante_diseases,omitempty" bson:"ante_diseases"` Medicine []string `json:"medicine,omitempty" bson:"medicine"` LastQuestion *string `json:"last_question,omitempty" bson:"last_question"` Logs []*LogsInput `json:"logs,omitempty" bson:"logs"` HereditaryDisease []string `json:"hereditary_disease,omitempty" bson:"hereditary_disease"` Alerts []string `json:"alerts,omitempty" bson:"alerts"` }
type UpdateSymptomInput ¶
type UpdateSymptomInput struct { Code *string `json:"code,omitempty" bson:"code"` Name *string `json:"name,omitempty" bson:"name"` Chronic *int `json:"chronic,omitempty" bson:"chronic"` Symptom []string `json:"symptom,omitempty" bson:"symptom"` Advice *string `json:"advice,omitempty" bson:"advice"` Question *string `json:"question,omitempty" bson:"question"` QuestionBasic *string `json:"question_basic,omitempty" bson:"question_basic"` QuestionDuration *string `json:"question_duration,omitempty" bson:"question_duration"` QuestionAnte *string `json:"question_ante,omitempty" bson:"question_ante"` }
type UpdateTreatmentInput ¶
type UpdateTreatmentInput struct { Period []Period `json:"period,omitempty" bson:"period"` Day []Day `json:"day,omitempty" bson:"day"` Quantity *int `json:"quantity,omitempty" bson:"quantity"` MedicineID *string `json:"medicine_id,omitempty" bson:"medicine_id"` StartDate *int `json:"start_date,omitempty" bson:"start_date"` EndDate *int `json:"end_date,omitempty" bson:"end_date"` }
Click to show internal directories.
Click to hide internal directories.