repos

package
v0.0.0-...-cb9294f Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: GPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddComplication

func AddComplication(complication *models.Complication) error

AddComplication 4 comp

func AddConsent

func AddConsent(consent *models.Consent) error

AddConsent for sample

func AddDiagnosis

func AddDiagnosis(diagnosis *models.Diagnosis) error

AddDiagnosis is for diag

func AddEnrollment

func AddEnrollment(enrollment *models.Enrollment) error

AddEnrollment repo add to sample

func AddOutcome

func AddOutcome(outcome *models.Outcome) error

AddOutcome 4 outcome

func AddPatient

func AddPatient(patient *models.Patient) error

AddPatient is for patients

func AddTreatment

func AddTreatment(treatment *models.Treatment) error

AddTreatment for treatments

func AddTumourboard

func AddTumourboard(tumourboard *models.Tumourboard) error

AddTumourboard 4 tum

func CheckIfComplicationExists

func CheckIfComplicationExists(hash string) bool

CheckIfComplicationExists returns an object in a collection

func CheckIfConsentExists

func CheckIfConsentExists(hash string) bool

CheckIfConsentExists returns an object in a collection

func CheckIfDiagnosisExists

func CheckIfDiagnosisExists(hash string) bool

CheckIfDiagnosisExists returns an object in a collection

func CheckIfEnrollmentExists

func CheckIfEnrollmentExists(hash string) bool

CheckIfEnrollmentExists returns an object in a collection

func CheckIfOutcomeExists

func CheckIfOutcomeExists(hash string) bool

CheckIfOutcomeExists returns an object in a collection

func CheckIfPatientExists

func CheckIfPatientExists(patientID string) bool

CheckIfPatientExists returns an object in a collection

func CheckIfSampleExists

func CheckIfSampleExists(sampleID string) bool

CheckIfSampleExists returns an object in a collection

func CheckIfTreatmentExists

func CheckIfTreatmentExists(hash string) bool

CheckIfTreatmentExists returns an object in a collection

func CheckIfTumourboardExists

func CheckIfTumourboardExists(hash string) bool

CheckIfTumourboardExists returns an object in a collection

func GetAllComplications

func GetAllComplications(collection string) []*models.Complication

GetAllComplications returns an array of all objects in a collection

func GetAllConsents

func GetAllConsents(collection string) []*models.Consent

GetAllConsents returns an array of all objects in a collection

func GetAllDiagnosis

func GetAllDiagnosis(collection string) []*models.Diagnosis

GetAllDiagnosis returns an array of all objects in a collection

func GetAllEnrollments

func GetAllEnrollments(collection string) []*models.Enrollment

GetAllEnrollments returns an array of all objects in a collection

func GetAllOutcomes

func GetAllOutcomes(collection string) []*models.Outcome

GetAllOutcomes returns an array of all objects in a collection

func GetAllPatients

func GetAllPatients(collection string) []*models.Patient

GetAllPatients returns an array of all objects in a collection

func GetAllSamples

func GetAllSamples(collection string) []*models.Sample

GetAllSamples returns an array of all objects in a collection

func GetAllTreatments

func GetAllTreatments(collection string) []*models.Treatment

GetAllTreatments returns an array of all objects in a collection

func GetAllTumourboards

func GetAllTumourboards(collection string) []*models.Tumourboard

GetAllTumourboards returns an array of all objects in a collection

func GetSampleByID

func GetSampleByID(sampleID string) *models.Sample

GetSampleByID gets a sample by its id

func GetSamplesByQuery

func GetSamplesByQuery(query *models.Query) []*models.Sample

GetSamplesByQuery gets a sample by its id

func InsertComplication

func InsertComplication(complication models.Complication) bool

InsertComplication inserts a patient to the patient collection

func InsertConsent

func InsertConsent(consent models.Consent) bool

InsertConsent inserts a patient to the patient collection

func InsertDiagnosis

func InsertDiagnosis(diagnosis models.Diagnosis) bool

InsertDiagnosis inserts a patient to the patient collection

func InsertEnrollment

func InsertEnrollment(enrollment models.Enrollment) bool

InsertEnrollment inserts a patient to the patient collection

func InsertOutcome

func InsertOutcome(outcome models.Outcome) bool

InsertOutcome inserts a outcome to the outcome collection

func InsertPatient

func InsertPatient(patient models.Patient) bool

InsertPatient inserts a patient to the patient collection

func InsertSample

func InsertSample(sample models.Sample) bool

InsertSample inserts a patient to the patient collection

func InsertTreatment

func InsertTreatment(treatment models.Treatment) bool

InsertTreatment inserts a treatment to the treatment collection

func InsertTumourboard

func InsertTumourboard(tumourboard models.Tumourboard) bool

InsertTumourboard inserts a tumourboard to the tumourboard collection

func UpdateSample

func UpdateSample(sample models.Sample) bool

UpdateSample updates a sample

Types

This section is empty.

Jump to

Keyboard shortcuts

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