How many chars can PN have?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
vived
Posts: 20
Joined: Thu, 2012-03-22, 01:19
Contact:

How many chars can PN have?

#1 Post by vived »

Earlier,I thought PN can have 64 chars, but I found some words in standard,
(PN:64 chars
maximum per
component group)
Can PN have 64*n chars or 64 chars?

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: How many chars can PN have?

#2 Post by J. Riesmeier »

This is specified in part 5 of the DICOM standard: 64 characters per component group, and there are up to 3 component groups separated by a delimiter ("="). So, in total, PN supports 64 * 3 + 2 = 194 characters.
However, please be warned that characters does not mean bytes, since DICOM supports multi-byte character sets as well as code extension techniques using escape sequences to switch between character sets.

vived
Posts: 20
Joined: Thu, 2012-03-22, 01:19
Contact:

Re: How many chars can PN have?

#3 Post by vived »

J. Riesmeier wrote:This is specified in part 5 of the DICOM standard: 64 characters per component group, and there are up to 3 component groups separated by a delimiter ("="). So, in total, PN supports 64 * 3 + 2 = 194 characters.
However, please be warned that characters does not mean bytes, since DICOM supports multi-byte character sets as well as code extension techniques using escape sequences to switch between character sets.

very very 3q

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest