Skip to content

Adding a report to display all combinations of vaccine name and target disease from the VaccinationReference table in TPP#207

Merged
rw251 merged 2 commits intomainfrom
rw/vaccine-report
Sep 19, 2025
Merged

Adding a report to display all combinations of vaccine name and target disease from the VaccinationReference table in TPP#207
rw251 merged 2 commits intomainfrom
rw/vaccine-report

Conversation

@rw251
Copy link
Copy Markdown
Contributor

@rw251 rw251 commented Sep 18, 2025

The list of categorical values for vaccine name (VaccinationName) and target disease (VaccinationContent) can be found in the output of existing queries. However users would find it useful to see which vaccines match with which target diseases. This PR produces that output and a report to display it.

Here are a couple of threads requesting this feature:

https://bennettoxford.slack.com/archives/C069YDR4NCA/p1730805376684959
https://bennettoxford.slack.com/archives/C069YDR4NCA/p1756385458892829
https://bennettoxford.slack.com/archives/C096EMY1YDP/p1758011525215129

@rw251 rw251 force-pushed the rw/vaccine-report branch 3 times, most recently from 53d02bb to f6e3de5 Compare September 18, 2025 16:30
@rw251 rw251 self-assigned this Sep 18, 2025
VaccinationName,
VaccinationContent
FROM VaccinationReference
ORDER BY VaccinationName, VaccinationContent;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivial thing, but it might be better to order by VaccinationContent first because that way products targeting the same pathogens will be grouped together. There's no consistent structure to the product names so the ordering there doesn't result in any meaningful groupings.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a very good point - thanks - I'll update.

We want every combination of VaccinationName and VaccinationContent (target disease)
Currently this is just for vaccine name/target disease combos, but could in theory be extended to other similar things.
@rw251 rw251 merged commit 0c7bf94 into main Sep 19, 2025
4 checks passed
@rw251 rw251 deleted the rw/vaccine-report branch September 19, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants