{# # 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 > lap : lignes d'ordonnances # # @author Bertrand Boutillier # #} {# Ligne avec 1 seul médicament #} {% if page.ligne.medics | length == 1 %}
{{ page.ligne.medics.0.nomUtileFinal }} {% if page.ligne.medics.0. isNPS == 'true' %} [non substituable {% if page.ligne.medics.0. motifNPS %} - {{ page.ligne.medics.0.motifNPS }} {% endif %} ] {% endif %} {% if page.ligne.ligneData.isChronique == 'true' %} chronique {% endif %}
{{ page.ligne.medics.0.voieUtilisee }} {% if page.ligne.medics.0. posoFrappeeNbDelignesPosologiques > 1 %} - {{ page.ligne.medics.0.dureeTotaleHuman }} {% endif %}
{{ page.ligne.medics.0.posoHumanCompleteTab|join('
') }}
{% if page.ligne.medics.0. prescriptionMotif %}
Motif de prescription :
{{ page.ligne.medics.0.prescriptionMotif|e|nl2br }}
{% endif %}
{# editer ligne #} {# options de ligne #}
{# supprimer la ligne #}
{# PLusieurs médicaments #} {% elseif page.ligne.medics|length > 1 %}
{{ page.ligne.medics.0.voieUtilisee|capitalize }} - {{ page.ligne.medics.0.dureeTotaleHuman }} :
{# options de ligne #}
{# supprimer la ligne #}
{% for medic in page.ligne.medics %} {% endfor %}
{{ loop.index }} - {{ medic.nomUtileFinal }} {% if medic.isNPS == 'true' %} [non substituable {% if medic.motifNPS %} - {{ medic.motifNPS }} {% endif %} ] {% endif %} {% if page.ligne.ligneData.isChronique == 'true' %} chronique {% endif %}
{{ medic.posoHumanCompleteTab|join('
') }}
{% if medic.prescriptionMotif %}
Motif de prescription :
{{ medic.prescriptionMotif|e|nl2br }}
{% endif %}
{# editer medic #} {# supprimer medic #}
{% endif %}