public void printPatients() {
        System.out.println("Patient: " + name + ", age: " + age + ", illness: " + illness);
        if (!isLast) {
            nextPatient.printPatients();
        }
    }