Updated patientList to take a pageProvider config parameter so that it can be used by other modules