Documentation ¶
Index ¶
- func GetAllSamples(query string) []*models.Record
- func GetExperimentByID(ID string) *models.Experiment
- func GetPatientByID(ID string) *models.Patient
- func GetResultByID(ID string) *models.Result
- func GetResultDetailByID(ID string) *models.Resultdetails
- func GetSampleByID(ID string) *models.Sample
- func InsertExperiment(experiment *models.Experiment) bool
- func InsertPatient(person *models.Patient) bool
- func InsertResult(result *models.Result) bool
- func InsertResultDetail(result *models.Resultdetails) bool
- func InsertSample(sample *models.Sample) bool
- func UpdateExperiment(experiment *models.Experiment) bool
- func UpdatePatient(person *models.Patient) bool
- func UpdateResult(result *models.Result) bool
- func UpdateResultDetail(result *models.Resultdetails) bool
- func UpdateSample(sample *models.Sample) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllSamples ¶
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 ¶
GetPatientByID gets all and results a list of samples
func GetResultByID ¶
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 ¶
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 ¶
InsertPatient allows users to add generic objects to a collection in the database
func InsertResult ¶
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 ¶
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 ¶
UpdatePatient remove a patient by id
func UpdateResult ¶
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 ¶
UpdateSample allows users to update generic objects to a collection in the database
Types ¶
This section is empty.