Date | <% try{ if(patients.releve[0].temperature!=null) { %>Temperature | <% tempOn=1; %> <% }; } catch(e) {console.log(e);} %> <% try{ if(patients.releve[0].fatigue!=null) { %>Fatigue | <% fatigueOn=1; %> <% }; } catch(e) {console.log(e);} %> <% try{ if(patients.releve[0].poids!=null) { %>Poids (Kg) | <% poidsOn=1; %> <% }; } catch(e) {console.log(e);} %> <% try{ if(patients.releve[0].mg!=null) { %>Masse Graisseuse (%) | <% mgOn=1; %> <% }; } catch(e) {console.log(e);} %>Vomi | <% try{ if(patients.releve[0].sechbucc!=null) { %>Sécheresse Buccale | <% sechOn=1; %> <% }; } catch(e) {console.log(e);} %> <% try{ if(patients.releve[0].doulbucc!=null) { %>Douleur Buccale | <% doulOn=1; %> <% }; } catch(e) {console.log(e);} %> <% try{ if(patients.releve[0].aphtes!=null) { %>Aphtes | <% aphOn=1; %> <% }; } catch(e) {console.log(e);} %>
---|---|---|---|---|---|---|---|---|
<%= patients.releve[i].horodate %> | <% if(tempOn==1) { %><%= patients.releve[i].temperature %> | <% }; %> <% if(fatigueOn==1) { %><%= patients.releve[i].fatigue %> | <% }; %> <% if(poidsOn==1) { %><%= patients.releve[i].poids %> | <% }; %> <% if(mgOn==1) { %><%= patients.releve[i].mg %> | <% }; %><% if(patients.releve[i].vomi==true){%> Oui<%};%> <% if(patients.releve[i].vomi==false){%> Non<%};%> | <% if(sechOn==1) { %><% if(patients.releve[i].sechbucc==true){%> Oui<%};%> <% if(patients.releve[i].sechbucc==false){%> Non<%};%> | <% }; %> <% if(doulOn==1) { %><% if(patients.releve[i].doulbucc==true){%> Oui<%};%> <% if(patients.releve[i].doulbucc==false){%> Non<%};%> | <% }; %> <% if(aphOn==1) { %><% if(patients.releve[i].aphtes==true){%> Oui<%};%> <% if(patients.releve[i].aphtes==false){%> Non<%};%> | <% }; %>