<div id="fiche_pro_sante_insert_form2" style='<?php echo (2 != $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['form_wizard']['actual_step'] ? 'display: none; width: 1px; height: 0px; overflow: scroll' : ''); ?>'>
<?php $sc_hidden_no = 1; $sc_hidden_yes = 0; ?>
   <a name="bloco_0"></a>
   <table width="100%" height="100%" cellpadding="0" cellspacing=0><tr valign="top"><td width="100%" height="">
<div id="div_hidden_bloco_5"><!-- bloco_c -->
<?php
   if (!isset($this->nmgp_cmp_hidden['maladie_suspectee_by_ia']))
   {
       $this->nmgp_cmp_hidden['maladie_suspectee_by_ia'] = 'off';
   }
?>
<TABLE align="center" id="hidden_bloco_5" class="scFormTable<?php echo $this->classes_100perc_fields['table'] ?>" width="100%" style="height: 100%;"><?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
    if (!isset($this->nm_new_label['antecedent_medicaux']))
    {
        $this->nm_new_label['antecedent_medicaux'] = "" . $this->Ini->Nm_lang['lang_public_fiche_prof_sante_fld_antecedent_medicaux'] . "";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $antecedent_medicaux = $this->antecedent_medicaux;
   $sStyleHidden_antecedent_medicaux = '';
   if (isset($this->nmgp_cmp_hidden['antecedent_medicaux']) && $this->nmgp_cmp_hidden['antecedent_medicaux'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['antecedent_medicaux']);
       $sStyleHidden_antecedent_medicaux = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_antecedent_medicaux = 'display: none;';
   $sStyleReadInp_antecedent_medicaux = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['antecedent_medicaux']) && $this->nmgp_cmp_readonly['antecedent_medicaux'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['antecedent_medicaux']);
       $sStyleReadLab_antecedent_medicaux = '';
       $sStyleReadInp_antecedent_medicaux = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['antecedent_medicaux']) && $this->nmgp_cmp_hidden['antecedent_medicaux'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="antecedent_medicaux" value="<?php echo $this->form_encode_input($antecedent_medicaux) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_antecedent_medicaux_line" id="hidden_field_data_antecedent_medicaux" style="<?php echo $sStyleHidden_antecedent_medicaux; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_antecedent_medicaux_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_antecedent_medicaux_label" style=""><span id="id_label_antecedent_medicaux"><?php echo $this->nm_new_label['antecedent_medicaux']; ?></span></span><br>
<?php
$antecedent_medicaux_val = str_replace('<br />', '__SC_BREAK_LINE__', nl2br($antecedent_medicaux));

?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["antecedent_medicaux"]) &&  $this->nmgp_cmp_readonly["antecedent_medicaux"] == "on") { 

 ?>
<input type="hidden" name="antecedent_medicaux" value="<?php echo $this->form_encode_input($antecedent_medicaux) . "\">" . $antecedent_medicaux_val . ""; ?>
<?php } else { ?>
<span id="id_read_on_antecedent_medicaux" class="sc-ui-readonly-antecedent_medicaux css_antecedent_medicaux_line" style="<?php echo $sStyleReadLab_antecedent_medicaux; ?>"><?php echo $this->form_format_readonly("antecedent_medicaux", $this->form_encode_input($antecedent_medicaux_val)); ?></span><span id="id_read_off_antecedent_medicaux" class="css_read_off_antecedent_medicaux<?php echo $this->classes_100perc_fields['span_input'] ?>" style="white-space: nowrap;<?php echo $sStyleReadInp_antecedent_medicaux; ?>">
 <textarea class="sc-js-input scFormObjectOdd css_antecedent_medicaux_obj<?php echo $this->classes_100perc_fields['input'] ?>" style="white-space: pre-wrap;resize: vertical;" name="antecedent_medicaux" id="id_sc_field_antecedent_medicaux" rows="3" cols="50"
 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}" >
<?php echo $antecedent_medicaux; ?>
</textarea>
</span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_antecedent_medicaux_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_antecedent_medicaux_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






<?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?>


    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >&nbsp;</TD>





<?php } 
?> 
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
    if (!isset($this->nm_new_label['lieux_frequentes']))
    {
        $this->nm_new_label['lieux_frequentes'] = "" . $this->Ini->Nm_lang['lang_public_fiche_prof_sante_fld_lieux_frequentes'] . "";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $lieux_frequentes = $this->lieux_frequentes;
   $sStyleHidden_lieux_frequentes = '';
   if (isset($this->nmgp_cmp_hidden['lieux_frequentes']) && $this->nmgp_cmp_hidden['lieux_frequentes'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['lieux_frequentes']);
       $sStyleHidden_lieux_frequentes = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_lieux_frequentes = 'display: none;';
   $sStyleReadInp_lieux_frequentes = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['lieux_frequentes']) && $this->nmgp_cmp_readonly['lieux_frequentes'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['lieux_frequentes']);
       $sStyleReadLab_lieux_frequentes = '';
       $sStyleReadInp_lieux_frequentes = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['lieux_frequentes']) && $this->nmgp_cmp_hidden['lieux_frequentes'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="lieux_frequentes" value="<?php echo $this->form_encode_input($lieux_frequentes) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_lieux_frequentes_line" id="hidden_field_data_lieux_frequentes" style="<?php echo $sStyleHidden_lieux_frequentes; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_lieux_frequentes_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_lieux_frequentes_label" style=""><span id="id_label_lieux_frequentes"><?php echo $this->nm_new_label['lieux_frequentes']; ?></span></span><br>
<?php
$lieux_frequentes_val = str_replace('<br />', '__SC_BREAK_LINE__', nl2br($lieux_frequentes));

?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["lieux_frequentes"]) &&  $this->nmgp_cmp_readonly["lieux_frequentes"] == "on") { 

 ?>
<input type="hidden" name="lieux_frequentes" value="<?php echo $this->form_encode_input($lieux_frequentes) . "\">" . $lieux_frequentes_val . ""; ?>
<?php } else { ?>
<span id="id_read_on_lieux_frequentes" class="sc-ui-readonly-lieux_frequentes css_lieux_frequentes_line" style="<?php echo $sStyleReadLab_lieux_frequentes; ?>"><?php echo $this->form_format_readonly("lieux_frequentes", $this->form_encode_input($lieux_frequentes_val)); ?></span><span id="id_read_off_lieux_frequentes" class="css_read_off_lieux_frequentes<?php echo $this->classes_100perc_fields['span_input'] ?>" style="white-space: nowrap;<?php echo $sStyleReadInp_lieux_frequentes; ?>">
 <textarea class="sc-js-input scFormObjectOdd css_lieux_frequentes_obj<?php echo $this->classes_100perc_fields['input'] ?>" style="white-space: pre-wrap;resize: vertical;" name="lieux_frequentes" id="id_sc_field_lieux_frequentes" rows="2" cols="50"
 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}" >
