Skip to content

Commit 85f8206

Browse files
authored
Merge pull request #3979 from nhsuk/add-dose-volume-to-mavis-vaccinations-report
Add DOSE_VOLUME to Mavis vaccinations report
2 parents 5c44912 + 9880501 commit 85f8206

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

app/lib/reports/programme_vaccinations_exporter.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def headers
7070
ANATOMICAL_SITE
7171
ROUTE_OF_VACCINATION
7272
DOSE_SEQUENCE
73+
DOSE_VOLUME
7374
REASON_NOT_VACCINATED
7475
LOCAL_PATIENT_ID
7576
SNOMED_PROCEDURE_CODE
@@ -219,6 +220,7 @@ def row(vaccination_record:)
219220
anatomical_site(vaccination_record:),
220221
route_of_vaccination(vaccination_record:),
221222
dose_sequence(vaccination_record:),
223+
vaccination_record.dose_volume_ml,
222224
reason_not_vaccinated(vaccination_record:),
223225
patient.id,
224226
programme.snomed_procedure_code,

spec/lib/reports/programme_vaccinations_exporter_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
ANATOMICAL_SITE
7272
ROUTE_OF_VACCINATION
7373
DOSE_SEQUENCE
74+
DOSE_VOLUME
7475
REASON_NOT_VACCINATED
7576
LOCAL_PATIENT_ID
7677
SNOMED_PROCEDURE_CODE
@@ -130,6 +131,7 @@
130131
"CONSENT_STATUS" => "",
131132
"DATE_OF_VACCINATION" => "2024-01-01",
132133
"DOSE_SEQUENCE" => vaccination_record.dose_sequence.to_s,
134+
"DOSE_VOLUME" => vaccination_record.dose_volume_ml.to_s,
133135
"GILLICK_ASSESSED_BY" => "",
134136
"GILLICK_ASSESSMENT_DATE" => "",
135137
"GILLICK_ASSESSMENT_NOTES" => "",
@@ -282,6 +284,7 @@
282284
"CONSENT_STATUS" => "",
283285
"DATE_OF_VACCINATION" => "2024-01-01",
284286
"DOSE_SEQUENCE" => vaccination_record.dose_sequence.to_s,
287+
"DOSE_VOLUME" => vaccination_record.dose_volume_ml.to_s,
285288
"GILLICK_ASSESSED_BY" => "",
286289
"GILLICK_ASSESSMENT_DATE" => "",
287290
"GILLICK_ASSESSMENT_NOTES" => "",

0 commit comments

Comments
 (0)