public function getRespondentName()
    {
        if ($this->hasRelation()) {
            if ($relation = $this->getRelation()) {
                return $relation->getName();
            } else {
                return null;
            }
        }

        return $this->getRespondent()->getName();
    }
public function getRespondentName()
    {
        if ($this->hasRelation()) {
            if ($relation = $this->getRelation()) {
                return $relation->getName();
            } else {
                return null;
            }
        }

        return $this->getRespondent()->getName();
    }
public function getRespondentName ( ) { if ( $ this -> hasRelation ( ) ) { if ( $ relation = $ this -> getRelation ( ) ) { return $ relation -> getName ( ) ; } else { return null ; } } return $ this -> getRespondent ( ) -> getName ( ) ; }
Get the name of the person answering this token

Could be the patient or the relation when assigned to one

@return string
Get the name of the person answering this token