Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ <h3>COVID-19</h3>
<ul>
<li><a href="/record-vaccinations/covid-19/interval-warning">Had a COVID-19 vaccine less than 3 months ago</a></li>
<li><a href="/record-vaccinations/covid-19/too-young-warning">Too young for product</a></li>
<li><a href="/record-vaccinations/covid-19/too-old-warning">Too old for product</a></li>
<li><a href="/record-vaccinations/covid-19/no-gp-surgery-warning">No GP surgery and not outreach</a></li>
<li><a href="/record-vaccinations/covid-19/not-in-pcn-warning">Not in PCN and not outreach</a></li>
</ul>
Expand All @@ -180,6 +181,7 @@ <h3>flu</h3>

<ul>
<li><a href="/record-vaccinations/flu/too-young-warning">Too young for product</a></li>
<li><a href="/record-vaccinations/flu/too-old-warning">Too old for product</a></li>
</ul>

<h3>RSV</h3>
Expand Down
40 changes: 40 additions & 0 deletions app/views/record-vaccinations/covid-19/too-old-warning.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{% extends 'layout.html' %}

{% set pageName = "Vaccine product age warning" %}

{% set currentSection = "vaccinate" %}

{% block beforeContent %}
{{ backLink({ href: "/record-vaccinations/patient-history" }) }}
{% endblock %}

{% block content %}
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">

{% if data.firstName and data.lastName %}
{% set displayName = data.firstName ~ ' ' ~ data.lastName %}
{% else %}
{% set displayName = 'Patient Name' %}
{% endif %}

{% set panelHtml %}
<p>Comirnaty 10 LP.8.1 is usually recommended for people aged 6 months to 11 years. {{ displayName }} is 13 years old.</p>
<p>Check before going ahead or refer to a prescriber for a patient specific direction (PSD).</p>

{{ button({
"text": "Continue anyway",
"href": "/record-vaccinations/consent",
"classes": "nhsuk-button--reverse"
}) }}
{% endset %}

{{ panel({
titleText: displayName + " may be too old for this vaccine product",
html: panelHtml,
classes: "nhsuk-panel--interruption"
}) }}

</div>
</div>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{% endif %}

{% set panelHtml %}
<p>Adjuvanted Quadrivalent Influenza Vaccine (aQIV) is not usually recommended for people under the age of 65. {{ displayName }} is 64 years old.</p>
<p>Comirnaty 30 LP.8.1 is usually recommended for people aged 12 and over. {{ displayName }} is 11 years old.</p>
<p>Check before going ahead or refer to a prescriber for a patient specific direction (PSD).</p>

{{ button({
Expand Down
43 changes: 43 additions & 0 deletions app/views/record-vaccinations/flu/too-old-warning.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

{% extends 'layout.html' %}

{% set pageName = "Vaccine product age warning" %}

{% set currentSection = "vaccinate" %}

{% block beforeContent %}
{{ backLink({ href: "/record-vaccinations/patient-history" }) }}
{% endblock %}

{% block content %}
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">

{% if data.firstName and data.lastName %}
{% set displayName = data.firstName ~ ' ' ~ data.lastName %}
{% else %}
{% set displayName = 'Patient Name' %}
{% endif %}

{% set panelHtml %}
<p>Fluenz (LAIV) is usually recommended for people aged 2 years to 17 years. {{ displayName }} is 18 years old.</p>
<p>Check before going ahead or refer to a prescriber for a patient specific direction (PSD).</p>

{{ button({
"text": "Continue anyway",
"href": "/record-vaccinations/consent",
"classes": "nhsuk-button--reverse"
}) }}
{% endset %}

{{ panel({
titleText: displayName + " may be too old for this vaccine product",
html: panelHtml,
classes: "nhsuk-panel--interruption"
}) }}

</div>
</div>

{% endblock %}

2 changes: 1 addition & 1 deletion app/views/record-vaccinations/flu/too-young-warning.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endif %}

{% set panelHtml %}
<p>[Product name] is not usually recommended for people under the age of 65. {{ displayName }} is 64 years old.</p>
<p>Adjuvanted Trivalent Influenza Vaccine (aTIV) is usually recommended for people aged 50 and over. {{ displayName }} is 45 years old.</p>
<p>Check before going ahead or refer to a prescriber for a patient specific direction (PSD).</p>

{{ button({
Expand Down