Provide a new function, @ResponseDocuments that can be run in the context of the currently opened/processed document and will return a list of UNIDs of all the responses or a list of field values from the response documents.
UNIDlist := @ResponseDocuments ([UNID], [NOCONFLICT]);
would return a list of UNIDs of all response documents except for possible replication/save conflict documents.
fieldValueList := @ResponseDocuments ("FIELD_NAME"; [NOCONFLICT] );
would return a list of values from the FIELD_NAME found in all the response documents except confict documents.