{# # 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 : rapatrier posologies dans la modal de prescription # # @author Bertrand Boutillier # #}

{{ page['posologies']['posoFiches']|length }} {% if page['posologies']['posoFiches']|length > 1 %}schémas posologiques{% else %}schéma posologique{% endif %}

{% set rand = random(10000) %}
{% for posologie in page['posologies']['posoFiches'] %}
{% for poso in page.posologies.detPosoSpe[posologie.nofic] %}

Posologie {{ poso.dose.0.nature }}

{% if poso.frequenceCom is not empty %}
    {% for com in poso.commentaire %}
  • {{ com }}
  • {% endfor %}
{% endif %} {% if page.posologies.detPosoAdapt[posologie.nofic] is not empty %} {% endif %} {% if page.posologies.detPosoSurvei[posologie.nofic] is not empty %} {% endif %}
Dose
    {% for dose in poso.dose %}
  • {% if dose.mini == dose.maxi and dose.mini > 0 %} {{ dose.maxi }} {{ dose.info_02 }} {% elseif dose.mini and dose.maxi %} {{ dose.mini }} à {{ dose.maxi }} {{ dose.info_02 }} {% elseif dose.mini or dose.maxi %} {{ dose.mini }}{{ dose.maxi }} {{ dose.info_02 }} {% endif %}
  • {% endfor %}
Fréquence
    {% for fqc in poso.frequence %} {% if fqc.mini %}
  • minimale : {{ fqc.mini }} {{ fqc.info_02 }}
  • {% endif %} {% if fqc.maxi %}
  • maximale : {{ fqc.maxi }} {{ fqc.info_03 }}
  • {% endif %} {% endfor %}
{% if poso.frequenceCom is not empty %}
    {% for fqc in poso.frequenceCom %}
  • {{ fqc.info_01 }}
  • {% endfor %}
{% endif %}
Durée de traitement
    {% for duree in poso.duree %} {% if duree.mini %}
  • minimale : {{ duree.mini }} {{ duree.info_02 }}
  • {% endif %} {% if duree.maxi %}
  • maximale : {{ duree.maxi }} {{ duree.info_03 }}
  • {% endif %} {% endfor %}
{% if poso.dureeCom is not empty %}
    {% for dureeCom in poso.dureeCom %}
  • {{ dureeCom.info_01 }}
  • {% endfor %}
{% endif %}
Adaptation posologique
    {% for adapt in page.posologies.detPosoAdapt[posologie.nofic] %}
  • {{ adapt.info_01 }}
  • {% endfor %}
Surveillance
    {% for surveil in page.posologies.detPosoSurvei[posologie.nofic] %}
  • {{ surveil.info_01 }}
  • {% endfor %}
{% endfor %}

{{ page.posologies.posoText[posologie.nofic]['texte']|nl2br }}

{% if page.posologies.posoRef[posologie.nofic] is not empty %}

Référence(s) officielle(s)

    {% for ref in page.posologies.posoRef[posologie.nofic] %}
  • {{ ref.info_01 }} {{ ref.date_01|date("d/m/Y") }}
  • {% endfor %}
{% endif %}
{% endfor %}