{# # 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 > people : relations du patient # # @author Bertrand Boutillier # @contrib fr33z00 #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : {{ page.patient.firstname }} {% if page.patient.lastname and page.patient.birthname %} {{ page.patient.lastname }} (né{% if page.patient.administrativeGenderCode == 'F' %}e{% endif %} {{ page.patient.birthname }}) {% elseif page.patient.lastname %} {{ page.patient.lastname }} {% else %} {{ page.patient.birthname }} {% endif %} - relations{% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block jsEmbed %} {{ parent() }} $(document).ready(function() { if ($('#bodyTabRelationPatientPrat').length) setTimeout(getRelationsPatientPraticiensTab($('#identitePatient').attr("data-patientID")), 200); if ($('#bodyTabRelationPatientPatients').length) setTimeout(getRelationsPatientPatientsTab($('#identitePatient').attr("data-patientID")), 200); }); {% endblock %} {% block body %}

Relations du patient {{ page.patient.firstname }} {% if page.patient.lastname and page.patient.birthname %} {{ page.patient.lastname }} (né{% if page.patient.administrativeGenderCode == 'F' %}e{% endif %} {{ page.patient.birthname }}) {% elseif page.patient.lastname %} {{ page.patient.lastname }} {% else %} {{ page.patient.birthname }} {% endif %} #{{ page.patient.id }}

Praticiens
{{ f.select ({ 'select' : { 'class' : 'toStatutRelation', 'values' : page.preRelationPatientPrat.formValues, 'valueDefaut' : el.value.preValue, 'autocomplete' : 'off' } }) }}
{% if config.droitDossierPeutCreerPraticien == 'true' %}
{% endif %}
Praticien Qualité
Liens familiaux
{{ f.select ({ 'select' : { 'class' : 'toStatutRelation', 'values' : page.preRelationPatientPatient.formValues, 'valueDefaut' : el.value.preValue, 'autocomplete' : 'off' } }) }}
Patient Date de naissance Qualité
{# modal creation nouveau praticien #} {% if config.droitDossierPeutCreerPraticien == 'true' %} {% include 'inc-patientModal-newPrat.html.twig' %} {% endif %} {% endblock %}