String buildHeaderTitle(NeedsAssessmentListVo record) { if(record == null) return "Unknown needs assessment"; String result = ""; result += "Started on "; result += record.getDateStartedIsNotNull() ? record.getDateStarted().toString() : "<unknown>"; result += " by "; result += getHCPName(record.getAuthoringHCP()); return result; }