starting Safety Signal (All drugs)
This commit is contained in:
25
docs/SymptomsCausedByDrugs/js/PrrByVaccineTableView.js
Normal file
25
docs/SymptomsCausedByDrugs/js/PrrByVaccineTableView.js
Normal file
@@ -0,0 +1,25 @@
|
||||
class PrrByVaccineTableView {
|
||||
|
||||
#delegate;
|
||||
|
||||
constructor(prrByVaccineTableElement, downloadPrrByVaccineTableButton) {
|
||||
this.#delegate = new PrrByKeyTableView(
|
||||
this.#createPrrByVaccineTable(prrByVaccineTableElement),
|
||||
downloadPrrByVaccineTableButton,
|
||||
'Symptom',
|
||||
PrrByVaccineProvider.getPrrByVaccine);
|
||||
}
|
||||
|
||||
displayPrrByVaccineTable4Symptom(symptom) {
|
||||
this.#delegate.displayPrrByKeyTable4Value(symptom);
|
||||
}
|
||||
|
||||
#createPrrByVaccineTable(tableElement) {
|
||||
return new PrrByKeyTable({
|
||||
tableElement: tableElement,
|
||||
keyColumnName: 'Vaccine',
|
||||
prrColumnName: 'Lower Confidence Limit of Proportional Reporting Ratio',
|
||||
shallMarkRowIfPrrTooHigh: true
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user