diff --git a/app/lib/reports/careplus_exporter.rb b/app/lib/reports/careplus_exporter.rb index 49f71764a..864d5b302 100644 --- a/app/lib/reports/careplus_exporter.rb +++ b/app/lib/reports/careplus_exporter.rb @@ -138,7 +138,7 @@ def existing_row(patient:, patient_session:, vaccination_records:) patient.family_name, patient.given_name, patient.date_of_birth.strftime("%d/%m/%Y"), - patient.address_line_1, + patient.restricted? ? "" : patient.address_line_1, patient_session.latest_consents(programme:).first&.name || "", 99, # Ethnicity, 99 is "Not known" first_vaccination.performed_at.strftime("%d/%m/%Y"),