OEModule\OphCiExamination\models\Element_OphCiExamination_CataractSurgicalManagement::getLetter_string PHP Method

getLetter_string() public method

public getLetter_string ( )
    public function getLetter_string()
    {
        $text = array();
        if ($this->city_road) {
            $text[] = 'at City Road';
        }
        if ($this->satellite) {
            $text[] = 'at satellite';
        }
        if ($this->fast_track) {
            $text[] = 'straightforward case';
        }
        $text[] = 'target post-op refraction: ' . $this->target_postop_refraction;
        if ($this->correction_discussed) {
            $text[] = 'refractive correction discussed with patient';
        }
        $text[] = 'suitable for ' . $this->suitable_for_surgeon->name . ' (' . ($this->supervised ? 'supervised' : 'unsupervised') . ')';
        return 'Cataract management: ' . implode(', ', $text) . "\n";
    }