forked from Coded/SIPRP
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							299 lines
						
					
					
						
							15 KiB
						
					
					
				
			
		
		
	
	
							299 lines
						
					
					
						
							15 KiB
						
					
					
				| <!-- 
 | |
| 
 | |
| AntecedentesOcupacionais-1
 | |
| 
 | |
| notice: only contents inside this div will be rendered/compiled  
 | |
| 
 | |
| usage example: <partials-renderer partial-id="AntecedentesOcupacionais-1"></partials-renderer>
 | |
| 
 | |
| -->
 | |
| <div id="AntecedentesOcupacionais-1">
 | |
| 
 | |
| 	<div class="panel panel-default">	
 | |
| 	    <div class="panel-body">
 | |
| 	
 | |
| 	        <div class="form-horizontal">
 | |
| 	
 | |
| 	            <div class="form-group">
 | |
| 	                <label class="col-sm-6 control-label">Com que idade iniciou a actividade Laboral?</label>
 | |
| 	                <div class="col-sm-6">
 | |
| 	                    <input type="text" ng-model="editing.antecentesOcupacionais.idade_inicio_actividade" data-type="digits" class="form-control" />
 | |
| 	                </div>
 | |
| 	            </div>
 | |
| 	
 | |
| 	        </div>
 | |
| 	
 | |
| 	        <table class="table table-bordered table-striped">
 | |
| 	            <thead>
 | |
| 	                <tr>
 | |
| 	                    <th class="col-md-3">Actividades Anteriores</th>
 | |
| 	                    <th class="col-md-3">Entidade</th>
 | |
| 	                    <th class="col-md-3">Local de Trabalho</th>
 | |
| 	                    <th class="col-md-3">Período de Tempo</th>
 | |
| 	                    <th class="col-md-3"> </th>
 | |
| 	                </tr>
 | |
| 	            </thead>
 | |
| 	            <tfoot>
 | |
| 	                <tr>
 | |
| 	                    <td colspan="5">
 | |
| 	                        <button ng-click="gridAddItem({}, editing.antecentesOcupacionaisActividadesAnteriores, 'antecentesOcupacionaisActividadesAnteriores', $event)" type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span>Adicionar </button>
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	            </tfoot>
 | |
| 	            <tbody>
 | |
| 	                <tr ng-repeat="item in editing.antecentesOcupacionaisActividadesAnteriores">
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.actividade" type="text" class="form-control">
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.entidade" type="text" class="form-control">
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.local_trabalho" type="text" class="form-control">
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.periodo_tempo" type="text" class="form-control">
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <button ng-click="gridRemoveItem($index, editing.antecentesOcupacionaisActividadesAnteriores, $event)" type="button" class="btn btn-danger btn-xs">
 | |
| 	                            <span class="glyphicon glyphicon-remove"></span>
 | |
| 	                        </button>
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	            </tbody>
 | |
| 	        </table>
 | |
| 	
 | |
| 	        <div class="form-horizontal">
 | |
| 	
 | |
| 	            <div class="form-group">
 | |
| 	                <div class="col-md-12">
 | |
| 	                    <label class="control-label">Factores de risco a que esteve exposto </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.exposto_factores_risco" name="rb_exposto_factores_risco" ng-value="true" type="radio" />
 | |
| 	                        Sim					       
 | |
| 	                    </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.exposto_factores_risco" name="rb_exposto_factores_risco" ng-value="false" type="radio" />
 | |
| 	                        Não					       
 | |
| 	                    </label>
 | |
| 	                </div>
 | |
| 	            </div>
 | |
| 	
 | |
| 	        </div>
 | |
| 	
 | |
| 	        <table ng-show="editing.antecentesOcupacionais.exposto_factores_risco" class="table table-bordered table-striped">
 | |
| 	            <thead>
 | |
| 	                <tr>
 | |
| 	                    <th colspan="2" class="col-md-3">Factores e Risco </th>
 | |
