getAllPatients returns a format that the client understands