Vinay, Hemanth | #1402 | Patients to be discharged query should not return already discharged patients