parseExceptions.addParseError("PatientNHSNo", "No NHS Number was provided");
}
}
// Gender (actually Sex)
Sex sex = (Sex)HelperUtils.safelyMapCodedValueToVocabEntry(
patient.getSex(), Sex._Notknown, "PatientGender", parseExceptions, true);
fields.setPatientGender(sex);
// Address
if (patient.getAddress() != null) {