No output fields are necessary in the query. All the necessary data is exported when the export file is created in either the Data Health Center or the export module.