page.addElement(divLine(posX+140));
page.addElement(insertCenterBoldText("Status", posX+145, posY, 390));
posY += 15;
List<Registration> registrations = (List<Registration>) system.query(new GetRegistrationById(idStudent));
List<Presence> presences = new ArrayList<Presence>();
for (Registration registration : registrations) {
for (RegistrationAppointment registrationAppointment : registration.getRegistrationAppointment()) {
if(!registrationAppointment.isReplacement()) {