DICOM PS3.18 2024c - Web Services |
---|
The DICOM Value Representation (VR) is included in each DICOM JSON Model attribute object and named "vr". For example:
"vr": "CS"
The JSON encoding of an Attribute shall use the JSON Data Type corresponding to the DICOM Value Representations in Table F.2.3-1. The JSON encodings shall conform to the Definition, Character Repertoire (if applicable) and Length of Value specified for that DICOM Value Representation (see Section 6.2 “Value Representation (VR)” in PS3.5 ) with the following exceptions:
Table F.2.3-1. DICOM VR to JSON Data Type Mapping
Object containing Person Name component groups as strings (see Section F.2.2) |
||
Universal Resource Identifier or Universal Resource Locator (URI/URL) |
||
For IS, DS, SV and UV, a JSON String representation can be used to preserve the original format during transformation of the representation, or if needed to avoid losing precision of a decimal string.
Although data, such as dates, are represented in the DICOM JSON model as strings, it is expected that they will be treated in the same manner as the original attribute as defined by Chapter 6 in PS3.6 .
DICOM PS3.18 2024c - Web Services |
---|