How to add Related Person information based on the role at the case on the Document Template?