* This is a hybrid compromise as long as not all forms are converted to smarty
* templates. In this case, when the form is pathology, the smarty assignments are done
* otherwise the output is buffered
*/
$edit = 0;
if ($target == 'patho') {
    $smarty->assign('patho', TRUE);
    include $root_path . 'include/inc_test_request_printout_patho.php';
} else {
    # Collect output buffer
    ob_start();
    if ($target == 'baclabor') {
        include $root_path . 'include/inc_test_findings_form_baclabor.php';
    } else {
        include $root_path . 'include/inc_test_request_printout_' . $target . '.php';
    }
    $sTemp = ob_get_contents();
    ob_end_clean();
    $smarty->assign('printout_form', $sTemp);
}
/**
 * show Copyright
 * managed in smarty_care.class.php
 */
$smarty->assign('sCopyright', $smarty->Copyright());
$smarty->assign('sPageTime', $smarty->Pagetime());
/**
 * show Template
 */
$smarty->display('laboratory/request_aftersave.tpl');
// $smarty->display('debug.tpl');