{# # This file is part of MedShakeEHR. # # Copyright (c) 2017 # Bertrand Boutillier # http://www.medshake.net # # MedShakeEHR is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # MedShakeEHR is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with MedShakeEHR. If not, see . #/ /## # Template > formatage du retour Thériaque sur l'analyse des prescriptions # # @author Bertrand Boutillier # #} {% if apatient.poids.statut != 'ok' or apatient.taillePatient.statut != 'ok' or apatient.clairanceCreatinine.statut != 'ok' %}

Données physiologiques patient

{% if apatient.poids.statut != 'ok' %} {% endif %} {% if apatient.taillePatient.statut != 'ok' %} {% endif %} {% if apatient.clairanceCreatinine.statut != 'ok' %} {% endif %}
Poids : vérifiez et corrigez si possible le poids. Dans le cas contraire, les controles ne pourront être réalisés intégrallement.
Taille : renseignez si possible la taille. Dans le cas contraire, les controles ne pourront être réalisés intégrallement.
Clairance créatinine : renseignez si possible la clairance de la créatinine. Dans le cas contraire, les controles ne pourront être réalisés intégrallement.
{% endif %} {% if aallergies %}

Allergies et hypersensibilités

{% for keyTerrain, allergies in aallergies %} {% for keyLigne, ligne in allergies %} {% endfor %} {% endfor %}
{{ allergies['0']['alerte']['lib_ter'] }}
{{ ligne.medic.nomUtileFinal }} {{ ligne['medic']['posoHumanCompleteTab'][corLi[ligne['alerte']['indiceligneprescription']]['poso']] }} {% if corLi[ligne['alerte']['indiceligneprescription']]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %}
{{ ligne['alerte']['texte']|nl2br }}
{% endif %} {% if aredondances %}

Traitements redondants

{% for keyRedon, redon in aredondances %} {% for ligne in redon %} {% endfor %} {% endfor %}
{{ redon['0']['alerte']['texte'] }}
{{ ligne.medic.nomUtileFinal }} {{ ligne['medic']['posoHumanCompleteTab'][corLi[ligne['alerte']['indiceligneprescription']]['poso']] }} {% if corLi[ligne['alerte']['indiceligneprescription']]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %}
{% endif %} {% if aposologies %}

Alertes posologies

{% for ligneThe, alertes in aposologies %} {% for alerte in alertes['1'] %} {% endfor %} {% for alerte in alertes['0'] %} {% endfor %} {% endfor %}
{{ alertes.medic.nomUtileFinal }} - {{ alertes['medic']['posoHumanCompleteTab'][corLi[ligneThe]['poso']] }} {% if corLi[ligneThe]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %}
Alerte posologique : {{ alerte.texte }}
Alerte technique : {{ alerte.texte }}
{% endif %} {% if acipemg %}

Contre-indications, précautions d'emploi et mises en garde

{% for ligneThe, alertes in acipemg %} {% for keyLigne, alerte in alertes['C'] %} {% endfor %} {% for alerte in alertes['P'] %} {% endfor %} {% endfor %}
{{ alertes.medic.nomUtileFinal }} - {{ alertes['medic']['posoHumanCompleteTab'][corLi[ligneThe]['poso']] }} {% if corLi[ligneThe]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %}
Contre-indication : {{ alerte.lib_ter }}
{{ alerte.texte|nl2br }}
Précautions d'emploi : {{ alerte.lib_ter }}
{{ alerte.texte|nl2br }}
{% endif %} {% if agrossesse %}

Grossesse et allaitement

{% for ligneThe, alertes in agrossesse %} {% for keyLigne, alerte in alertes['1'] %} {% if alerte.texte %} {% endif %} {% endfor %} {% for keyLigne, alerte in alertes['2'] %} {% if alerte.texte %} {% endif %} {% endfor %} {% for keyLigne, alerte in alertes['3'] %} {% if alerte.texte %} {% endif %} {% endfor %} {% for keyLigne, alerte in alertes['4'] %} {% if alerte.texte %} {% endif %} {% endfor %} {% endfor %}
{{ alertes.medic.nomUtileFinal }} - {{ alertes['medic']['posoHumanCompleteTab'][corLi[ligneThe]['poso']] }} {% if corLi[ligneThe]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %}
{% if alerte.texte %} {% endif %} {{ alerte.lib_ter_per }} : {{ alerte.lib_reco }}
{{ alerte.texte|nl2br }}
{% if alerte.texte %} {% endif %} {{ alerte.lib_ter_per }} : {{ alerte.lib_reco }}
{{ alerte.texte|nl2br }}
{% if alerte.texte %} {% endif %} {{ alerte.lib_ter_per }} : {{ alerte.lib_reco }}
{{ alerte.texte|nl2br }}
{% if alerte.texte %} {% endif %} {{ alerte.lib_ter_per }} : {{ alerte.lib_reco }}
{{ alerte.texte|nl2br }}
{% endif %} {% if ainteractions %}

Interactions

{% for niveau, data in ainteractions %} {% for kinter, inter in data %} {% endfor %} {% endfor %}
{% if niveau == '1' %}Contre-indication {% elseif niveau == '2' %}Association déconseillée {% elseif niveau == '3' %}Précautions d’emploi {% elseif niveau == '4' %}A prendre en compte {% elseif niveau == '11' %}Information générale {% else %}Divers{% endif %}
{{ inter.medic1.nomUtileFinal }} {% if corLi[inter['infos']['indiceligneprescription_1']]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %} + {{ inter.medic2.nomUtileFinal }} {% if corLi[inter['infos']['indiceligneprescription_2']]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %}
{{ inter.infos.texte|nl2br }}
{% endif %} {% if aincompatibilites %}

Incompatibilités

{% for niveau, incon in aincompatibilites %} {% endfor %}
{{ incon.medic1.nomUtileFinal }} {% if corLi[inter['infos']['indiceligneprescription_1']]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %} + {{ incon.medic2.nomUtileFinal }} {% if corLi[inter['infos']['indiceligneprescription_2']]['zone'] in ['TTPonctuels', 'TTChroniques'] %} TT en cours{% endif %}
{{ incon.infos.texte|nl2br }}
{% endif %} {% if adopageconduc.aconducteur %}

Alertes pour la conduite

{% for niveau, con in adopageconduc.aconducteur %} {% if niveau in ['1', '2', '3'] %} {% for c in con %} {% endfor %} {% endif %} {% endfor %} {% for niveau, con in adopageconduc.aconducteur %} {% if niveau in ['4', '5'] %} {% for c in con %} {% endfor %} {% endif %} {% endfor %}
{% if niveau == '1' %}Niveau 1 ("soyez prudent") {% elseif niveau == '2' %}Niveau 2 ("soyez très prudent") {% elseif niveau == '3' %}Niveau 3 ("attention danger : ne pas conduire") {% endif %}
{{ c.medicNameUtile }}
{% if niveau == '4' %}Niveau non précisé {% elseif niveau == '5' %}Recommandations hors pictogramme {% endif %}
{{ c.medicNameUtile }}
{% endif %} {% if adopageconduc.adopage %}

Alertes produits dopants

{% for niveau, dop in adopageconduc.adopage %} {% for d in dop %} {% endfor %} {% endfor %}
{% if niveau == '1' %}Contre-indication {% elseif niveau == '2' %}Précautions d’emploi{% endif %}
{{ d.medicNameUtile }}
{% endif %}