From 3a5cc2be83729d8a8b244ab352ab2defa3618fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Maur=C3=ADcio?= Date: Thu, 3 Jul 2014 10:33:14 +0000 Subject: [PATCH] git-svn-id: https://svn.coded.pt/svn/SIPRP@1959 bb69d46d-e84e-40c8-a05a-06db0d633741 --- .../static/html/app/Form1/Form1View.html | 1032 +---------------- .../static/html/app/Form4/Form4Controller.js | 253 +++- .../static/html/app/Form4/Form4View.html | 302 +++-- .../html/app/SearchForm/SearchView.html | 2 +- .../html/app/partials/Actividade-1.html | 60 + .../partials/AntecedentesFamiliares-1.html | 46 + .../partials/AntecedentesOcupacionais-1.html | 299 +++++ .../app/partials/AntecedentesPessoais-1.html | 86 ++ .../static/html/app/partials/Cirurgias-1.html | 54 + .../ClassificacaoIndividualSaude-1.html | 3 + .../app/partials/CondicoesTrabalho-1.html | 313 +++++ .../html/app/partials/DadosTrabalhador-1.html | 3 + .../static/html/app/partials/Fracturas-1.html | 54 + .../html/app/partials/Identificacao-1.html | 56 + .../html/app/partials/Internamentos-1.html | 54 + .../static/html/app/partials/Resumo-1.html | 5 +- .../static/html/app/partials/Section-1.html | 3 + .../static/html/app/partials/Utente-1.html | 128 ++ .../static/html/app/services/DataService.js | 3 +- 19 files changed, 1594 insertions(+), 1162 deletions(-) create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Actividade-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesFamiliares-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesOcupacionais-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesPessoais-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Cirurgias-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/CondicoesTrabalho-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Fracturas-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Identificacao-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Internamentos-1.html create mode 100644 trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Utente-1.html diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1View.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1View.html index 010d77fc..b14d2e7b 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1View.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1View.html @@ -20,1040 +20,30 @@
-

1 - Identificação

-
-
1.1 - Empresa
-
- -
- -
- -
- -
-
- -
- -
- -
-
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
- -
- -
-
- -
-
1.2 - Utente
-
- -
- -
- -
- -
-
- -
-
-
- -
- - -
-
-
-
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
- -
-
-
- - -
- -
- - - -
-
- -
-
- -
-
- -
- -
-
-
- -
-
-
-
-
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
- -
- -
-
+

1 - Identificação

+ +

2 - Actividade

-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
- -
- -
-
- -
-
Condições de Trabalho
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Horário Postura Tarefas Esforço 
Normal - - Sentado - - Variadas - - Físico: 
Contínuo - - Em Pé - - Criativas - - Cargas > 10 Kg - -
Turnos - - Deslocações - - Monótonas - - Cargas < 10 Kg - -
Nocturno - - Parado - - Repetitivas - - Visual - -
Isenção - - Sentádo/Pé - - Minuciosas - - Mental - -
-
-
- -
-
-
-
- - - -
-
- -
-
-

 

-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Posto de Trabalho 
Trabalho em Altura - -
Condução de Veículos - -
Trabalho com Máquinas - -
Ar Condicionado - -
Luz Artificial - -
Alcatifas - -
- -
-
-
- - -
-
-
- -
-
-
- -
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
-
-
- -
-
- -
-
-
-
-
-
- -
-
-
- -
-
- -
-
-
-
-
- -
-
+ -
-
- -
-
+

3 - Antecedentes Ocupacionais

-
-
- -
- -
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Actividades AnterioresEntidadeLocal de TrabalhoPeríodo de Tempo 
- -
- - - - - - - - - -
- -
- -
-
- - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Factores e Risco ActividadeTempo de Exposição
Fisicos - - - - - -
Químicos - - - - - -
Biológicos - - - - - -
Ergonómicos - - - - - -
Psicossociais - - - - - -
- -
- -
-
- - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
AcidenteDataLesão CorporalIncapacidade Resultante % 
- -
- - - - - - - - - -
- -
- -
-
- - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Suspeitas (código)DataDeclaradas (código)Data 
- -
- - - - - - - - - -
- -
-
-
- - - -
-
-
-
-
-
- - -
-
-
- -
- -
+

