{# # This file is part of MedShakeEHR. # # Copyright (c) 2017-2021 # 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 > patients : listing recherche patients / pro # # @author Bertrand Boutillier # @contrib fr33z00 # @contrib DEMAREST Maxime #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : {% if page.porp in ['patient', 'today'] %} patients {% elseif page.porp == 'pro' %} praticiens {% elseif page.porp == 'externe' %} associer patient {% endif %}{% endblock %} {% block jsFiles %} {{ parent() }} {# JS Transmissions #} {% if config.optionGeActiverTransmissions == 'true' and config.transmissionsPeutCreer == 'true' %} {% endif %} {% if config.optionGeActiverVitaleLecture =='true' %} {% endif %} {% endblock %} {% block cssEmbed %} {{ parent() }} .openPatient td:nth-child(-n+7) { cursor: pointer; } {% endblock %} {% block body %} {% if page.porp == 'patient'%}

Patients

{% elseif page.porp == 'today' %}

Patients du jour

{% elseif page.porp == 'pro' %}

Praticiens

{% elseif page.porp == 'externe' %}

Associer le patient externe {{ page.patient.administrativeDatas.lastname|default(page.patient.administrativeDatas.birthname) }} {{ page.patient.administrativeDatas.firstname }} à un patient MedShakeEHR

{% endif %}
{% if page.univTags.tagListe is not empty %}
{# Insertion des champs pour filter en fonction des tags universels #} {{ page.univTags.filterSearchHTML }}
{% endif %}
{{ f.input ({ 'input' : { 'type' : 'text', 'id' : 'd2', 'name' : 'lastname', 'value' : (page.patient.administrativeDatas.lastname|default(page.patient.administrativeDatas.birthname|default('')))|trim, 'placeholder' : 'Nom', 'class' : 'form-control col-12 searchupdate', 'autocomplete' : 'off', 'datatypeid' : '2' }, 'label' : { 'position' : 'before', } }) }}
{{ f.input ({ 'input' : { 'type' : 'text', 'id' : 'd3', 'name' : 'firstname', 'value' : page.patient.administrativeDatas.firstname|default(''), 'placeholder' : 'Prénom', 'class' : 'form-control col-12 searchupdate', 'autocomplete' : 'off', 'datatypeid' : '2' }, 'label' : { 'position' : 'before', } }) }}
{{ f.input ({ 'input' : { 'id' : 'autreCritVal', 'type' : 'text', 'name' : 'autre', 'placeholder': 'Autre critère', 'class' : 'form-control searchupdate', 'autocomplete' : 'off', }, 'label' : { 'position' : 'before', 'label' : '', } }) }}
{{ f.selectOptgroup ({ 'select' : { 'id' : 'autreCrit', 'name' : 'autre', 'class' : 'custom-select input-group-text form-control', 'values' : page.tabTypes, 'valueDefaut' : 'birthdate', 'autocomplete' : 'off', }, 'label' : { 'position' : 'before', 'label' : '', } }) }}
{% if page.porp in ['patient', 'today'] %} {% if page.porp == 'patient' and config.optionGeActiverVitaleLecture =='true' %} {% endif %}
Nouveau patient {% if config.droitDossierPeutSupPatient == 'true' %} {% endif %}
{% elseif page.porp == 'pro' and config.droitDossierPeutCreerPraticien == 'true' %}
Nouveau praticien {% if config.droitDossierPeutSupPraticien == 'true' %} {% endif %}
{% endif %}
{% if page.porp == 'externe' %}
{% endif %} {% endblock %} {% block modals %} {# modal nouvelle transmission #} {% if config.optionGeActiverTransmissions == 'true' and config.transmissionsPeutCreer == 'true' %} {# modal nouvelle transmission #} {% include 'inc-transmissionsNouvelleModal.html.twig' %} {% endif %} {# modal résultat lecture CPS Vitale #} {% if config.optionGeActiverVitaleLecture =='true' %} {% include 'inc-modalLectureCpsVitale.html.twig' %} {% endif %} {# modal rendre utilisateur #} {% if user.rank == 'admin' and config.optionGeAdminActiverLiensRendreUtilisateur == 'true' %} {% include 'inc-modalRendreUtilisateur.html.twig' %} {% endif %} {% endblock %}