m1

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address = api.Address

type DatabaseAdapter

type DatabaseAdapter struct {
	// contains filtered or unexported fields
}

func NewDatabaseAdapter

func NewDatabaseAdapter(server string, port int, sid string, user string, password string) *DatabaseAdapter

func NewDatabaseAdapterFromDSN

func NewDatabaseAdapterFromDSN(connectionString string) *DatabaseAdapter

func (*DatabaseAdapter) Close

func (a *DatabaseAdapter) Close() error

func (*DatabaseAdapter) Connect

func (a *DatabaseAdapter) Connect() error

func (*DatabaseAdapter) FindPatientsByName

func (a *DatabaseAdapter) FindPatientsByName(firstname, lastname string) ([]*Patient, error)

func (*DatabaseAdapter) FindPatientsFuzzy

func (a *DatabaseAdapter) FindPatientsFuzzy(firstname, lastname string, similarity int, birthDate *time.Time) ([]*Patient, error)

func (*DatabaseAdapter) GetAllPatients

func (a *DatabaseAdapter) GetAllPatients() ([]*Patient, error)

func (*DatabaseAdapter) GetPatient

func (a *DatabaseAdapter) GetPatient(id string) (*Patient, error)

type Patient

type Patient = api.Patient

type Scanable

type Scanable interface {
	Scan(dest ...interface{}) error
}

Jump to

Keyboard shortcuts

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