REPORT-598 - BasicEncounterQuery that can query on encounterDatetime