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

getLetter_string() public method

Get the string to be used in correspondence for this no treatment reason.
public getLetter_string ( ) : string
return string
    public function getLetter_string()
    {
        $res = $this::DEFAULT_LETTER_STRING;
        if ($this->letter_str) {
            $res = $this->letter_str;
        } elseif (!$this->other) {
            $res .= ' ' . $this->name . '.';
        }
        return $res;
    }