Commit cad6719
Limit vaccines to ones added (#332)
This updates the prototype to only let you select teams, vaccines,
vaccine products and batches that you have added within the Vaccines
section.
It adds some text to each page to explain what do to if the thing you're
looking for is not listed - this varies slightly depending on whether
you have permissions to add it.
It also makes clear within the Vaccines section that you must only add
vaccines you've been commissioned to give.
## Version 1
In this version, all organisations _can_ add all vaccinations (as now),
but we’d make it clearer that they should only add vaccines they’ve been
commissioned to deliver:
<img width="1003" alt="Screenshot 2025-05-23 at 15 22 48"
src="https://github.com/user-attachments/assets/0939837c-e97c-4d2f-8402-049789d9e95b"
/>
In the 'Record vaccination' flow, only vaccines that have been added are
visible, and some text is added beneath the button to explain how to add
vaccines that are missing:
<img width="947" alt="Screenshot 2025-05-23 at 15 29 06"
src="https://github.com/user-attachments/assets/0c915b2d-21da-41f5-978d-24eafe86e35d"
/>
## Version 2
This version would only let organisations add vaccines they have
permission for. If they need to add further vaccines, they could request
them, and these requests would have to be approved by another team.
<img width="967" alt="Screenshot 2025-05-23 at 15 23 05"
src="https://github.com/user-attachments/assets/193e458d-668a-4c3e-9ce3-855a85a64de7"
/>
After submitting the request, they’d get a confirmation screen:
<img width="1032" alt="Screenshot 2025-05-23 at 15 23 13"
src="https://github.com/user-attachments/assets/946d61ce-1d65-46fa-9d07-7abd71937646"
/>
---------
Co-authored-by: Anna-Sutton <[email protected]>1 parent 0c4e943 commit cad6719
File tree
19 files changed
+1086
-3251
lines changed- app
- data
- routes
- views
- record-vaccinations
- vaccines
19 files changed
+1086
-3251
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
713 | 771 | | |
714 | 772 | | |
715 | 773 | | |
| |||
0 commit comments