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):


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

Please use English language when posting so that our international audience can understand and reply to your message.

Administrator reserves the right to remove any message (not related to the RadiAnt DICOM Viewer software, published in a language other than English, violating regulations, etc.).