OEModule\PASAPI\resources\PatientAppointment::resolvePatient PHP Method

resolvePatient() protected method

protected resolvePatient ( ) : Patient
return Patient
    protected function resolvePatient()
    {
        if (!isset($this->_patient)) {
            $this->_patient = property_exists($this, 'PatientId') ? $this->PatientId->getModel() : null;
        }
        return $this->_patient;
    }