in clns-acuity-vahub/vahub/src/main/webapp/src/app/data/HttpServiceFactory.ts [138:226]
public getHttpService(tabId: TabId): BaseChartsHttpService {
switch (tabId) {
case TabId.CARDIAC_BOXPLOT:
return this.cardiacBoxPlotHttpService;
case TabId.SINGLE_SUBJECT_CARDIAC_LINEPLOT:
return this.cardiacSingleSubjectRangePlotHttpService;
case TabId.LAB_BOXPLOT:
return this.labsBoxPlotHttpService;
case TabId.SINGLE_SUBJECT_LUNG_LINEPLOT:
return this.respiratorySingleSubjectRangePlotHttpService;
case TabId.LUNG_FUNCTION_BOXPLOT:
return this.respiratoryBoxPlotHttpService;
case TabId.EXACERBATIONS_OVER_TIME:
return this.exacerbationsBarLineChartHttpService;
case TabId.EXACERBATIONS_COUNTS:
return this.exacerbationsLineChartHttpService;
case TabId.EXACERBATIONS_GROUPED_COUNTS:
return this.exacerbationsGroupedBarChartHttpService;
case TabId.RENAL_LABS_BOXPLOT:
return this.renalBoxPlotHttpService;
case TabId.SINGLE_SUBJECT_RENAL_LINEPLOT:
return this.renalSingleSubjectRangePlotHttpService;
case TabId.RENAL_CKD_BARCHART:
return this.renalBarChartHttpService;
case TabId.AES_COUNTS_BARCHART:
return this.aesBarChartHttpService;
case TabId.CI_EVENT_COUNTS:
return this.cieventsBarChartHttpService;
case TabId.CI_EVENT_OVERTIME:
return this.cieventsBarLineChartHttpService;
case TabId.CONMEDS_BARCHART:
return this.conmeds;
case TabId.VITALS_BOXPLOT:
return this.vitalsBoxPlotHttpService;
case TabId.SINGLE_SUBJECT_VITALS_LINEPLOT:
return this.vitalsSingleSubjectRangePlotHttpService;
case TabId.LAB_LINEPLOT:
return this.labsRangePlotHttpService;
case TabId.SINGLE_SUBJECT_LAB_LINEPLOT:
return this.labsSingleSubjectRangePlotHttpService;
case TabId.LIVER_HYSLAW:
return this.liverScatterPlotHttpService;
case TabId.SINGLE_SUBJECT_LIVER_HYSLAW:
return this.liverSingleSubjectScatterPlotHttpService;
case TabId.LAB_SHIFTPLOT:
return this.labsShiftPlotHttpService;
case TabId.POPULATION_BARCHART:
case TabId.POPULATION_TABLE:
return this.population;
case TabId.AES_OVER_TIME:
return this.aesBarLineChartHttpService;
case TabId.AES_CHORD_DIAGRAM:
return this.aesChordHttpService;
case TabId.ANALYTE_CONCENTRATION:
return this.exposure;
case TabId.DOSE_PROPORTIONALITY_BOX_PLOT:
return this.doseProportionalityHttpService;
case TabId.PK_RESULT_OVERALL_RESPONSE:
return this.exposureOverallResponseService;
case TabId.BIOMARKERS_HEATMAP_PLOT:
return this.biomarkers;
case TabId.CTDNA_PLOT:
return this.ctDnaHttpService;
case TabId.CVOT_ENDPOINTS_COUNTS:
return this.cvotGroupedBarChartHttpService;
case TabId.CVOT_ENDPOINTS_OVER_TIME:
return this.cvotBarLineChartHttpService;
case TabId.TL_DIAMETERS_PLOT:
return this.tlDiametersHttpService;
case TabId.TL_DIAMETERS_PER_SUBJECT_PLOT:
return this.tlDPerSubjectHttpService;
case TabId.TUMOUR_RESPONSE_WATERFALL_PLOT:
return this.tumourRespWaterfallService;
case TabId.TUMOUR_RESPONSE_PRIOR_THERAPY:
return this.tumourRespPriorTherapyHttpService;
case TabId.CEREBROVASCULAR_COUNTS:
return this.cerebrovascularBarChartHttpService;
case TabId.CEREBROVASCULAR_EVENTS_OVER_TIME:
return this.cveOverTimeBarChartHttpService;
case TabId.QT_PROLONGATION:
return this.qtProlongationBarChartHttpService;
case '':
console.warn('HTTP service is requested for empty tab');
return;
default:
console.error('HTTP service is not defined for tab' + tabId);
return;
}
}