{# # 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 > Config : données du modèle de données # # @author Bertrand Boutillier # @contrib fr33z00 #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : configuration{% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block body %} {% set valeurParDefaut='Valeur par défaut' %} {% set labelDefaut='Label' %} {% set nomUsageInterneDefaut='Nom à usage interne ' %} {% set labelFormType='Type formulaire' %} {% if page.groupe == "admin" %}

Types des données administratives

{% elseif page.groupe == "medical" %}

Types des données médicales

{% elseif page.groupe == "typecs" %}

Types des données de consultations

{% set valeurParDefaut='Nom du formulaire associé' %} {% set labelFormType='Données exportables' %} {% elseif page.groupe == "courrier" %}

Types des données courrier

{% set valeurParDefaut='Courrier : nom du template associé / Mail : texte par défaut' %} {% elseif page.groupe == "mail" %}

Types des données mail

{% elseif page.groupe == "doc" %}

Types des données documents

{% elseif page.groupe == "ordo" %}

Types des données ordonnances

{% elseif page.groupe == "reglement" %}

Types des données règlements

{% elseif page.groupe == "dicom" %}

Types des données Dicom

{% elseif page.groupe == "user" %}

Types des données utilisateurs

{% set labelDefaut='Nom de la variable de configuration (répéter)' %} {% set nomUsageInterneDefaut='Nom de la variable de configuration' %} {% elseif page.groupe == "relation" %}

Types des données Relation

{% endif %} {# Nav tabs #} {# Tab panes #}
{# type tab #}
{% for k,v in page.tabTypes %}

{{ v.0.catLabel }}

{% if page.groupe == "typecs" and config.optionGeActiverRegistres == 'true' %}{% elseif page.groupe not in ["courrier"] %}{% endif %} {% if page.groupe == "typecs" %}{% endif %} {% for w in v %} {% if page.groupe == "typecs" and config.optionGeActiverRegistres == 'true' %} {% elseif page.groupe not in ["courrier"] %}{% endif %} {% if page.groupe == "typecs" %}{% endif %} {% endfor %}
# Module Nom Label UtiliséRegistreValidationItération possible{{ labelFormType }} Vie Description
{{ w.id }} {{ w.module }} {{ w.name }} {{ w.label }} {{ w.enfants }}{{ page.registresPossibles[w.validationRules] }}{{ w.validationRules }}{{ w.validationErrorMsg }} {% if page.groupe == "typecs" and w.formType == 'select' %} oui {% else %} {{ w.formType }} {% endif %} {{ w.durationLife }} {{ w.description }}
{% endfor %}
{# modal new type #} {% endblock %}