4 - Antecedentes Pessoais

-
-
- -
-
- -
- -
- -
-
- -
-
- -
-
- -
-
- -
-
- -
- -
-
-
- -
-
-
-
- -
-
- -
-
-
-
-
- -
- -
-
- -
-
- -
-
Cirurgias
-
- - - - - - - - - - - - - - - - - - - - -
Data/AnoMotivo Diagnóstico 
- -
- -
-
-
+ -
-
Fracturas
-
- - - - - - - - - - - - - - - - - - - - -
Data/AnoMotivo Diagnóstico 
- -
- -
-
-
- -
-
Internamentos
-
- - - - - - - - - - - - - - - - - - - - -
Data/AnoMotivo Diagnóstico 
- -
- -
-
-
+ + +

5 - Hábitos

6 - Antecedentes Familiares

-
-
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
-
+

7 - Exame Objectivo

diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js index 2a7c45c7..30b9628e 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js @@ -1,26 +1,44 @@ evoapp.controller('Form4Controller', function($rootScope, $scope, $timeout, $compile, $injector, $filter, globals) { $scope.globals = globals; - + var scrollspyItems = $( '' - ); + ); $scope.descricao = null; - + $scope.calculatedAge = 0; + + $scope.habilitacoes = new globals.dataService.store(); + $scope.estadosCivis = new globals.dataService.store(); + + $scope.storeDadosFicha = new globals.dataService.store({ + model: null, + actions: { + get: 'getDadosFichaFromBD' + } + }); $scope.storeFichasClinicas = new globals.dataService.store({ model: null, @@ -30,18 +48,53 @@ destroy: 'sendFicha' } }); - - $scope.add = function(selected){ + $scope.add = function(selected){ + $scope.editForm.$reset(); $scope.editing = angular.copy(selected); + + $scope.editing.antecentesOcupacionaisActividadesAnteriores = []; + $scope.editing.antecentesOcupacionaisAcidentesTrabalho = []; + $scope.editing.antecentesOcupacionaisDoencasProfissionais = []; + $scope.editing.antecentesOcupacionaisActividadesAnteriores = []; + + //TODO: rever estes modelos - 3 novas grelhas + $scope.editing.antecedentesPessoaisCirurgias = []; + $scope.editing.antecedentesPessoaisFracturas = []; + $scope.editing.antecedentesPessoaisInternamentos = []; + + $scope.editing.actividade = { + posto_representa_risco_saude: false + }; + + $scope.editing.antecentesOcupacionais = { + exposto_factores_risco: false, + acidentes_trabalho: false, + doencas_profissionais: false, + doencas_relacionadas_com_trabalho: false + }; + + //TODO: remaining fields!!! + $scope.editing.exameObjectivo = { + boca_nariz_normal: true, + pele_mucosas_normal: true, + acuidade_auditiva_normal: true, + adenopatias_normal: true, + pescoco_normal: true, + torax_normal: true, + auscultacao_cardiaca_normal: true, + auscultacao_pulmonar_normal: true, + mama_normal: true, + abdomen_normal: true, + coluna_vertebral_normal: true, + membros_normal: true, + exame_neurologico_normal: true + }; - $scope.editing.informacaoPeriodica = { - mudanca_funcao_condicoes: false, - acidente_trabalho: false, - alteracoes_estado_saude: false, - relaciona_trabalho_saude: false + $scope.editing.classificacaoIndividualSaude = { + sem_problemas_saude: true }; $scope.editing.conclusoesResumo = { @@ -67,25 +120,25 @@ $scope.edit = function(selected){ - $timeout(function () { - - $scope.editForm.$reset(); + $scope.editForm.$reset(); - $scope.storeFichasClinicas.extraParams = { - fichaID: selected.id - }; + $scope.storeFichasClinicas.extraParams = { + fichaID: selected.id + }; - $scope.storeFichasClinicas.get(function(response, status, headers, config, items){ - - $scope.selected = items; + $scope.storeFichasClinicas.get(function(response, status, headers, config, items){ + + $scope.selected = items; - $scope.editing = angular.copy($scope.selected); - + $scope.editing = angular.copy($scope.selected); + + $timeout(function () { + globals.plugins.buildFloatingSideMenu({ title: 'Ficha Clinica', scrollspyItems: scrollspyItems, - afterrender: function(){ - + afterrender: function(){ + $('body').scrollspy({ target: '#scrollspyItems' }); @@ -94,10 +147,11 @@ $scope.openModalDocumentos(); } - }); - }); + }); - }, 0); + }, 0); + + }); }; $scope.save = function(complete){ @@ -137,8 +191,101 @@ } }; + $scope.gridAddItem = function(item, array, arrayName, el){ + + if(!angular.isArray(array)) + { + $scope.editing[arrayName] = new Array(); + array = $scope.editing[arrayName]; + } + + array.push(item); + + $timeout(function () { + + if(el != undefined) + { + var table = $(el.target).closest('table'); + if(table.length > 0) + { + var inputs = $(table[0]).find('input[data-required="true"]'); + + $.each(inputs, function(index, el) { + + var input = $(el); + + //activate field validation + $scope.editForm.$removeConstraints(input, false); + }); + } + } + }); + }; + + $scope.gridRemoveItem = function(index, array, el){ + + if(angular.isArray(array)) + { + if(el != undefined) + { + var table = $(el.target).closest('table'); + if(table.length > 0) + { + var trs = $(table[0]).find('tr[class="ng-scope"]'); + + if(trs.length > 0 && trs[index] != undefined) + { + var tr = $(trs[index]); + + var inputs = tr.find('input[data-required="true"]'); + + $.each(inputs, function(index, el) { + + var input = $(el); + + //disable field validation + $scope.editForm.$removeConstraints(input, true); + }); + } + } + } + + array.splice(index, 1); + } + }; + + $scope.gridClearItems = function(tableId, arrayName){ + + if(angular.isArray($scope.editing[arrayName])) + { + $scope.editing[arrayName] = new Array(); + + var table = $scope.domEl.find('#' + tableId); + + if(table.length > 0){ + + var trs = $(table[0]).find('tr[class="ng-scope"]'); + + $.each(trs, function(index, trEl) { + + var inputs = $(trEl).find('input[data-required="true"]'); + + $.each(inputs, function(index, inputEl) { + + var input = $(inputEl); + + //disable field validation + $scope.editForm.$removeConstraints(input, true); + }); + }); + } + + $scope.editing[arrayName] = new Array(); + } + }; + $scope.cancel = function(){ - + globals.message.custom({ title: null, message: 'Pretende anular as alterações à ficha ou gravar para edição posterior?', @@ -167,6 +314,7 @@ label: 'Gravar', className: 'btn-success', callback: function() { + $scope.save(false); globals.plugins.hideFloatingSideMenu(); @@ -174,7 +322,8 @@ $scope.$parent.loadModule({Controller: 'Search'}, function(className, scope, isNewModule){ angular.element(scope.comboTrabalhadores.domEl).triggerHandler('change'); - }); + }); + } } } @@ -195,6 +344,30 @@ }); }; + $scope.$watch('editing.ficha.tipo_ficha_id', function(tipo_ficha_id, oldVal){ + + if(tipo_ficha_id){ + + $scope.storeDadosFicha.extraParams = { + tipoFichaID: tipo_ficha_id + }; + + $scope.storeDadosFicha.get(function(response, status, headers, config, items){ + + if(response.data){ + + if(response.data.habilitacoes){ + $scope.habilitacoes.loadData(response.data.habilitacoes); + } + + if(response.data.estadosCivis){ + $scope.estadosCivis.loadData(response.data.estadosCivis); + } + } + }); + } + }); + $scope.classificacaoIndividualSaude = function(selected){ if (selected && $scope.editing.classificacaoIndividualSaude.sem_problemas_saude) @@ -216,9 +389,9 @@ $scope.editing.classificacaoIndividualSaude.sem_problemas_saude = false; } }; - + $scope.$on('afterrender', function(event, args){ - + //listeners $scope.$watch('editing.ficha.trabalhador_data_nascimento', function(newVal, oldVal){ @@ -229,6 +402,6 @@ $scope.calculatedAge = a.diff(b, 'years'); } }); - + }); }); \ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html index 3c85b580..048a682a 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html @@ -18,10 +18,12 @@ - - - + +

1 - Identificação

+ + +
@@ -43,85 +45,29 @@
-
-
-
-
- - -
-
-
-
+

2 - Actividade

+ -
-
-
-
- - - -
- -
-
-
-
-
+ -
-
-
-
- - - -
- -
-
-
-
-
+

3 - Antecedentes Ocupacionais

+ -
-
-
-
- - - -
- -
-
-
-
-
+

4 - Antecedentes Pessoais

+ + + + + -
Hábitos
- +

5 - Hábitos

+ -
Exame Objectivo
- +

6 - Antecedentes Familiares

+ + +

7 - Exame Objectivo

+
@@ -131,22 +77,144 @@
-
+
+ +
+ +
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+ + + +

8 - Doenças Activas

+
+
+
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
- - -
Classificação Individual de Saúde
- -
Absentismo
+

9 - Classificação Individual de Saúde

+ + +

10 - Absentismo

@@ -160,38 +228,60 @@
-
Esquema Vacinal
+

11 - Esquema Vacinal

-
Resumo
- +

Conclusões/Resumo/Propostas Solução

+
+
+
+ + +
+
+ + +
+
+
+
+
+
+ + +
+
+ + +
+
+
-
-
+

14 - Observações

+
+
-
-
-
-
Parecer
- +
+

15 - Parecer

+
-
Reavaliação
+

16 - Reavaliação

- -
Data do Exame
+ +

17 - Data do Exame

- +
@@ -202,13 +292,29 @@
-
+ +

 

+

 

+

 

+ +

 

+

 

+

 

+ +

 

+

 

+

 

+ +

 

+

 

+

 

+

 

 

 

diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/SearchForm/SearchView.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/SearchForm/SearchView.html index ed17ae5a..8189569c 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/SearchForm/SearchView.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/SearchForm/SearchView.html @@ -98,7 +98,7 @@ Autor Estado   -   + F.A. diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Actividade-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Actividade-1.html new file mode 100644 index 00000000..8eb74336 --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Actividade-1.html @@ -0,0 +1,60 @@ + +
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+ +
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesFamiliares-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesFamiliares-1.html new file mode 100644 index 00000000..7b02dfe0 --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesFamiliares-1.html @@ -0,0 +1,46 @@ + +
+ +
+
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+ +
\ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesOcupacionais-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesOcupacionais-1.html new file mode 100644 index 00000000..e21097c2 --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesOcupacionais-1.html @@ -0,0 +1,299 @@ + +
+ +
+
+ +
+ +
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Actividades AnterioresEntidadeLocal de TrabalhoPeríodo de Tempo 
+ +
+ + + + + + + + + +
+ +
+ +
+
+ + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Factores e Risco ActividadeTempo de Exposição
Fisicos + + + + + +
Químicos + + + + + +
Biológicos + + + + + +
Ergonómicos + + + + + +
Psicossociais + + + + + +
+ +
+ +
+
+ + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
AcidenteDataLesão CorporalIncapacidade Resultante % 
+ +
+ + + + + + + + + +
+ +
+ +
+
+ + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Suspeitas (código)DataDeclaradas (código)Data 
+ +
+ + + + + + + + + +
+ +
+
+
+ + + +
+
+
+
+
+
+ + +
+
+
+ +
+
+ +
\ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesPessoais-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesPessoais-1.html new file mode 100644 index 00000000..749295e1 --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/AntecedentesPessoais-1.html @@ -0,0 +1,86 @@ + +
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+
+ +
\ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Cirurgias-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Cirurgias-1.html new file mode 100644 index 00000000..7910325f --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Cirurgias-1.html @@ -0,0 +1,54 @@ + +
+ +
+
Cirurgias
+
+ + + + + + + + + + + + + + + + + + + + +
Data/AnoMotivo Diagnóstico 
+ +
+ +
+
+
+ +
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/ClassificacaoIndividualSaude-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/ClassificacaoIndividualSaude-1.html index a707cd5f..8ddf1aea 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/ClassificacaoIndividualSaude-1.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/ClassificacaoIndividualSaude-1.html @@ -3,6 +3,9 @@ ClassificacaoIndividualSaude-1 notice: only contents inside this div will be rendered/compiled + +usage example: + -->
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/CondicoesTrabalho-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/CondicoesTrabalho-1.html new file mode 100644 index 00000000..0b7b2c10 --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/CondicoesTrabalho-1.html @@ -0,0 +1,313 @@ + +
+ +
+
Condições de Trabalho
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Horário Postura Tarefas Esforço 
Normal + + Sentado + + Variadas + + Físico: 
Contínuo + + Em Pé + + Criativas + + Cargas > 10 Kg + +
Turnos + + Deslocações + + Monótonas + + Cargas < 10 Kg + +
Nocturno + + Parado + + Repetitivas + + Visual + +
Isenção + + Sentádo/Pé + + Minuciosas + + Mental + +
+
+
+ +
+
+
+
+ + + +
+
+ +
+
+

 

+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Posto de Trabalho 
Trabalho em Altura + +
Condução de Veículos + +
Trabalho com Máquinas + +
Ar Condicionado + +
Luz Artificial + +
Alcatifas + +
+ +
+
+
+ + +
+
+
+ +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
\ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/DadosTrabalhador-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/DadosTrabalhador-1.html index 6223a36b..3b592fc4 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/DadosTrabalhador-1.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/DadosTrabalhador-1.html @@ -3,6 +3,9 @@ DadosTrabalhador-1 notice: only contents inside this div will be rendered/compiled + +usage example: + -->
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Fracturas-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Fracturas-1.html new file mode 100644 index 00000000..4ba20f97 --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Fracturas-1.html @@ -0,0 +1,54 @@ + +
+ +
+
Fracturas
+
+ + + + + + + + + + + + + + + + + + + + +
Data/AnoMotivo Diagnóstico 
+ +
+ +
+
+
+ +
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Identificacao-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Identificacao-1.html new file mode 100644 index 00000000..5f9e9727 --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Identificacao-1.html @@ -0,0 +1,56 @@ + +
+ +
+
1.1 - Empresa
+
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+ +
\ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Internamentos-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Internamentos-1.html new file mode 100644 index 00000000..a7dbb8ce --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Internamentos-1.html @@ -0,0 +1,54 @@ + +
+ +
+
Internamentos
+
+ + + + + + + + + + + + + + + + + + + + +
Data/AnoMotivo Diagnóstico 
+ +
+ +
+
+
+ +
\ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Resumo-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Resumo-1.html index 09d7d331..abef46a3 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Resumo-1.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Resumo-1.html @@ -2,7 +2,10 @@ Resumo-1 -notice: only contents inside this div will be rendered/compiled +notice: only contents inside this div will be rendered/compiled + +usage example: + -->
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Section-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Section-1.html index f646c243..3cafa06f 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Section-1.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Section-1.html @@ -3,6 +3,9 @@ Section 001 notice: only contents inside this div will be rendered/compiled + +usage example: + -->
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Utente-1.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Utente-1.html new file mode 100644 index 00000000..164f178f --- /dev/null +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Utente-1.html @@ -0,0 +1,128 @@ + +
+ +
+
1.2 - Utente
+
+ +
+ +
+ +
+ +
+
+ +
+
+
+ +
+ + +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ + +
+ +
+ + + +
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+ +
\ No newline at end of file diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/services/DataService.js b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/services/DataService.js index 7fbcf240..47c67391 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/services/DataService.js +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/services/DataService.js @@ -66,7 +66,8 @@ method: 'GET', url: (serviceBase + me.actions.get), params: params, - $$broadcastEvents: me.broadcastEvents + $$broadcastEvents: me.broadcastEvents, + timeout: 15000 // 15 seconds timeout }). success(function(response, status, headers, config) {