<?php echo $lieux_frequentes; ?>
</textarea>
</span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_lieux_frequentes_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_lieux_frequentes_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






<?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?>


    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >&nbsp;</TD>





<?php } 
?> 
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
    if (!isset($this->nm_new_label['cas_similaires']))
    {
        $this->nm_new_label['cas_similaires'] = "Cas similaires existent";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $cas_similaires = $this->cas_similaires;
   $sStyleHidden_cas_similaires = '';
   if (isset($this->nmgp_cmp_hidden['cas_similaires']) && $this->nmgp_cmp_hidden['cas_similaires'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['cas_similaires']);
       $sStyleHidden_cas_similaires = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_cas_similaires = 'display: none;';
   $sStyleReadInp_cas_similaires = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['cas_similaires']) && $this->nmgp_cmp_readonly['cas_similaires'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['cas_similaires']);
       $sStyleReadLab_cas_similaires = '';
       $sStyleReadInp_cas_similaires = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['cas_similaires']) && $this->nmgp_cmp_hidden['cas_similaires'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="cas_similaires" value="<?php echo $this->form_encode_input($cas_similaires) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_cas_similaires_line" id="hidden_field_data_cas_similaires" style="<?php echo $sStyleHidden_cas_similaires; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_cas_similaires_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_cas_similaires_label" style=""><span id="id_label_cas_similaires"><?php echo $this->nm_new_label['cas_similaires']; ?></span></span><br>
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["cas_similaires"]) &&  $this->nmgp_cmp_readonly["cas_similaires"] == "on") { 

 if ("O" == $this->cas_similaires) { $cas_similaires_look = "Oui";} 
 if ("N" == $this->cas_similaires) { $cas_similaires_look = "Non";} 
?>
<input type="hidden" name="cas_similaires" value="<?php echo $this->form_encode_input($cas_similaires) . "\">" . $cas_similaires_look . ""; ?>
<?php } else { ?>

<?php

 if ("O" == $this->cas_similaires) { $cas_similaires_look = "Oui";} 
 if ("N" == $this->cas_similaires) { $cas_similaires_look = "Non";} 
?>
<span id="id_read_on_cas_similaires"  class="css_cas_similaires_line" style="<?php echo $sStyleReadLab_cas_similaires; ?>"><?php echo $this->form_format_readonly("cas_similaires", $this->form_encode_input($cas_similaires_look)); ?></span><span id="id_read_off_cas_similaires" class="css_read_off_cas_similaires css_cas_similaires_line" style="<?php echo $sStyleReadInp_cas_similaires; ?>"><div id="idAjaxRadio_cas_similaires" style="display: inline-block"  class="css_cas_similaires_line">
<TABLE cellspacing=0 cellpadding=0 border=0><TR>
  <TD class="scFormDataFontOdd css_cas_similaires_line"> <div class="sc radio">
<?php $tempOptionId = "id-opt-cas_similaires" . $sc_seq_vert . "-1"; ?>
    <input id="<?php echo $tempOptionId ?>"  class="sc-ui-radio-cas_similaires sc-ui-radio-cas_similaires" type=radio name="cas_similaires" value="O"
<?php $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_cas_similaires'][] = 'O'; ?>
<?php  if ("O" == $this->cas_similaires)  { echo " checked" ;} ?>  onClick="" ><span></span>
<label for="<?php echo $tempOptionId ?>">Oui</label> </div>
</TD>
  <TD class="scFormDataFontOdd css_cas_similaires_line"> <div class="sc radio">
<?php $tempOptionId = "id-opt-cas_similaires" . $sc_seq_vert . "-2"; ?>
    <input id="<?php echo $tempOptionId ?>"  class="sc-ui-radio-cas_similaires sc-ui-radio-cas_similaires" type=radio name="cas_similaires" value="N"
<?php $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_cas_similaires'][] = 'N'; ?>
<?php  if ("N" == $this->cas_similaires)  { echo " checked" ;} ?>  onClick="" ><span></span>
<label for="<?php echo $tempOptionId ?>">Non</label> </div>
</TD>
</TR></TABLE>
</div>
</span><?php  }?>
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_cas_similaires_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_cas_similaires_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






<?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?>


    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >&nbsp;</TD>





<?php } 
?> 






   </tr>
</TABLE></div><!-- bloco_f -->
   </td></tr></table>
   </div>
