If passed a data item that stores a link to another record, this function will return the record that it links to.
=GetLinkedItem(GetParentItem(GetRole(%INDI%, "CENS[1881]")))
See the discussion of this example in GetParentItem.