function fntSalvaTextoTratamentos()
{
    if (isset($_SESSION['caso']) && $_SESSION['caso'] != 0) {
        $t = new Tratamento();
        $texto = isset($_POST['txtPerguntaGuia']) && $_POST['txtPerguntaGuia'] != "" ? urldecode($_POST['txtPerguntaGuia']) : null;
        $ret = $t->SalvaPerguntaNorteadora($_SESSION['caso'], $texto);
        if ($ret == false) {
            throw new Exception(Comuns::Idioma("@lng[Erro ao salvar.] ") + $ex->getErro(), 1002);
        }
    } else {
        throw new Exception(Comuns::Idioma("@lng[Caso não encontrado]"), 1003);
    }
}