refactoring
This commit is contained in:
@@ -37,6 +37,7 @@ class AdverseReactionReportsChartView {
|
||||
],
|
||||
datasets: [{
|
||||
// FK-TODO: refactor
|
||||
label: ADRDescr['batchcode'],
|
||||
data: [
|
||||
ADRDescr['Deaths'],
|
||||
ADRDescr['Disabilities'],
|
||||
|
||||
@@ -42,13 +42,7 @@ class BatchCodeDetailsView {
|
||||
}
|
||||
|
||||
#displayAdverseReactionReportsChart(histoDescrs) {
|
||||
this.#adverseReactionReportsChartView.displayChart(
|
||||
{
|
||||
'Adverse Reaction Reports': histoDescrs['Adverse Reaction Reports'],
|
||||
'Deaths': histoDescrs['Deaths'],
|
||||
'Disabilities': histoDescrs['Disabilities'],
|
||||
'Life Threatening Illnesses': histoDescrs['Life Threatening Illnesses']
|
||||
});
|
||||
this.#adverseReactionReportsChartView.displayChart(histoDescrs);
|
||||
}
|
||||
|
||||
#displayHistogram(histoDescr) {
|
||||
|
||||
Reference in New Issue
Block a user