I would like to be able to query certain elements in my patient list. For example, create a list of all GPs in my database, or which patients has a certain GP referred