Skip to content
Draft
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
39 changes: 39 additions & 0 deletions app/views/errors/no-and-partial-history-combined.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% extends 'layout.html' %}

{% set pageName = "There is a temporary problem getting Jodie Brown's vaccination history" %}


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

{% set currentSection = "vaccinate" %}


{% block content %}
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>

{% from "button/macro.njk" import button %}

{{ button({
text: "Try again"
}) }}

&nbsp; &nbsp;

{% from "button/macro.njk" import button %}

{{ button({
text: "Continue anyway",
classes: "nhsuk-button--secondary"
}) }}



</div>
</div>


{% endblock %}
37 changes: 37 additions & 0 deletions app/views/errors/no-patient-details-alt.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% extends 'layout.html' %}

{% set pageName = "There is a temporary problem getting the patient's details" %}


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


{% block content %}
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>


{% from "button/macro.njk" import button %}

{{ button({
text: "Try again"
}) }}


&nbsp; &nbsp;

{% from "button/macro.njk" import button %}

{{ button({
text: "Continue anyway",
classes: "nhsuk-button--secondary"
}) }}

</div>
</div>


{% endblock %}
2 changes: 1 addition & 1 deletion app/views/errors/partial-vaccination-history.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>


<p>You may not see all the vaccination records that are usually shown in this service.</p>
<p>We cannot access some flu vaccination records.</p>

{% from "button/macro.njk" import button %}

Expand Down
18 changes: 6 additions & 12 deletions app/views/record-vaccinations/patient-history-none.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">

<h1 class="nhsuk-heading-l">Check {{ data.patientName }}’s details</h1>
<h1 class="nhsuk-heading-l">Check Jodie Brown’s details</h1>

{{ summaryList({
classes: 'xnhsuk-summary-list--no-border',
Expand Down Expand Up @@ -65,21 +65,15 @@ <h1 class="nhsuk-heading-l">Check {{ data.patientName }}’s details</h1>
]
}) }}

{% if data.vaccine == "COVID-19" %}
{% from "warning-callout/macro.njk" import warningCallout %}

{% set screeningConsiderations %}
<ul>
<li>Does the patient have a history of anaphylaxis or significant allergic reactions to any vaccines or their ingredients?</li>
<li>Has the patient had a serious adverse reaction after the COVID-19 vaccine?</li>
<li>Is the patient pregnant or could they be?</li>
</ul>
{% endset %}
{{ warningCallout({
heading: "Important",
text: "There was a problem getting the patient's vaccination history. Check previous vaccinations with them."
}) }}



{% endif %}



<form action="{{ nextPage }}" method="post" novalidate>
{{ button({
Expand Down
1 change: 1 addition & 0 deletions app/views/record-vaccinations/patient-history.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ <h1 class="nhsuk-heading-l">Check {{ data.firstName }} {{ data.lastName }}’s d

{% endif %}


<h2 class="nhsuk-heading-m">Vaccination history</h2>

<p>This shows NHS vaccinations given in England. Currently it includes COVID-19, flu and RSV, plus some pertussis, pneumococcal and MMR vaccination records.</p>
Expand Down