{# # 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 > dicom : voir toutes les datas (images + SR) d'une etude dicom # # @author Bertrand Boutillier # @contrib fr33z00 #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }}{% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block body %}

Examen du {{ page.studyDcData.Datetime|date('d/m/Y H:i') }} de {# firstname #} {{ page['patient']['administrativeDatas']['firstname']['value']|e }} {# name #} {% if page['patient']['administrativeDatas']['lastname']['value'] %} {{ page['patient']['administrativeDatas']['lastname']['value']|e }} {% if page['patient']['administrativeDatas']['birthname']['value'] %} ({{ page['patient']['administrativeDatas']['birthname']['value']|e }}) {% endif %} {% else %} {{ page['patient']['administrativeDatas']['birthname']['value']|e }} {% endif %} {{ page['patient']['administrativeDatas']['8']['value']|e }} - {# birthdate #} {{ page['patient']['administrativeDatas']['8']['age']|e }} {# age #}

{% if page.studyDcDataRapro %}

Cet examen est lié à l'acte {{ page.studyDcDataRapro.label }} {% if page.studyDcDataRapro.titre %} : {{ page.studyDcDataRapro.titre }} {% endif %} du {{ page.studyDcDataRapro.creationDate|date('d/m/Y H:i') }}

{% endif %}
Images de l'étude
{% for instance, frames in page.imagesPath %} {% for frame, imagepath in frames %} {% endfor %} {% endfor %}
0 %} style="display: none;" {% endif %}> {% if frame == 0 and frames | length > 1 %} {{ frames|length }} images - voir / masquer {% endif %}
{# DEPRECATED #} {% if page.studyDcDataSR %}
Tags DICOM SR

Mesures remontées dans cette études

{% for k, v in page.studyDcDataSR %} {% for l, w in v %} {% endfor %} {% endfor %}
Tag Nom Valeur Unité
{{ k }} / {{ l }} {{ w.CodeMeaning }} {{ w.NumericValue }} {{ w.MeasurementUnits }}
{% endif %} {# Data SR via XML #} {% if page.studyDcDataSRFull %}
Tags DICOM SR (XML)

Mesures remontées dans cette études

{% for k, v in page.studyDcDataSRFull %} {% for l, w in v.NumericValue %} {% if loop.index0 == 0 %} {% else %} {% endif %} {% endfor %} {% endfor %}
Tag Foetus Nom Valeur Précision Unité
{{ k }} {{ v.FoetusID }} {{ v.CodeMeaning }} {% if v.structure %} ({{ v.structure|join(' > ') }}) {% endif %} {{ w }} {% if v['PrecisionValue'][l] != 'std' %}{{ v['PrecisionValue'][l] }} ({{ l }}) {% endif %} {{ v.MeasurementUnits }} {{ w }} {% if v['PrecisionValue'][l] != 'std' %}{{ v['PrecisionValue'][l] }} ({{ l }}) {% endif %} {{ v.MeasurementUnits }}
{% endif %} {% endblock %}