|
|
|
@ -137,9 +137,9 @@ public class ExamePDF {
|
|
|
|
|
|
|
|
|
|
|
|
StringBuffer texto = new StringBuffer();
|
|
|
|
StringBuffer texto = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
|
|
texto.append( "Designa\u00e7\u00e3o social " + values.get( "designacao_social" ) + "\n" );
|
|
|
|
texto.append( "Designa\u00e7\u00e3o social: " + values.get( "designacao_social" ) + "\n" );
|
|
|
|
texto.append( "Estabelecimento " + values.get( "estabelecimentos.nome" )
|
|
|
|
texto.append( "Estabelecimento: " + values.get( "estabelecimentos.nome" )
|
|
|
|
+ " Localidade " + values.get( "estabelecimentos.localidade" ) + "\n" );
|
|
|
|
+ " Localidade: " + values.get( "estabelecimentos.localidade" ) + "\n" );
|
|
|
|
texto.append( "Servi\u00e7o de sa\u00fade: Tipo Interno "
|
|
|
|
texto.append( "Servi\u00e7o de sa\u00fade: Tipo Interno "
|
|
|
|
+ ( ( values.get( "servico_saude_tipo_interno" ) == null ) ? "" : "X" )
|
|
|
|
+ ( ( values.get( "servico_saude_tipo_interno" ) == null ) ? "" : "X" )
|
|
|
|
+ " Interempresas "
|
|
|
|
+ " Interempresas "
|
|
|
|
@ -148,7 +148,7 @@ public class ExamePDF {
|
|
|
|
+ ( ( values.get( "servico_saude_tipo_externo" ) == null ) ? "" : "X" )
|
|
|
|
+ ( ( values.get( "servico_saude_tipo_externo" ) == null ) ? "" : "X" )
|
|
|
|
+ " Servi\u00e7o Nacional de Sa\u00fade "
|
|
|
|
+ " Servi\u00e7o Nacional de Sa\u00fade "
|
|
|
|
+ ( ( values.get( "servico_saude_tipo_sns" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
+ ( ( values.get( "servico_saude_tipo_sns" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
texto.append( "Designa\u00e7\u00e3o " + values.get( "servico_saude_designacao" ) + "\n" );
|
|
|
|
texto.append( "Designa\u00e7\u00e3o: " + values.get( "servico_saude_designacao" ) + "\n" );
|
|
|
|
texto.append( "Servi\u00e7o de Higiene e Seguran\u00e7a: Tipo Interno "
|
|
|
|
texto.append( "Servi\u00e7o de Higiene e Seguran\u00e7a: Tipo Interno "
|
|
|
|
+ ( ( values.get( "servico_higiene_tipo_interno" ) == null ) ? "" : "X" )
|
|
|
|
+ ( ( values.get( "servico_higiene_tipo_interno" ) == null ) ? "" : "X" )
|
|
|
|
+ " Interempresas "
|
|
|
|
+ " Interempresas "
|
|
|
|
@ -157,7 +157,7 @@ public class ExamePDF {
|
|
|
|
+ ( ( values.get( "servico_higiene_tipo_externo" ) == null ) ? "" : "X" )
|
|
|
|
+ ( ( values.get( "servico_higiene_tipo_externo" ) == null ) ? "" : "X" )
|
|
|
|
+ " Outro "
|
|
|
|
+ " Outro "
|
|
|
|
+ ( ( values.get( "servico_higiene_outro" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
+ ( ( values.get( "servico_higiene_outro" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
texto.append( "Designa\u00e7\u00e3o " + values.get( "servico_higiene_designacao" ) + "" );
|
|
|
|
texto.append( "Designa\u00e7\u00e3o: " + values.get( "servico_higiene_designacao" ) + "" );
|
|
|
|
|
|
|
|
|
|
|
|
table.addCell( new Phrase( 12f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
table.addCell( new Phrase( 12f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
document.add( table );
|
|
|
|
document.add( table );
|
|
|
|
@ -173,16 +173,16 @@ public class ExamePDF {
|
|
|
|
|
|
|
|
|
|
|
|
texto = new StringBuffer();
|
|
|
|
texto = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
|
|
texto.append( "Nome " + values.get( "trabalhadores.nome" ) + "\n" );
|
|
|
|
texto.append( "Nome: " + values.get( "trabalhadores.nome" ) + "\n" );
|
|
|
|
texto.append( "Sexo " + values.get( "sexo" ) + " Data de Nascimento "
|
|
|
|
texto.append( "Sexo: " + values.get( "sexo" ) + " Data de Nascimento: "
|
|
|
|
+ values.get( "data_nascimento" ) + " Nacionalidade "
|
|
|
|
+ values.get( "data_nascimento" ) + " Nacionalidade: "
|
|
|
|
+ values.get( "nacionalidade" ) + "\n" );
|
|
|
|
+ values.get( "nacionalidade" ) + "\n" );
|
|
|
|
texto.append( "N\u00famero mecanogr\u00e1fico/outro " + values.get( "numero_mecanografico" )
|
|
|
|
texto.append( "N\u00famero mecanogr\u00e1fico/outro: " + values.get( "numero_mecanografico" )
|
|
|
|
+ " Data de admiss\u00e3o " + values.get( "data_admissao" ) + "\n" );
|
|
|
|
+ " Data de admiss\u00e3o: " + values.get( "data_admissao" ) + "\n" );
|
|
|
|
texto.append( "Categoria Profissional " + values.get( "categoria" )
|
|
|
|
texto.append( "Categoria Profissional: " + values.get( "categoria" )
|
|
|
|
+ " Local de Trabalho " + values.get( "local_trabalho" ) + "\n" );
|
|
|
|
+ " Local de Trabalho: " + values.get( "local_trabalho" ) + "\n" );
|
|
|
|
texto.append( "Fun\u00e7\u00e3o Proposta " + values.get( "funcao_proposta" )
|
|
|
|
texto.append( "Fun\u00e7\u00e3o Proposta: " + values.get( "funcao_proposta" )
|
|
|
|
+ " Data de admiss\u00e3o na fun\u00e7\u00e3o "
|
|
|
|
+ " Data de admiss\u00e3o na fun\u00e7\u00e3o: "
|
|
|
|
+ values.get( "data_admissao_funcao" ) + "" );
|
|
|
|
+ values.get( "data_admissao_funcao" ) + "" );
|
|
|
|
|
|
|
|
|
|
|
|
table.addCell( new Phrase( 12f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
table.addCell( new Phrase( 12f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
@ -217,7 +217,7 @@ public class ExamePDF {
|
|
|
|
|
|
|
|
|
|
|
|
texto = new StringBuffer();
|
|
|
|
texto = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
|
|
texto.append( "Data do exame " + values.get( "exames.data" ) + "\n" );
|
|
|
|
texto.append( "Data do exame: " + values.get( "exames.data" ) + "\n" );
|
|
|
|
texto.append( "Tipo\n" );
|
|
|
|
texto.append( "Tipo\n" );
|
|
|
|
texto.append( "Admiss\u00e3o ........................................................................................ "
|
|
|
|
texto.append( "Admiss\u00e3o ........................................................................................ "
|
|
|
|
+ ( ( values.get( "tipo_admissao" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
+ ( ( values.get( "tipo_admissao" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
@ -239,7 +239,7 @@ public class ExamePDF {
|
|
|
|
+ ( ( values.get( "tipo_trabalho" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
+ ( ( values.get( "tipo_trabalho" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
texto.append( "Outro ............................................................................................. "
|
|
|
|
texto.append( "Outro ............................................................................................. "
|
|
|
|
+ ( ( values.get( "tipo_outro" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
+ ( ( values.get( "tipo_outro" ) == null ) ? "" : "X" ) + "\n" );
|
|
|
|
texto.append( "Especifique "
|
|
|
|
texto.append( "Especifique: "
|
|
|
|
+ ( ( values.get( "tipo_outro" ) == null ) ? "" : values.get( "tipo_outro" ) ) + "" );
|
|
|
|
+ ( ( values.get( "tipo_outro" ) == null ) ? "" : values.get( "tipo_outro" ) ) + "" );
|
|
|
|
|
|
|
|
|
|
|
|
table.addCell( new Phrase( texto.toString(), FONT_NORMAL ) );
|
|
|
|
table.addCell( new Phrase( texto.toString(), FONT_NORMAL ) );
|
|
|
|
@ -279,7 +279,7 @@ public class ExamePDF {
|
|
|
|
|
|
|
|
|
|
|
|
texto = new StringBuffer();
|
|
|
|
texto = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
|
|
texto.append( "Pr\u00f3ximo Exame " + values.get( "proximo_exame" ) + "\n" );
|
|
|
|
texto.append( "Pr\u00f3ximo Exame: " + values.get( "proximo_exame" ) + "\n" );
|
|
|
|
texto.append( "" + values.get( "outras_recomendacoes" ) + "" );
|
|
|
|
texto.append( "" + values.get( "outras_recomendacoes" ) + "" );
|
|
|
|
|
|
|
|
|
|
|
|
table.addCell( new Phrase( 12f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
table.addCell( new Phrase( 12f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
@ -294,11 +294,11 @@ public class ExamePDF {
|
|
|
|
|
|
|
|
|
|
|
|
texto = new StringBuffer();
|
|
|
|
texto = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
|
|
texto.append( "M\u00e9dico do Trabalho "
|
|
|
|
texto.append( "M\u00e9dico do Trabalho: "
|
|
|
|
+ values.get( "medicos.nome" ) + " C.P. " + values.get( "numero_cedula" ) + "\n" );
|
|
|
|
+ values.get( "medicos.nome" ) + " C.P. " + values.get( "numero_cedula" ) + "\n" );
|
|
|
|
texto.append( "Assinatura _____________________________________________________________________________________\n" );
|
|
|
|
texto.append( "Assinatura _____________________________________________________________________________________\n" );
|
|
|
|
texto.append( "Tomei conhecimento ___________________________________________________________ Data\n" );
|
|
|
|
texto.append( "Tomei conhecimento ___________________________________________________________ Data:____/____/________\n" );
|
|
|
|
texto.append( " O Respons\u00e1vel dos Recursos Humanos" );
|
|
|
|
texto.append( " O Respons\u00e1vel dos Recursos Humanos" );
|
|
|
|
|
|
|
|
|
|
|
|
table.addCell( new Phrase( 18f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
table.addCell( new Phrase( 18f, texto.toString(), FONT_NORMAL ) );
|
|
|
|
document.add( table );
|
|
|
|
document.add( table );
|
|
|
|
|