Fetching requested patient data from the database iff perms checkout