public void printPatientsBackwards() {
        if (nextPatient == null) {
            System.out.println("Patient: " + name + ", age: " + age + ", illness: " + illness);
        } else {
            nextPatient.printPatientsBackwards();
            System.out.println("Patient: " + name + ", age: " + age + ", illness: " + illness);
        }
    }