commented out limit select all patients query