BaseEventTypeController::getEpisodes PHP Method

getEpisodes() public method

Get all the episodes for the current patient.
public getEpisodes ( ) : array
return array
    public function getEpisodes()
    {
        if (empty($this->episodes)) {
            $this->episodes = array('ordered_episodes' => $this->patient->getOrderedEpisodes(), 'legacyepisodes' => $this->patient->legacyepisodes, 'supportserviceepisodes' => $this->patient->supportserviceepisodes);
        }
        return $this->episodes;
    }
BaseEventTypeController