String fineContract = gd.get("fineContract") == null ? "_____" : gd.get("fineContract").toString();
if (idRegistration != null) {
registration = (Registration) system.query(new GetRegistration(idRegistration));
Person person = registration.getStudent();
Student student = (Student) person.getPersonType("student");
contractName = "Contrato de " + person.getName();
nameStudent = registration.getStudent().getName();
genderStudent = registration.getStudent().getGender();
birthDateStudent = registration.getStudent().getBirthDate();
civilStateStudent = registration.getStudent().getCivilState();
rgStudent = registration.getStudent().getRg();