service

package
v0.0.0-...-5c38267 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdService

type IdService struct {
	SqlDB *pgx.Conn
}

func NewIdService

func NewIdService(db *pgx.Conn) IdService

func (*IdService) CreateEncounterTable

func (i *IdService) CreateEncounterTable() error

Create encounter id table

func (*IdService) CreatePatientTable

func (i *IdService) CreatePatientTable() error

Create patient id table

type LoincService

type LoincService struct {
	RedisClient *redisearch.Client
}

func (*LoincService) ImportLoinc

func (l *LoincService) ImportLoinc() error

type SeedService

type SeedService struct {
	UserService service.UserService
	RoleService service.RoleService
}

func (*SeedService) SeedRoles

func (s *SeedService) SeedRoles(context context.Context) (er error)

func (*SeedService) SeedUsers

func (s *SeedService) SeedUsers(context context.Context) (er error)

Jump to

Keyboard shortcuts

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