if (representative != null) {
data.put("representative_surname", representative.getSurname().getTitle());
data.put("representative_name", representative.getName().getTitle());
data.put("representative_patron", representative.getPathron().getTitle());
data.put("is_representative_document", Boolean.TRUE);
DirectoryRepresentativeStatusItem item = client.getRepresStatus();
if (item != null) {
data.put("representative_status", item.getID());
}
doc = representative.getClientDocument();
polis = representative.getPolisOMS();
}