Skip to content

Commit ebba7e3

Browse files
Age and GP changes (#609)
Changed the displayed age on the patient details page for our default patient to 76 years old as that's the age Jodie Brown born in August 1949 would now be. Changed 'Registered GP' label on the Patient details page to 'GP surgery' Added age to the Check and confirm page. --------- Co-authored-by: Frankie Roberto <frankie@frankieroberto.com>
1 parent 1b07b55 commit ebba7e3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/views/record-vaccinations/check.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2 class="nhsuk-heading-m">Patient</h2>
8585
text: "Date of birth"
8686
},
8787
value: {
88-
text: (data.dateOfBirth | isoDateFromDateInput | govukDate)
88+
html: (data.dateOfBirth | isoDateFromDateInput | govukDate) + "<br>(76 years old)"
8989
},
9090
actions: {
9191
items: [

app/views/record-vaccinations/patient-history.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% set dateOfBirthHtml %}
99
{% if data.dateOfBirth.day %}
1010
{{ (data.dateOfBirth | isoDateFromDateInput | govukDate) }}
11-
<br>(75 years old)
11+
<br>(76 years old)
1212
{% else %}
1313
{{ (data.dateOfBirth | govukDate) }}
1414
{% endif %}
@@ -78,7 +78,7 @@ <h1 class="nhsuk-heading-l">Check {{ data.firstName }} {{ data.lastName }}’s d
7878
},
7979
{
8080
key: {
81-
text: "Registered GP"
81+
text: "GP surgery"
8282
},
8383
value: {
8484
html: "Beech House surgery <br>1 Ash Tree Road<br>Knaresborough<br>HG5 0UB"

0 commit comments

Comments
 (0)