The DICOM JSON Model object is a representation of a DICOM Data Set.
The internal structure of the DICOM JSON Model object is a sequence of objects representing attributes within the DICOM Data Set.
Attribute objects within a DICOM JSON Model object must be ordered by their property name in ascending order.
Group Length (gggg,0000) attributes shall not be included in a DICOM JSON Model object.
The name of each attribute object is:
The eight character uppercase hexadecimal representation of a DICOM Tag
Each attribute object contains the following named child objects:
vr: A string encoding the DICOM Value Representation. The mapping between DICOM Value Representations and JSON Value Representations is described in Section F.2.3.
At most one of:
Value: An array containing one of:
The Value Field elements of a DICOM attribute with a VR other than PN, SQ, OB, OD, OF, OW, or UN (described in Section F.2.4)
The encoding of empty Value Field elements is described in Section F.2.5
The Value Field elements of a DICOM attribute with a VR of PN. The non-empty name components of each element are encoded as a JSON strings with the following names:
Alphabetic
Ideographic
Phonetic
JSON DICOM Model objects corresponding to the sequence items of an attribute with a VR of SQ
Empty sequence items are represented by empty objects
BulkDataURI: A string encoding the WADO-RS URL of a bulk data item describing the Value Field of an enclosing Attribute with a VR of FL, FD, IS, LT, OB, OD, OF, OW, SL, SS, ST, UL, UN, US, or UT (described in Section F.2.6)
InlineBinary: A base64 string encoding the Value Field of an enclosing Attribute with a VR of OB, OD, OF, OW, or UN (described in Section F.2.7)
For Private Data Elements, the group and element numbers will follow the rules specified in Section 7.8.1 in PS3.5
The person name representation is more closely aligned with the DICOM Data Element representation than the DICOM PS3.19 XML representation.