public void addPatient(Patient newPatient) {
        if (nextPatient == null) {
            nextPatient = newPatient;
            nextPatient.previousPatient = this;
        } else {
            nextPatient.addPatient(newPatient);
        }
    }