PersonWrapper subject = notification.getPersonWrapper();
clinicIdTextField.setText(subject.getClinicId());
firstNameTextField.setText(subject.getFirstName());
middleNameTextField.setText(subject.getMiddleName());
lastNameTextField.setText(subject.getLastName());
Sex sex = subject.getSex();
sexTextField.setText(sex != null ? sex.toString() : "Unavailable");
Date birthDate = subject.getBirthdate();
birthdateTextField.setText(birthDate != null ? new SimpleDateFormat("dd/MM/yyyy").format(subject.getBirthdate())
: "Unavailable");
notificationTypeTextField.setText(notification.getType().toString());
Date occurenceDate = notification.getOccurenceDate();