1. A query system, configured to access or obtain patient data from a medical information system comprising a set of electronic devices including means for monitoring patients, wherein said query system comprises: A. a query script generator for defining one or more query scripts, each of said query scripts comprising a set of query attributes associated with elements of a subset of patient data; B a query script executor, configured to apply said query script to said patient data and to generate query results comprising said elements of said subset of patient data; and C an output generator, configured to output said query results.