| 	                    <th class="col-md-3">Actividade</th>
 | |
| 	                    <th class="col-md-3">Tempo de Exposição </th>
 | |
| 	                </tr>
 | |
| 	            </thead>
 | |
| 	            <tbody>
 | |
| 	                <tr>
 | |
| 	                    <td>Fisicos</td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_fisicos_detalhe" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_fisicos_actividade" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_fisicos_tempo" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	                <tr>
 | |
| 	                    <td>Químicos</td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_quimicos_detalhe" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_quimicos_actividade" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_quimicos_tempo" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	                <tr>
 | |
| 	                    <td>Biológicos</td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_biologicos_detalhe" type="text" class="form-control">
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_biologicos_actividade" type="text" class="form-control">
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_biologicos_tempo" type="text" class="form-control">
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	                <tr>
 | |
| 	                    <td>Ergonómicos</td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_ergonomicos_detalhe" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_ergonomicos_actividade" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_ergonomicos_tempo" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	                <tr>
 | |
| 	                    <td>Psicossociais</td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_psicossociais_detalhe"  type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_psicossociais_actividade"  type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.factores_riscos_psicossociais_tempo"  type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	            </tbody>
 | |
| 	        </table>
 | |
| 	
 | |
| 	        <div class="form-horizontal">
 | |
| 	
 | |
| 	            <div class="form-group">
 | |
| 	                <div class="col-md-12">
 | |
| 	                    <label class="control-label">Acidentes de Trabalho </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.acidentes_trabalho" name="rb_acidentes_trabalho" ng-value="true" type="radio" />
 | |
| 	                        Sim					       
 | |
| 	                    </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-click="gridClearItems('table_antecentesOcupacionaisAcidentesTrabalho', 'antecentesOcupacionaisAcidentesTrabalho')" ng-model="editing.antecentesOcupacionais.acidentes_trabalho" name="rb_acidentes_trabalho" ng-value="false" type="radio" />
 | |
| 	                        Não					       
 | |
| 	                    </label>
 | |
| 	                </div>
 | |
| 	            </div>
 | |
| 	
 | |
| 	        </div>
 | |
| 	
 | |
| 	        <table id="table_antecentesOcupacionaisAcidentesTrabalho" ng-show="editing.antecentesOcupacionais.acidentes_trabalho" class="table table-bordered table-striped">
 | |
| 	            <thead>
 | |
| 	                <tr>
 | |
| 	                    <th class="col-md-3">Acidente</th>
 | |
| 	                    <th class="col-md-3">Data</th>
 | |
| 	                    <th class="col-md-3">Lesão Corporal</th>
 | |
| 	                    <th class="col-md-3">Incapacidade Resultante %</th>
 | |
| 	                    <th class="col-md-3"> </th>
 | |
| 	                </tr>
 | |
| 	            </thead>
 | |
| 	            <tfoot>
 | |
| 	                <tr>
 | |
| 	                    <td colspan="5">
 | |
| 	                        <button ng-click="gridAddItem({}, editing.antecentesOcupacionaisAcidentesTrabalho, 'antecentesOcupacionaisAcidentesTrabalho', $event)" type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span>Adicionar </button>
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	            </tfoot>
 | |
| 	            <tbody>
 | |
| 	                <tr ng-repeat="item in editing.antecentesOcupacionaisAcidentesTrabalho">
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.acidente" data-required="true" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.data" data-required="true" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" type="text" class="form-control" datepicker />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.lesao_corporal" data-required="true" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.incapacidade_resultante" data-required="true" data-type="digits" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <button ng-click="gridRemoveItem($index, editing.antecentesOcupacionaisAcidentesTrabalho, $event)" type="button" class="btn btn-danger btn-xs">
 | |
| 	                            <span class="glyphicon glyphicon-remove"></span>
 | |
| 	                        </button>
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	            </tbody>
 | |
| 	        </table>
 | |
| 	
 | |
