repos

package
v0.0.0-...-1d7a7e7 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllSamples

func GetAllSamples(query string) []*models.Record

GetAllSamples gets all and results a list of samples

func GetExperimentByID

func GetExperimentByID(ID string) *models.Experiment

GetExperimentByID gets all and results a list of samples

func GetPatientByID

func GetPatientByID(ID string) *models.Patient

GetPatientByID gets all and results a list of samples

func GetResultByID

func GetResultByID(ID string) *models.Result

GetResultByID gets all and results a list of samples

func GetResultDetailByID

func GetResultDetailByID(ID string) *models.Resultdetails

GetResultDetailByID gets all and results a list of samples

func GetSampleByID

func GetSampleByID(ID string) *models.Sample

GetSampleByID gets all and results a list of samples

func InsertExperiment

func InsertExperiment(experiment *models.Experiment) bool

InsertExperiment allows users to add generic objects to a collection in the database

func InsertPatient

func InsertPatient(person *models.Patient) bool

InsertPatient allows users to add generic objects to a collection in the database

func InsertResult

func InsertResult(result *models.Result) bool

InsertResult allows users to add generic objects to a collection in the database

func InsertResultDetail

func InsertResultDetail(result *models.Resultdetails) bool

InsertResultDetail allows users to add generic objects to a collection in the database

func InsertSample

func InsertSample(sample *models.Sample) bool

InsertSample allows users to add generic objects to a collection in the database

func UpdateExperiment

func UpdateExperiment(experiment *models.Experiment) bool

UpdateExperiment allows users to add generic objects to a collection in the database

func UpdatePatient

func UpdatePatient(person *models.Patient) bool

UpdatePatient remove a patient by id

func UpdateResult

func UpdateResult(result *models.Result) bool

UpdateResult allows users to add generic objects to a collection in the database

func UpdateResultDetail

func UpdateResultDetail(result *models.Resultdetails) bool

UpdateResultDetail allows users to add generic objects to a collection in the database

func UpdateSample

func UpdateSample(sample *models.Sample) bool

UpdateSample allows users to update generic objects to a collection in the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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