public function getRespondent()
    {
        $patientNumber  = $this->getPatientNumber();
        $organizationId = $this->getOrganizationId();

        if (! ($this->_respondentObject instanceof \Gems_Tracker_Respondent)
                || $this->_respondentObject->getPatientNumber()  !== $patientNumber
                || $this->_respondentObject->getOrganizationId() !== $organizationId) {
            $this->_respondentObject = $this->loader->getRespondent($patientNumber, $organizationId);
        }

        return $this->_respondentObject;
    }
public function getRespondent()
    {
        $patientNumber  = $this->getPatientNumber();
        $organizationId = $this->getOrganizationId();

        if (! ($this->_respondentObject instanceof \Gems_Tracker_Respondent)
                || $this->_respondentObject->getPatientNumber()  !== $patientNumber
                || $this->_respondentObject->getOrganizationId() !== $organizationId) {
            $this->_respondentObject = $this->loader->getRespondent($patientNumber, $organizationId);
        }

        return $this->_respondentObject;
    }
public function getRespondent ( ) { $ patientNumber = $ this -> getPatientNumber ( ) ; $ organizationId = $ this -> getOrganizationId ( ) ; if ( ! ( $ this -> _respondentObject instanceof \ Gems_Tracker_Respondent ) || $ this -> _respondentObject -> getPatientNumber ( ) !== $ patientNumber || $ this -> _respondentObject -> getOrganizationId ( ) !== $ organizationId ) { $ this -> _respondentObject = $ this -> loader -> getRespondent ( $ patientNumber , $ organizationId ) ; } return $ this -> _respondentObject ; }
Get the respondent linked to this token

@return \Gems_Tracker_Respondent
Get the respondent linked to this token