| 	        <div class="form-horizontal">
 | |
| 	
 | |
| 	            <div class="form-group">
 | |
| 	                <div class="col-md-12">
 | |
| 	                    <label class="control-label">Doenças Profissionais </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.doencas_profissionais" name="rb_doencas_profissionais" ng-value="true" type="radio" />
 | |
| 	                        Sim					       
 | |
| 	                    </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.doencas_profissionais" name="rb_doencas_profissionais" ng-value="false" type="radio" />
 | |
| 	                        Não					       
 | |
| 	                    </label>
 | |
| 	                </div>
 | |
| 	            </div>
 | |
| 	
 | |
| 	        </div>
 | |
| 	
 | |
| 	        <table ng-show="editing.antecentesOcupacionais.doencas_profissionais" class="table table-bordered table-striped">
 | |
| 	            <thead>
 | |
| 	                <tr>
 | |
| 	                    <th class="col-md-3">Suspeitas (código)</th>
 | |
| 	                    <th class="col-md-3">Data</th>
 | |
| 	                    <th class="col-md-3">Declaradas (código)</th>
 | |
| 	                    <th class="col-md-3">Data</th>
 | |
| 	                    <th class="col-md-3"> </th>
 | |
| 	                </tr>
 | |
| 	            </thead>
 | |
| 	            <tfoot>
 | |
| 	                <tr>
 | |
| 	                    <td colspan="5">
 | |
| 	                        <button ng-click="gridAddItem({}, editing.antecentesOcupacionaisDoencasProfissionais, 'antecentesOcupacionaisDoencasProfissionais', $event)" type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span>Adicionar </button>
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	            </tfoot>
 | |
| 	            <tbody>
 | |
| 	                <tr ng-repeat="item in editing.antecentesOcupacionaisDoencasProfissionais">
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.suspeitada" data-required="true" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.data_suspeita" data-required="true" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" type="text" class="form-control" datepicker />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.declarada" data-required="true" type="text" class="form-control" />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <input ng-model="item.data_declaracao" data-required="true" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" type="text" class="form-control" datepicker />
 | |
| 	                    </td>
 | |
| 	                    <td>
 | |
| 	                        <button ng-click="gridRemoveItem($index, editing.antecentesOcupacionaisDoencasProfissionais, $event)" type="button" class="btn btn-danger btn-xs">
 | |
| 	                            <span class="glyphicon glyphicon-remove"></span>
 | |
| 	                        </button>
 | |
| 	                    </td>
 | |
| 	                </tr>
 | |
| 	            </tbody>
 | |
| 	        </table>
 | |
| 	
 | |
| 	        <div class="form-horizontal">
 | |
| 	            <div class="form-group">
 | |
| 	                <div class="col-md-12">
 | |
| 	                    <label class="control-label">Doenças relacionadas com o trabalho (embora não constem na lista de Doenças Profissionais)? </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho" name="rb_doencas_relacionadas_com_trabalho" ng-value="true" type="radio" />
 | |
| 	                        Sim					       
 | |
| 	                    </label>
 | |
| 	                    <label class="checkbox-inline">
 | |
| 	                        <input ng-model="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho" name="rb_doencas_relacionadas_com_trabalho" ng-value="false" type="radio" />
 | |
| 	                        Não					       
 | |
| 	                    </label>
 | |
| 	                </div>
 | |
| 	            </div>
 | |
| 	        </div>
 | |
| 	        <div ng-show="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho" class="row">
 | |
| 	            <div class="col-sm-12">
 | |
| 	                <div class="form-group">
 | |
| 	                    <label class="control-label">Quais?</label>
 | |
| 	                    <textarea ng-model="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho_detalhe" rows="3" class="form-control"></textarea>
 | |
| 	                </div>
 | |
| 	            </div>
 | |
| 	        </div>
 | |
| 	
 | |
| 	    </div>	
 | |
| 	</div>
 | |
| 
 | |
| </div> |