added patientlist with options 'startDate', 'endDate', 'encounterType'