Skip to content

Commit 224d059

Browse files
Injection site changed to vaccination site (#434)
Changed question to 'Where did you give the vaccination?' And added answer stem for 'Nose'. This is so nasal vaccines can be selected on this screen. In future we hope to be able to revert back and skip this question for nasal and oral vaccinations, but that will require a change to the data model. ## Screenshots ### Before <img width="816" height="466" alt="Screenshot 2025-08-28 at 13 03 51" src="https://github.com/user-attachments/assets/cc98e2f3-0455-4df1-81ee-9ebf9c9fb6d3" /> #### Check answers page <img width="738" height="573" alt="Screenshot 2025-08-28 at 13 05 46" src="https://github.com/user-attachments/assets/3c7bc630-c53f-401f-bf7e-40cc1ab2ba43" /> ### After <img width="788" height="500" alt="Screenshot 2025-08-28 at 13 03 41" src="https://github.com/user-attachments/assets/c36e4081-27de-46ee-a546-2dc031c47095" /> #### Check answers page <img width="715" height="573" alt="Screenshot 2025-08-28 at 13 06 59" src="https://github.com/user-attachments/assets/d14739ff-d4d1-4bdc-bc25-5de8c8c29099" /> --------- Co-authored-by: Frankie Roberto <[email protected]>
1 parent 5b6b124 commit 224d059

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

app/routes/record-vaccinations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,13 +955,13 @@ module.exports = router => {
955955

956956
if (!injectionSite) {
957957
injectionSiteError = {
958-
text: "Select where you gave the injection",
958+
text: "Select where you gave the vaccine",
959959
href: "#injection-site-1"
960960
}
961961
errors.push(injectionSiteError)
962962
} else if (injectionSite === "other" && !otherInjectionSite) {
963963
otherInjectionSiteError = {
964-
text: "Select where you gave the injection",
964+
text: "Select where you gave the vaccine",
965965
href: "#other-injection-site-1"
966966
}
967967
errors.push(otherInjectionSiteError)

app/views/record-vaccinations/check.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,14 @@ <h2 class="nhsuk-heading-m">Vaccination</h2>
329329
{
330330
href: "/record-vaccinations/consent",
331331
text: "Change",
332-
visuallyHiddenText: "consnet"
332+
visuallyHiddenText: "consent"
333333
}
334334
]
335335
}
336336
},
337337
{
338338
key: {
339-
text: "Injection site"
339+
text: "Vaccination site"
340340
},
341341
value: {
342342
html: (data.otherInjectionSite if data.injectionSite == "other" else data.injectionSite)
@@ -346,7 +346,7 @@ <h2 class="nhsuk-heading-m">Vaccination</h2>
346346
{
347347
href: "/record-vaccinations/injection-site",
348348
text: "Change",
349-
visuallyHiddenText: "contact details"
349+
visuallyHiddenText: "Vaccination site"
350350
}
351351
]
352352
}

app/views/record-vaccinations/injection-site.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% set pageName = "Where did you give the injection?" %}
3+
{% set pageName = "Where did you give the vaccine?" %}
44

55
{% set currentSection = "vaccinate" %}
66

@@ -28,7 +28,7 @@
2828
name: "otherInjectionSite",
2929
fieldset: {
3030
legend: {
31-
text: "Injection site",
31+
text: "Body part",
3232
classes: "nhsuk-fieldset__legend--s"
3333
}
3434
},
@@ -66,7 +66,7 @@
6666
name: "injectionSite",
6767
fieldset: {
6868
legend: {
69-
text: ("Where did you give the injection?" if data.vaccinationToday == 'yes' else "Where was the injection given?"),
69+
text: ("Where did you give the vaccine?" if data.vaccinationToday == 'yes' else "Where was the vaccine given?"),
7070
classes: "nhsuk-fieldset__legend--l",
7171
isPageHeading: true
7272
}
@@ -85,6 +85,11 @@
8585
text: "Right arm",
8686
checked: (data.injectionSite == 'Right arm')
8787
},
88+
{
89+
value: "Nose",
90+
text: "Nose",
91+
checked: (data.injectionSite == 'Nose')
92+
},
8893
{
8994
divider: "or"
9095
},

0 commit comments

Comments
 (0)