graph

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: GPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPageInfo

func GetPageInfo[R any](entities []R, count int64, page models.PaginationInput) (*graph_models.PageInfo, int)

ConvertEntityToConnection ...

func HashFileName

func HashFileName(name string) (fileName string, hashedFileName string, hash string, ext string)

HashFileName ...

func RenameFile

func RenameFile(originalName string, newName string) error

RenameFile ...

func WriteFile

func WriteFile(file io.Reader, fileName string) error

WriteFile ...

Types

type Resolver

type Resolver struct {
	Config                             *conf.Configuration
	AccessControl                      *casbin.Enforcer
	AllergyRepository                  repository.AllergyRepository
	AmendmentRepository                repository.AmendmentRepository
	AppointmentQueueRepository         repository.AppointmentQueueRepository
	AppointmentStatusRepository        repository.AppointmentStatusRepository
	AppointmentRepository              repository.AppointmentRepository
	AutoRefractionRepository           repository.AutoRefractionRepository
	BillingRepository                  repository.BillingRepository
	ChatDeleteRepository               repository.ChatDeleteRepository
	ChatMemberRepository               repository.ChatMemberRepository
	ChatMessageRepository              repository.ChatMessageRepository
	ChatMuteRepository                 repository.ChatMuteRepository
	ChatUnreadRepository               repository.ChatUnreadRepository
	ChatRepository                     repository.ChatRepository
	ChiefComplaintTypeRepository       repository.ChiefComplaintTypeRepository
	ChiefComplaintRepository           repository.ChiefComplaintRepository
	CoverTestRepository                repository.CoverTestRepository
	DiagnosisRepository                repository.DiagnosisRepository
	DiagnosticProcedureRepository      repository.DiagnosticProcedureRepository
	DiagnosticProcedureOrderRepository repository.DiagnosticProcedureOrderRepository
	DiagnosticProcedureTypeRepository  repository.DiagnosticProcedureTypeRepository
	ExamCategoryRepository             repository.ExamCategoryRepository
	ExternalExamRepository             repository.ExternalExamRepository
	ExamFindingRepository              repository.ExamFindingRepository
	EyewearPrescriptionOrderRepository repository.EyewearPrescriptionOrderRepository
	EyewearPrescriptionRepository      repository.EyewearPrescriptionRepository
	EyewearShopRepository              repository.EyewearShopRepository
	FamilyIllnessRepository            repository.FamilyIllnessRepository
	FavoriteChiefComplaintRepository   repository.FavoriteChiefComplaintRepository
	FavoriteDiagnosisRepository        repository.FavoriteDiagnosisRepository
	FavoriteMedicationRepository       repository.FavoriteMedicationRepository
	FileRepository                     repository.FileRepository
	FollowUpOrderRepository            repository.FollowUpOrderRepository
	FollowUpRepository                 repository.FollowUpRepository
	FunduscopyRepository               repository.FunduscopyRepository
	HpiComponentTypeRepository         repository.HpiComponentTypeRepository
	HpiComponentRepository             repository.HpiComponentRepository
	IopRepository                      repository.IopRepository
	LabOrderRepository                 repository.LabOrderRepository
	LabTypeRepository                  repository.LabTypeRepository
	LabRepository                      repository.LabRepository
	LifestyleTypeRepository            repository.LifestyleTypeRepository
	LifestyleRepository                repository.LifestyleRepository
	MedicalPrescriptionOrderRepository repository.MedicalPrescriptionOrderRepository
	MedicalPrescriptionRepository      repository.MedicalPrescriptionRepository
	OcularMotilityRepository           repository.OcularMotilityRepository
	OpthalmologyExamRepository         repository.OpthalmologyExamRepository
	OpticDiscRepository                repository.OpticDiscRepository
	OrganizationDetailsRepository      repository.OrganizationDetailsRepository
	PastHospitalizationRepository      repository.PastHospitalizationRepository
	PastIllnessTypeRepository          repository.PastIllnessTypeRepository
	PastIllnessRepository              repository.PastIllnessRepository
	PastInjuryRepository               repository.PastInjuryRepository
	PastOptSurgeryRepository           repository.PastOptSurgeryRepository
	PastSurgeryRepository              repository.PastSurgeryRepository
	PatientChartRepository             repository.PatientChartRepository
	PatientDiagnosisRepository         repository.PatientDiagnosisRepository
	PatientEncounterLimitRepository    repository.PatientEncounterLimitRepository
	PatientHistoryRepository           repository.PatientHistoryRepository
	PatientQueueRepository             repository.PatientQueueRepository
	PatientRepository                  repository.PatientRepository
	PaymentWaiverRepository            repository.PaymentWaiverRepository
	PaymentRepository                  repository.PaymentRepository
	PharmacyRepository                 repository.PharmacyRepository
	PhysicalExamFindingRepository      repository.PhysicalExamFindingRepository
	PupilsRepository                   repository.PupilsRepository
	QueueDestinationRepository         repository.QueueDestinationRepository
	QueueSubscriptionRepository        repository.QueueSubscriptionRepository
	ReferralOrderRepository            repository.ReferralOrderRepository
	ReferralRepository                 repository.ReferralRepository
	ReviewOfSystemRepository           repository.ReviewOfSystemRepository
	RoomRepository                     repository.RoomRepository
	SlitLampExamRepository             repository.SlitLampExamRepository
	SupplyRepository                   repository.SupplyRepository
	SurgicalOrderRepository            repository.SurgicalOrderRepository
	SurgicalProcedureTypeRepository    repository.SurgicalProcedureTypeRepository
	SurgicalProcedureRepository        repository.SurgicalProcedureRepository
	SystemSymptomRepository            repository.SystemSymptomRepository
	SystemRepository                   repository.SystemRepository
	TreatmentOrderRepository           repository.TreatmentOrderRepository
	TreatmentTypeRepository            repository.TreatmentTypeRepository
	TreatmentRepository                repository.TreatmentRepository
	UserTypeRepository                 repository.UserTypeRepository
	UserRepository                     repository.UserRepository
	VisitTypeRepository                repository.VisitTypeRepository
	VisualAcuityRepository             repository.VisualAcuityRepository
	VitalSignsRepository               repository.VitalSignsRepository
	ModalityRepository                 repository.ModalityRepository
	PaymentOrderWaiverRepository       repository.PaymentOrderWaiverRepository
	Redis                              *redis.Client
}

Resolver ...

func (*Resolver) DiagnosticProcedure added in v0.1.7

func (r *Resolver) DiagnosticProcedure() generated.DiagnosticProcedureResolver

DiagnosticProcedure returns generated.DiagnosticProcedureResolver implementation.

func (*Resolver) Mutation

func (r *Resolver) Mutation() generated.MutationResolver

Mutation returns generated.MutationResolver implementation.

func (*Resolver) PatientHistory

func (r *Resolver) PatientHistory() generated.PatientHistoryResolver

PatientHistory returns generated.PatientHistoryResolver implementation.

func (*Resolver) PatientQueue

func (r *Resolver) PatientQueue() generated.PatientQueueResolver

PatientQueue returns generated.PatientQueueResolver implementation.

func (*Resolver) Payment

func (r *Resolver) Payment() generated.PaymentResolver

Payment returns generated.PaymentResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

func (*Resolver) Subscription

func (r *Resolver) Subscription() generated.SubscriptionResolver

Subscription returns generated.SubscriptionResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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