# HG changeset patch # User Sebastien Jodogne # Date 1621523876 -7200 # Node ID 634ff8993f6a695f1744cff9a058811ad722c7c2 # Parent 0840a25c6d411b1e55d660f0c29008d4babb23b1 Stone Web viewer: Patient birth date is now displayed in the overlays diff -r 0840a25c6d41 -r 634ff8993f6a Applications/StoneWebViewer/NEWS --- a/Applications/StoneWebViewer/NEWS Thu May 20 17:11:10 2021 +0200 +++ b/Applications/StoneWebViewer/NEWS Thu May 20 17:17:56 2021 +0200 @@ -1,6 +1,7 @@ Pending changes in the mainline =============================== +* Patient birth date is now displayed in the overlays * New argument "token" to set HTTP header "Authorization: Bearer " for each request to the DICOMweb server * Fix issue #197 (Support for passing credentials with all HTTP requests) diff -r 0840a25c6d41 -r 634ff8993f6a Applications/StoneWebViewer/WebApplication/app.js --- a/Applications/StoneWebViewer/WebApplication/app.js Thu May 20 17:11:10 2021 +0200 +++ b/Applications/StoneWebViewer/WebApplication/app.js Thu May 20 17:17:56 2021 +0200 @@ -32,6 +32,7 @@ var SERIES_NUMBER = '0020,0011'; var SERIES_DESCRIPTION = '0008,103e'; var MODALITY = '0008,0060'; +var PATIENT_BIRTH_DATE = '0010,0030'; // Registry of the PDF series for which the instance metadata is still waiting var pendingSeriesPdf_ = {}; diff -r 0840a25c6d41 -r 634ff8993f6a Applications/StoneWebViewer/WebApplication/index.html --- a/Applications/StoneWebViewer/WebApplication/index.html Thu May 20 17:11:10 2021 +0200 +++ b/Applications/StoneWebViewer/WebApplication/index.html Thu May 20 17:17:56 2021 +0200 @@ -611,7 +611,8 @@
{{ content.series.tags[PATIENT_NAME] }}
- {{ content.series.tags[PATIENT_ID] }} + {{ content.series.tags[PATIENT_ID] }}
+ {{ app.FormatDate(content.series.tags[PATIENT_BIRTH_DATE]) }}
{{ content.series.tags[STUDY_DESCRIPTION] }}