starting Safety Signal (All drugs)
This commit is contained in:
25
docs/SymptomsCausedByDrugs/js/PrrBySymptomTableView.js
Normal file
25
docs/SymptomsCausedByDrugs/js/PrrBySymptomTableView.js
Normal file
@@ -0,0 +1,25 @@
|
||||
class PrrBySymptomTableView {
|
||||
|
||||
#delegate;
|
||||
|
||||
constructor(prrBySymptomTableElement, downloadPrrBySymptomTableButton) {
|
||||
this.#delegate = new PrrByKeyTableView(
|
||||
this.#createPrrBySymptomTable(prrBySymptomTableElement),
|
||||
downloadPrrBySymptomTableButton,
|
||||
'Vaccine',
|
||||
PrrByVaccineProvider.getPrrBySymptom);
|
||||
}
|
||||
|
||||
displayPrrBySymptomTable4Vaccine(vaccine) {
|
||||
this.#delegate.displayPrrByKeyTable4Value(vaccine);
|
||||
}
|
||||
|
||||
#createPrrBySymptomTable(tableElement) {
|
||||
return new PrrByKeyTable({
|
||||
tableElement: tableElement,
|
||||
keyColumnName: 'Symptom',
|
||||
prrColumnName: 'Lower Confidence Limit of Proportional Reporting Ratio >= 2',
|
||||
shallMarkRowIfPrrTooHigh: false
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user