Adds patients mapping to query result instance (WIP)