SHARE
TWEET

Untitled

a guest Feb 27th, 2020 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html
  2.     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <HTML xmlns="http://www.w3.org/1999/xhtml" lang="pt" xml:lang="pt-br">
  5.  
  6. <HEAD>
  7.     <TITLE>SISREG III</TITLE>
  8.     <META http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9.     <META http-equiv="Content-Language" content="pt-BR" />
  10.     <LINK rel="stylesheet" href="/css/estilo.css" type="text/css">
  11.     <LINK rel="stylesheet" href="/css/layout.css" type="text/css" media="screen" charset="utf-8" />
  12.     <LINK rel="stylesheet" href="/css/form.css" type="text/css" media="screen" charset="utf-8" />
  13.     <LINK rel="stylesheet" href="/css/jquery-ui.css" type="text/css" media="screen" charset="utf-8" />
  14.     <SCRIPT type="text/javascript" src="/javascript/jquery.js" charset="utf-8"></SCRIPT>
  15.     <SCRIPT type="text/javascript" src="/javascript/jquery-ui.js"></SCRIPT>
  16.     <SCRIPT type="text/javascript" src="/javascript/datepicker.js"></SCRIPT>
  17.     <SCRIPT type="text/javascript" src="/javascript/ajax.js"></SCRIPT>
  18.     <SCRIPT type="text/javascript" src="/javascript/CheckDate.js"></SCRIPT>
  19.     <SCRIPT type="text/javascript" src="/javascript/cns.js"></SCRIPT>
  20.     <SCRIPT type="text/javascript" src="/javascript/common.js"></SCRIPT>
  21.     <SCRIPT type="text/javascript" src="/javascript/sisreg_ajax_popup.js"></SCRIPT>
  22.  
  23.     <SCRIPT LANGUAGE='JavaScript'>
  24.  
  25.         var frm = null;
  26.  
  27.         function initialize() {
  28.             frm = document.form;
  29.  
  30.             exibirDivPrincipal();
  31.         }
  32.  
  33.         function exibirDivPrincipal() {
  34.             document.getElementById('progress_div').style.display = 'none';
  35.             document.getElementById('main_div').style.display = '';
  36.         }
  37.  
  38.         function detalharPaciente() {
  39.             document.form.etapa.value = 'DETALHAR';
  40.             document.form.submit();
  41.         }
  42.  
  43.         function verificaSelecao() {
  44.             document.form.btn_detalhar.disabled = (verificaGrupo(document.form.nu_cns)) ? false : true;
  45.         }
  46.  
  47.         function verificaGrupo(group) {
  48.             var i = 0;
  49.  
  50.             if (group == undefined) {
  51.                 return true;
  52.             }
  53.  
  54.             if (group.type == 'radio') {
  55.                 if (group.checked) {
  56.                     return true;
  57.                 }
  58.  
  59.             }
  60.  
  61.             else if (group.type == 'hidden') {
  62.                 return true;
  63.             }
  64.  
  65.             if (group.length == 0) {
  66.                 return true;
  67.             }
  68.  
  69.             for (i = 0; i < group.length; i++) {
  70.                 if (group[i].checked) {
  71.                     return true;
  72.                 }
  73.             }
  74.  
  75.             return false;
  76.         }
  77.  
  78.         < !--Redirect URL: /cgi-bin/cadweb50 ? etapa = REDIR & url=/cgi-bin/marcar => L2NnaS1iaW4vY2Fkd2ViNTA / ZXRhcGE9UkVESVImdXJsPS9jZ2ktYmluL21hcmNhcg == -->
  79.  
  80.             function cadwebConsulta() {
  81.                 var url = 'https://cadastro.saude.gov.br/cadsusweb/faces/consultaCadastroUsuariosSus.xhtml';
  82.  
  83.                 url = url + '?NM_BT_RETORNO=Voltar para o SISREG';
  84.                 url = url + '&URL_INTEGRACAO_RETORNO=http://sisregiii.saude.gov.br/cgi-bin/index?frmencurl=L2NnaS1iaW4vY2Fkd2ViNTA/ZXRhcGE9UkVESVImdXJsPS9jZ2ktYmluL21hcmNhcg==';
  85.                 window.open(url, '_top');
  86.             }
  87.  
  88.     </SCRIPT>
  89. </HEAD>
  90.  
  91. <BODY link='#0000AA' vlink='#0000AA'>
  92.  
  93.     <CENTER>
  94.         <h1>CONSULTA AO CADASTRO DE PACIENTES SUS</h1>
  95.     </CENTER>
  96.  
  97.     <DIV id='progress_div'>
  98.         <BR><BR>
  99.         <CENTER><IMG src='/imagens/loading.gif' /></CENTER>
  100.         <CENTER><SPAN style='font-size: 80%'>Processando...</SPAN></CENTER>
  101.         <BR><BR>
  102.     </DIV>
  103.  
  104.     <DIV id='main_div' style='display: none;'>
  105.  
  106.         <FORM name='form' method='post'>
  107.  
  108.             <BR>
  109.             <TABLE class='table_listagem' align='center' width='80%'>
  110.                 <TR>
  111.                     <TD class='td_titulo_tabela' colspan='2'>Usu&#225;rios encontrados (3):</TD>
  112.                 </TR>
  113.                 <TR style='background-color: #FFFFFF;'>
  114.                     <TD style='border-bottom: #C6D8E3 1px solid;' colspan='1' width='5%'>
  115.                         <CENTER><INPUT type='radio' name='nu_cns' value='898004500919718' onchange='verificaSelecao()'
  116.                                 onclick='verificaSelecao()'></CENTER>
  117.                     </TD>
  118.                     <TD style='border-bottom: #C6D8E3 1px solid;' colspan='1' width='95%'>
  119.                         Usu&#225;rio: <B>BIANCA CARDOSO PANTOJA DOS SANTOS</B>&nbsp;&#9679;&nbsp;
  120.                         M&atilde;e: <B>MARIA RAIMUNDA FREITAS CARDOSO</B>&nbsp;&#9679;&nbsp;
  121.                         CNS: <B>898004500919718</B><BR>
  122.                         Naturalidade: <B>MANAUS - AM</B>&nbsp;&#9679;&nbsp;
  123.                         Resid&#234;ncia: <B>MANAUS - AM</B>&nbsp;&#9679;&nbsp;
  124.                         Nascimento: <B>21/08/2014</B>
  125.                     </TD>
  126.                 </TR>
  127.  
  128.                 <TR style='background-color: #F3F3F3;'>
  129.                     <TD style='border-bottom: #C6D8E3 1px solid;' colspan='1' width='5%'>
  130.                         <CENTER><INPUT type='radio' name='nu_cns' value='705208415069077' onchange='verificaSelecao()'
  131.                                 onclick='verificaSelecao()'></CENTER>
  132.                     </TD>
  133.                     <TD style='border-bottom: #C6D8E3 1px solid;' colspan='1' width='95%'>
  134.                         Usu&#225;rio: <B>BIANCA DOS SANTOS PANTOJA</B>&nbsp;&#9679;&nbsp;
  135.                         M&atilde;e: <B>BRASILIANA BALIEIRO DOS SANTOS</B>&nbsp;&#9679;&nbsp;
  136.                         CNS: <B>705208415069077</B><BR>
  137.                         Naturalidade: <B>BREVES - PA</B>&nbsp;&#9679;&nbsp;
  138.                         Resid&#234;ncia: <B>BAGRE - PA</B>&nbsp;&#9679;&nbsp;
  139.                         Nascimento: <B>08/03/1987</B>
  140.                     </TD>
  141.                 </TR>
  142.  
  143.             </TABLE><BR>
  144.  
  145.             <CENTER><INPUT type='button' name='btn_voltar' value='Voltar' onClick='javascript:history.go(-1)'>&nbsp;
  146.                 <INPUT type='button' name='btn_detalhar' value='Exibir Cadastro' onClick='detalharPaciente();' disabled>&nbsp;
  147.                 <INPUT type='button' name='btn_pesquisar' value='Pesquisar no CADWEB' onclick="cadwebConsulta()">
  148.             </CENTER>
  149.             <INPUT type="hidden" name="etapa" value="LISTAR" />
  150.             <INPUT type="hidden" name="url" value="/cgi-bin/marcar" />
  151.             <INPUT type="hidden" name="standalone" value="" />
  152.         </FORM>
  153.  
  154.     </DIV>
  155.  
  156.     <SCRIPT>initialize();</SCRIPT>
  157.  
  158. </BODY>
  159.  
  160. </HTML>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top