query class added, demo for get patient info