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

Dec 30, 2016 03:49 AM
by Tommy
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
Jan 5, 2017 04:08 PM
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 8, 2017 01:02 PM
by RadiAnt
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.
Post reply
Author (first name or pseudonym):


Captcha image

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.