original_string: public function getRespondentName()
      {
          if ($this->hasRelation()) {
              if ($relation = $this->getRelation()) {
                  return $relation->getName();
              } else {
                  return null;
              }
          }
  
          return $this->getRespondent()->getName();
      }
code: public function getRespondentName()
      {
          if ($this->hasRelation()) {
              if ($relation = $this->getRelation()) {
                  return $relation->getName();
              } else {
                  return null;
              }
          }
  
          return $this->getRespondent()->getName();
      }
code_tokens: public function getRespondentName ( ) { if ( $ this -> hasRelation ( ) ) { if ( $ relation = $ this -> getRelation ( ) ) { return $ relation -> getName ( ) ; } else { return null ; } } return $ this -> getRespondent ( ) -> getName ( ) ; }
docstring: Get the name of the person answering this token
  
  Could be the patient or the relation when assigned to one
  
  @return string
docstring_tokens: Get the name of the person answering this token