Skip to content

Commit da4b05d

Browse files
committed
Add vaccine to the dose column in the record table. When different vaccines are given that count towards the same schedule it needs to be clear (eg MMR and MMRV)
1 parent dca3cd3 commit da4b05d

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

app/views/patient/_vaccination-record.njk

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,19 @@
4747
{% endfor %}
4848

4949
{% for valid in summary.validDoses %}
50+
{% set validDoseHtml %}
51+
{{ __mf("patientProgramme.vaccinationRecord.dose.number", {
52+
sequence: valid.sequence
53+
}) }}
54+
{% if valid.vaccination.vaccine.type %}
55+
<br>
56+
<span class="nhsuk-u-secondary-text-colour nhsuk-u-font-size-16">{{ valid.vaccination.vaccine.type }}</span>
57+
{% endif %}
58+
{% endset %}
5059
{% set rows = rows | push([
5160
{
5261
header: __("patientProgramme.vaccinationRecord.dose.label"),
53-
text: __mf("patientProgramme.vaccinationRecord.dose.number", {
54-
sequence: valid.sequence
55-
})
62+
html: validDoseHtml
5663
},
5764
{
5865
header: __("vaccination.createdAt.label"),

lib/create-data.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ function buildSeededMmrVaccination({
737737
patient_uuid,
738738
patientSession_uuid,
739739
programme_id: 'mmr',
740+
vaccine_snomed: '13968211000001108', // M-M-RvaxPro (MMR)
740741
outcome: given
741742
? VaccinationOutcome.Vaccinated
742743
: (notGivenOutcome || VaccinationOutcome.Unwell),

0 commit comments

Comments
 (0)