From 870f5ae245742a4f80def36dc2307ede6c6e2227 Mon Sep 17 00:00:00 2001
From: frankknoll
Date: Sun, 16 Apr 2023 15:35:21 +0200
Subject: [PATCH] styling
---
docs/AdverseReactionReportsChartView.js | 2 +-
docs/BatchCodeDetailsView.js | 7 -------
docs/batchCodeTable.html | 17 ++++++++---------
3 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/docs/AdverseReactionReportsChartView.js b/docs/AdverseReactionReportsChartView.js
index 73fd6729a1b..d9b810dda90 100644
--- a/docs/AdverseReactionReportsChartView.js
+++ b/docs/AdverseReactionReportsChartView.js
@@ -33,7 +33,7 @@ class AdverseReactionReportsChartView {
'Deaths',
'Disabilities',
'Life Threatening Illnesses',
- 'Other Adverse Reaction Reports'
+ 'Other Adverse Events'
],
datasets: [{
// FK-TODO: refactor
diff --git a/docs/BatchCodeDetailsView.js b/docs/BatchCodeDetailsView.js
index 2bd7a8a02a1..4cebe9260f5 100644
--- a/docs/BatchCodeDetailsView.js
+++ b/docs/BatchCodeDetailsView.js
@@ -1,14 +1,12 @@
class BatchCodeDetailsView {
#uiContainer;
- #headingElement;
#adverseReactionReportsChartView;
#histogramChartView;
#chartWithSlider;
constructor(uiContainer) {
this.#uiContainer = uiContainer
- this.#headingElement = this.#uiContainer.querySelector(".heading");
this.#adverseReactionReportsChartView = new AdverseReactionReportsChartView(this.#uiContainer.querySelector('#adverseReactionReportsChartView'));
this.#chartWithSlider = this.#uiContainer.querySelector('.chartWithSlider');
this.#histogramChartView = new HistogramChartView(this.#chartWithSlider.querySelector("canvas"));
@@ -32,15 +30,10 @@ class BatchCodeDetailsView {
}
#displayHistogramViewForHistoDescrs(histoDescrs) {
- this.#displayHeading(histoDescrs.batchcode);
this.#displayAdverseReactionReportsChart(histoDescrs);
this.#displayHistogram(histoDescrs);
}
- #displayHeading(batchcode) {
- this.#headingElement.textContent = `Frequencies of reported Symptoms for Batch Code ${batchcode}`
- }
-
#displayAdverseReactionReportsChart(histoDescrs) {
this.#adverseReactionReportsChartView.displayChart(histoDescrs);
}
diff --git a/docs/batchCodeTable.html b/docs/batchCodeTable.html
index 1684cb13f87..734dbcb9299 100644
--- a/docs/batchCodeTable.html
+++ b/docs/batchCodeTable.html
@@ -49762,16 +49762,15 @@
+
Results or Outcomes of Adverse Events
-
-
-
-
-
-
-
+
Frequencies of Reported Symptoms
+