Function to defer date for test in java client.
Get all patients uids from database