Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Experiment ¶
type Experiment struct {
// chip cartridge barcode
ChipCartridgeBarcode *string `json:"experiments.chip_cartridge_barcode,omitempty" db:"experiments.chip_cartridge_barcode"`
// complete date
CompleteDate *time.Time `json:"experiments.complete_date,omitempty" db:"experiments.complete_date"`
// experiment id
ExperimentID *string `json:"experiments.experiment_id,omitempty" db:"experiments.experiment_id"`
// has project files
HasProjectFiles *bool `json:"experiments.has_project_files,omitempty" db:"experiments.has_project_files"`
// opened date
OpenedDate *time.Time `json:"experiments.opened_date,omitempty" db:"experiments.opened_date"`
// panel assay screened
PanelAssayScreened *string `json:"experiments.panel_assay_screened,omitempty" db:"experiments.panel_assay_screened"`
// pcr
Pcr *string `json:"experiments.pcr,omitempty" db:"experiments.pcr"`
// priority
Priority *string `json:"experiments.priority,omitempty" db:"experiments.priority"`
// procedure order datetime
ProcedureOrderDatetime *time.Time `json:"experiments.procedure_order_datetime,omitempty" db:"experiments.procedure_order_datetime"`
// project id
ProjectID *string `json:"experiments.project_id,omitempty" db:"experiments.project_id"`
// project name
ProjectName *string `json:"experiments.project_name,omitempty" db:"experiments.project_name"`
// sample id
SampleID *string `json:"experiments.sample_id,omitempty" db:"experiments.sample_id"`
// study id
StudyID *string `json:"experiments.study_id,omitempty" db:"experiments.study_id"`
// test date
TestDate *time.Time `json:"experiments.test_date,omitempty" db:"experiments.test_date"`
}
Experiment experiment swagger:model Experiment
func (*Experiment) CheckEnums ¶
func (m *Experiment) CheckEnums(exe *ExperimentEnum) bool
CheckEnums validates this experiments enums
func (*Experiment) MarshalBinary ¶
func (m *Experiment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Experiment) UnmarshalBinary ¶
func (m *Experiment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExperimentEnum ¶
ExperimentEnum is a struct that grabs the validation values from the enums.yaml file
var Enums *ExperimentEnum
Enums is the experiment enums
func GetEnums ¶
func GetEnums(e *ExperimentEnum) *ExperimentEnum
GetEnums fills the PanelAssayScreened struct
type GetSamplesByQueryOKBody ¶
type GetSamplesByQueryOKBody []*Record
GetSamplesByQueryOKBody get samples by query o k body swagger:model getSamplesByQueryOKBody
type LogoutOKBody ¶
type LogoutOKBody bool
LogoutOKBody search sample o k body swagger:model searchSampleOKBody
type Patient ¶
type Patient struct {
// clinical history
ClinicalHistory *string `json:"patients.clinical_history,omitempty" db:"patients.clinical_history"`
// date received
DateReceived *time.Time `json:"patients.date_received,omitempty" db:"patients.date_received"`
// date reported
DateReported *time.Time `json:"patients.date_reported,omitempty" db:"patients.date_reported"`
// dob
Dob *time.Time `json:"patients.dob,omitempty" db:"patients.dob"`
// first name
FirstName *string `json:"patients.first_name,omitempty" db:"patients.first_name"`
// gender
Gender *string `json:"patients.gender,omitempty" db:"patients.gender"`
// initials
Initials *string `json:"patients.initials,omitempty" db:"patients.initials"`
// last name
LastName *string `json:"patients.last_name,omitempty" db:"patients.last_name"`
// mrn
Mrn *string `json:"patients.mrn,omitempty" db:"patients.mrn"`
// on hcn
OnHcn *string `json:"patients.on_hcn,omitempty" db:"patients.on_hcn"`
// patient id
PatientID *string `json:"patients.patient_id,omitempty" db:"patients.patient_id"`
// patient type
PatientType *string `json:"patients.patient_type,omitempty" db:"patients.patient_type"`
// referring physican
ReferringPhysican *string `json:"patients.referring_physican,omitempty" db:"patients.referring_physican"`
// se num
SeNum *string `json:"patients.se_num,omitempty" db:"patients.se_num"`
// surgical date
SurgicalDate *time.Time `json:"patients.surgical_date,omitempty" db:"patients.surgical_date"`
}
Patient patient swagger:model Patient
func (*Patient) MarshalBinary ¶
MarshalBinary interface implementation
func (*Patient) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Query ¶
type Query struct {
// selected condition
SelectedCondition [][]string `json:"selected_conditions"`
// selected fields
SelectedFields []string `json:"selected_fields"`
// selected tables
SelectedTables []string `json:"selected_tables"`
}
Query query swagger:model Query
func (*Query) MarshalBinary ¶
MarshalBinary interface implementation
func (*Query) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Record ¶
type Record struct {
// patient
Patient
// sample
Sample
// experiment
Experiment
// result
Result
// resultdetails
Resultdetails
}
Record is the super struct
func (*Record) MarshalBinary ¶
MarshalBinary interface implementation
func (*Record) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Result ¶
type Result struct {
// failed regions
FailedRegions *string `json:"results.failed_regions,omitempty" db:"results.failed_regions"`
// mean depth of coveage
MeanDepthOfCoveage *float32 `json:"results.mean_depth_of_coveage,omitempty" db:"results.mean_depth_of_coveage"`
// mlpa pcr
MlpaPcr *string `json:"results.mlpa_pcr,omitempty" db:"results.mlpa_pcr"`
// mutation
Mutation *string `json:"results.mutation,omitempty" db:"results.mutation"`
// overall hotspots threshold
OverallHotspotsThreshold *float32 `json:"results.overall_hotspots_threshold,omitempty" db:"results.overall_hotspots_threshold"`
// overall quality threshold
OverallQualityThreshold *float32 `json:"results.overall_quality_threshold,omitempty" db:"results.overall_quality_threshold"`
// results id
ResultsID *string `json:"results.results_id,omitempty" db:"results.results_id"`
// uid
UID *string `json:"results.uid,omitempty" db:"results.uid"`
// verification pcr
VerificationPcr *string `json:"results.verification_pcr,omitempty" db:"results.verification_pcr"`
// experiment id
ExperimentID *string `json:"results.experiment_id,omitempty" db:"results.experiment_id"`
}
Result result swagger:model Result
func (*Result) MarshalBinary ¶
MarshalBinary interface implementation
func (*Result) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Resultdetails ¶
type Resultdetails struct {
// v a f
VAF *float32 `json:"resultdetails.VAF,omitempty" db:"resultdetails.VAF"`
// c nomenclature
CNomenclature *string `json:"resultdetails.c_nomenclature,omitempty" db:"resultdetails.c_nomenclature"`
// coverage
Coverage *int64 `json:"resultdetails.coverage,omitempty" db:"resultdetails.coverage"`
// exon
Exon *int64 `json:"resultdetails.exon,omitempty" db:"resultdetails.exon"`
// gene
Gene *string `json:"resultdetails.gene,omitempty" db:"resultdetails.gene"`
// p nomenclature
PNomenclature *string `json:"resultdetails.p_nomenclature,omitempty" db:"resultdetails.p_nomenclature"`
// pcr
Pcr *string `json:"resultdetails.pcr,omitempty" db:"resultdetails.pcr"`
// quality score
QualityScore *float32 `json:"resultdetails.quality_score,omitempty" db:"resultdetails.quality_score"`
// result
Result *string `json:"resultdetails.result,omitempty" db:"resultdetails.result"`
// results details id
ResultsDetailsID *string `json:"resultdetails.results_details_id,omitempty" db:"resultdetails.results_details_id"`
// results id
ResultsID *string `json:"resultdetails.results_id,omitempty" db:"resultdetails.results_id"`
// risk score
RiskScore *float32 `json:"resultdetails.risk_score,omitempty" db:"resultdetails.risk_score"`
// uid
UID *string `json:"resultdetails.uid,omitempty" db:"resultdetails.uid"`
}
Resultdetails resultdetails swagger:model Resultdetails
func (*Resultdetails) MarshalBinary ¶
func (m *Resultdetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Resultdetails) UnmarshalBinary ¶
func (m *Resultdetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SEFields ¶
SEFields is a struct that grabs the searchable and editable fields
var Sefields *SEFields
Sefields is the searchable and uneditable fields
func (*SEFields) GetSEFields ¶
GetSEFields gets two arrays
type Sample ¶
type Sample struct {
// cf plasma location
CfPlasmaLocation *string `json:"samples.cf_plasma_location,omitempty" db:"samples.cf_plasma_location"`
// comments
Comments *string `json:"samples.comments,omitempty" db:"samples.comments"`
// container id
ContainerID *string `json:"samples.container_id,omitempty" db:"samples.container_id"`
// container name
ContainerName *string `json:"samples.container_name,omitempty" db:"samples.container_name"`
// container type
ContainerType *string `json:"samples.container_type,omitempty" db:"samples.container_type"`
// container well
ContainerWell *string `json:"samples.container_well,omitempty" db:"samples.container_well"`
// copath num
CopathNum *string `json:"samples.copath_num,omitempty" db:"samples.copath_num"`
// date collected
DateCollected *time.Time `json:"samples.date_collected,omitempty" db:"samples.date_collected"`
// date received
DateReceived *time.Time `json:"samples.date_received,omitempty" db:"samples.date_received"`
// date submitted
DateSubmitted *time.Time `json:"samples.date_submitted,omitempty" db:"samples.date_submitted"`
// delta ct value
DeltaCtValue *float32 `json:"samples.delta_ct_value,omitempty" db:"samples.delta_ct_value"`
// dna concentration
DnaConcentration *float32 `json:"samples.dna_concentration,omitempty" db:"samples.dna_concentration"`
// dna extraction date
DnaExtractionDate *time.Time `json:"samples.dna_extraction_date,omitempty" db:"samples.dna_extraction_date"`
// dna location
DnaLocation *string `json:"samples.dna_location,omitempty" db:"samples.dna_location"`
// dna quality
DnaQuality *string `json:"samples.dna_quality,omitempty" db:"samples.dna_quality"`
// dna quality by rnase p
DnaQualityByRnaseP *float32 `json:"samples.dna_quality_by_rnase_p,omitempty" db:"samples.dna_quality_by_rnase_p"`
// dna sample barcode
DnaSampleBarcode *string `json:"samples.dna_sample_barcode,omitempty" db:"samples.dna_sample_barcode"`
// dna volume
DnaVolume *float32 `json:"samples.dna_volume,omitempty" db:"samples.dna_volume"`
// facility
Facility *string `json:"samples.facility,omitempty" db:"samples.facility"`
// ffpe qc date
FfpeQcDate *time.Time `json:"samples.ffpe_qc_date,omitempty" db:"samples.ffpe_qc_date"`
// h e slide location
HESlideLocation *string `json:"samples.h_e_slide_location,omitempty" db:"samples.h_e_slide_location"`
// has sample files
HasSampleFiles *bool `json:"samples.has_sample_files,omitempty" db:"samples.has_sample_files"`
// historical diagnosis
HistoricalDiagnosis *string `json:"samples.historical_diagnosis,omitempty" db:"samples.historical_diagnosis"`
// material received
MaterialReceived *string `json:"samples.material_received,omitempty" db:"samples.material_received"`
// material received num
MaterialReceivedNum *string `json:"samples.material_received_num,omitempty" db:"samples.material_received_num"`
// material received other
MaterialReceivedOther *string `json:"samples.material_received_other,omitempty" db:"samples.material_received_other"`
// name of requestor
NameOfRequestor *string `json:"samples.name_of_requestor,omitempty" db:"samples.name_of_requestor"`
// non uhn id
NonUhnID *string `json:"samples.non_uhn_id,omitempty" db:"samples.non_uhn_id"`
// other identifier
OtherIdentifier *string `json:"samples.other_identifier,omitempty" db:"samples.other_identifier"`
// pb bm location
PbBmLocation *string `json:"samples.pb_bm_location,omitempty" db:"samples.pb_bm_location"`
// plasma location
PlasmaLocation *string `json:"samples.plasma_location,omitempty" db:"samples.plasma_location"`
// reviewed by
ReviewedBy *string `json:"samples.reviewed_by,omitempty" db:"samples.reviewed_by"`
// rna concentration
RnaConcentration *float32 `json:"samples.rna_concentration,omitempty" db:"samples.rna_concentration"`
// rna extraction date
RnaExtractionDate *time.Time `json:"samples.rna_extraction_date,omitempty" db:"samples.rna_extraction_date"`
// rna location
RnaLocation *string `json:"samples.rna_location,omitempty" db:"samples.rna_location"`
// rna lysate location
RnaLysateLocation *string `json:"samples.rna_lysate_location,omitempty" db:"samples.rna_lysate_location"`
// rna quality
RnaQuality *float32 `json:"samples.rna_quality,omitempty" db:"samples.rna_quality"`
// rna volume
RnaVolume *float32 `json:"samples.rna_volume,omitempty" db:"samples.rna_volume"`
// rnase p date
RnasePDate *time.Time `json:"samples.rnase_p_date,omitempty" db:"samples.rnase_p_date"`
// sample id
SampleID *string `json:"samples.sample_id,omitempty" db:"samples.sample_id"`
// sample name
SampleName *string `json:"samples.sample_name,omitempty" db:"samples.sample_name"`
// sample size
SampleSize *string `json:"samples.sample_size,omitempty" db:"samples.sample_size"`
// sample type
SampleType *string `json:"samples.sample_type,omitempty" db:"samples.sample_type"`
// se num
SeNum *string `json:"samples.se_num,omitempty" db:"samples.se_num"`
// study id
StudyID *string `json:"samples.study_id,omitempty" db:"samples.study_id"`
// surgical num
SurgicalNum *string `json:"samples.surgical_num,omitempty" db:"samples.surgical_num"`
// test requested
TestRequested *string `json:"samples.test_requested,omitempty" db:"samples.test_requested"`
// tumor percnt of circled
TumorPercntOfCircled *float32 `json:"samples.tumor_percnt_of_circled,omitempty" db:"samples.tumor_percnt_of_circled"`
// tumor percnt of total
TumorPercntOfTotal *float32 `json:"samples.tumor_percnt_of_total,omitempty" db:"samples.tumor_percnt_of_total"`
// tumor site
TumorSite *string `json:"samples.tumor_site,omitempty" db:"samples.tumor_site"`
// volume of blood marrow
VolumeOfBloodMarrow *float32 `json:"samples.volume_of_blood_marrow,omitempty" db:"samples.volume_of_blood_marrow"`
// wbc location
WbcLocation *string `json:"samples.wbc_location,omitempty" db:"samples.wbc_location"`
// patient id
PatientID *string `json:"samples.patient_id,omitempty" db:"samples.patient_id"`
}
Sample sample swagger:model Sample
func (*Sample) MarshalBinary ¶
MarshalBinary interface implementation
func (*Sample) UnmarshalBinary ¶
UnmarshalBinary interface implementation