F.2 DICOM JSON Model
Prev | F DICOM JSON Model | Next

## F.2 DICOM JSON Model

The DICOM JSON Model follows the Native DICOM Model for XML very closely, so that systems can take advantage of both formats without much retooling. The Media Type for DICOM JSON is application/json. The default character repertoire shall be UTF-8 / ISO_IR 192.

### F.2.1 Multiple Results Structure

Multiple results returned in JSON are organized as a single top-level array of JSON objects. This differs from the Native DICOM Model, which returns multiple results as a multi-part collection of singular XML documents.

#### F.2.1.1 Examples

##### F.2.1.1.1 Native DICOM Model

    <?xml version="1.0" encoding="UTF-8" xml:space="preserve" ?>
    <NativeDicomModel>
      <DicomAttribute tag="0020000D" vr="UI" keyword="StudyInstanceUID">
        <Value number="1">1.2.392.200036.9116.2.2.2.1762893313.1029997326.945873</Value>
      </DicomAttribute>
    </NativeDicomModel>
    …
    <?xml version="1.0" encoding="UTF-8" xml:space="preserve" ?>
    <NativeDicomModel>
      <DicomAttribute tag="0020000D" vr="UI" keyword="StudyInstanceUID">
        <Value number="1">1.2.444.200036.9116.2.2.2.1762893313.1029997326.945876</Value>
      </DicomAttribute>
    </NativeDicomModel>

##### F.2.1.1.2 DICOM JSON Model

    [
      {
         "0020000D": {
          "vr": "UI",
          "Value": [ "1.2.392.200036.9116.2.2.2.1762893313.1029997326.945873" ]
        }
      }
      {
        "0020000D" : {
          "vr": "UI",
          "Value": [ "1.2.392.200036.9116.2.2.2.2162893313.1029997326.945876" ]
        }
      }
    ]

Prev | Up | Next
F DICOM JSON Model | Home | F.2.2 DICOM JSON Model Object Structure