Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface {
GetRoomAssignments(string, ...uint) ([]*bridgeModel.RoomAssignment, error)
}
DB interface
type DefaultBridge ¶
type DefaultBridge struct {
// contains filtered or unexported fields
}
DefaultBridge struct encapsulates the surgery software bridge
func NewBridge ¶
func NewBridge(db DB) *DefaultBridge
NewBridge returns a surgery software bridge struct
func (*DefaultBridge) GetExaminedPatients ¶
func (b *DefaultBridge) GetExaminedPatients() ([]*model.Patient, error)
GetExaminedPatients returns all patients that have been examined and are finished now since last call
func (*DefaultBridge) GetToBeExaminedPatients ¶
func (b *DefaultBridge) GetToBeExaminedPatients() ([]*model.Patient, error)
GetToBeExaminedPatients returns all patients that are queued to be examined next
type MockDB ¶
MockDB is an autogenerated mock type for the DB type
func (*MockDB) GetRoomAssignments ¶ added in v1.2.0
GetRoomAssignments provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.