// Null checks for mandatory fields
if (fields.getPatientNHSNoTraceStatus() == null) {
missingFields.addMissingField("PatientNHSNoTraceStatus", "The tracing status for the NHS number must be provided");
}
if (fields.getPatientNHSNo() == null) {
missingFields.addMissingField("PatientNHSNo", "The patient's NHS number must be provided");
}
if (fields.getPatientName() == null) {
missingFields.addMissingField("PatientName", "The patient's name must be provided");
}
if (fields.getPatientGender() == null) {