# HG changeset patch # User Sebastien Jodogne # Date 1670050753 -3600 # Node ID d0e68dd335ddffbe0091639c38f9b53fda1f4036 # Parent a7b5cb068fb86909ad94b43e8c9ea7ae27cc9cb3 patient sex is displayed in the top-left information panel diff -r a7b5cb068fb8 -r d0e68dd335dd Applications/StoneWebViewer/NEWS --- a/Applications/StoneWebViewer/NEWS Sat Dec 03 07:44:09 2022 +0100 +++ b/Applications/StoneWebViewer/NEWS Sat Dec 03 07:59:13 2022 +0100 @@ -5,6 +5,7 @@ * Annotations are grouped into one submenu for narrow screens * Fix measurement of arcs * Width of the vertical slider has doubled to ease user interactions +* Patient sex is displayed in the top-left information panel Version 2.4 (2022-11-02) diff -r a7b5cb068fb8 -r d0e68dd335dd Applications/StoneWebViewer/WebApplication/app.js --- a/Applications/StoneWebViewer/WebApplication/app.js Sat Dec 03 07:44:09 2022 +0100 +++ b/Applications/StoneWebViewer/WebApplication/app.js Sat Dec 03 07:59:13 2022 +0100 @@ -34,6 +34,7 @@ var SERIES_DESCRIPTION = '0008,103e'; var MODALITY = '0008,0060'; var PATIENT_BIRTH_DATE = '0010,0030'; +var PATIENT_SEX = '0010,0040'; // Registry of the PDF series for which the instance metadata is still waiting var pendingSeriesPdf_ = {}; diff -r a7b5cb068fb8 -r d0e68dd335dd Applications/StoneWebViewer/WebApplication/index.html --- a/Applications/StoneWebViewer/WebApplication/index.html Sat Dec 03 07:44:09 2022 +0100 +++ b/Applications/StoneWebViewer/WebApplication/index.html Sat Dec 03 07:59:13 2022 +0100 @@ -769,7 +769,8 @@
{{ content.series.tags[PATIENT_NAME] }}
{{ content.series.tags[PATIENT_ID] }}
- {{ app.FormatDate(content.series.tags[PATIENT_BIRTH_DATE]) }} + {{ app.FormatDate(content.series.tags[PATIENT_BIRTH_DATE]) }} - + {{ content.series.tags[PATIENT_SEX] }}