I have a query that looks up information for a given patient and then calculates some more info based on data from some related tables. Some of the calculated fields are rel