starting Safety Signal (All drugs)

This commit is contained in:
Frank Knoll
2024-07-10 23:45:21 +02:00
parent 9e473ea7b2
commit 915066ed14
10 changed files with 662 additions and 1 deletions

View 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
});
}
}