from DICOM PS3.18 F.2.2 DICOM JSON Model Object Structure
The name of each attribute object is:
The eight character uppercase hexadecimal representation of a DICOM Tag
but in DcmElement::writeJsonOpener
/* write attribute tag */
out << ++format.indent() << "\""
<< STD_NAMESPACE hex << STD_NAMESPACE setfill('0')
<< STD_NAMESPACE setw(4) << tag.getGTag();
/* write "ggggeeee" (no comma, upper case!) */
/* for private element numbers, zero out 2 first element digits */
/* or output full element number "eeee" */
out << STD_NAMESPACE setw(4) << STD_NAMESPACE uppercase << tag.getETag() << "\":"
<< format.space() << "{" << STD_NAMESPACE dec << STD_NAMESPACE setfill(' ');
out << STD_NAMESPACE nouppercase;
so, group is lower case and element is upper case
bug in the DcmElement::writeJsonOpener
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: bug in the DcmElement::writeJsonOpener
Thank you for the report. I'll fix this issue.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest