RadiAnt DICOM Viewer - Discussion Forum
remove trailing zero in Patient Age DICOM tag

I'm playing with DICOM tags and overlay.xml

I've noticed that if you add a "Patient Age" tag like:
<i r="2"><e k="1" i="00101010"/></i>

the age value is shown with trailing zero...
i.e. in a 45 years old patients you see 045Y...

is this a bug or it's possible to get rid of that 0 and have just 45Y?
I think 3 digits should only be shown in those rare patients with 100 years and more


Dec 30, 2016 03:49 AM
by Tommy
for the same reason if you read pediatric studies of kids under 10 years of age the tag value is shown with 2 trailing 0s.

i.e. 006Y instead of 6Y


Jan 5, 2017 04:08 PM
by Tommy
It's not a bug, the values are presented the way they are written in the dicom meta data. There will be some improvements in the future regarding custom annotations.


Jan 8, 2017 01:02 PM
by RadiAnt
Post reply

Author (first name or pseudonym):


Message:


You have to accept cookies to be able to post messages.
Visitors can post messages on the forum without having to register. Please input your first name or pseudonym in the "Author" field. Do not publish any personally identifiable information (PII).

Please ensure you write your posts in English so that our international audience can understand and reply to your message.

The Administrator reserves the right to remove any messages that violate our forum rules; for example, those that are not related to the RadiAnt DICOM Viewer software, published in a language other than English, contravene regulations, etc.