DICOM PS3.18 2025d - Web Services

B.38 Updating A Modality Performed Procedure Step With Produced Image Data Using JSON Content Type

This example illustrates an HTTP request for updating a modality performed procedure step using JSON. The intention is to record the newly created instances as part of the Referenced Image Sequence (0008,1140) during the ongoing acquisition of images on the modality.

This example is a continuation of the previous example as given in Section B.37, working on the same MPPS with UID 1.2.250.1.59.40211.12345678.987654. It adds a Performed Series Sequence (0040,0340), which contains:

POST /radiology/modality-performed-procedure-steps/1.2.250.1.59.40211.12345678.987654/update HTTP/1.1
Host: www.hospital-stmarco
Content-Type: application/dicom+json
…
{
  …,
  "00400340": { "vr": "SQ", "Value":
    [
      {
        "0008103E": { "vr": "LO", "Value": ["Head 1.50 Hr64 ax"] },
        "00081050": { "vr": "PN", "Value": [{ "Alphabetic": "House^Gregory" }] },
        "00081140": { "vr": "SQ", "Value":
          [
            {
              "00081150": { "vr": "UI", "Value": ["1.2.840.10008.5.1.4.1.1.2"] },
              "00081155": { "vr": "UI", "Value": ["1.2.250.1.59.40211.197132.3000002004071832284030000520"] },
              …
            },
            {
              "00081150": { "vr": "UI", "Value": ["1.2.840.10008.5.1.4.1.1.2"] },
              "00081155": { "vr": "UI", "Value": ["1.2.250.1.59.40211.197132.3000002004071832284030000521"] },
              …
            },
            …
          ]
        },
        … ,
        "00181030": { "vr": "LO", "Value": ["Special^99a_HeadCTA"] },
        "0020000E": { "vr": "UI", "Value": ["1.2.250.1.59.40211.197132.30000020040718322840300000007"] },
        …
      },
      …
    ]
  },
  …
}
…

A successful response to the request will be:

HTTP/1.1 200 OK

Note

Updating sequences within the Modality Performed Procedure Step, like the Performed Series Sequence (0040,0340) and the Referenced Image Sequence (0008,0140), is only possible by providing these in their entirety, as is required in DIMSE. Updating sequences by only providing changes to them is not possible. See Section F.7.2.2.2 in PS3.4 . If an origin server detects that the content of a Sequence within the Modality Performed Procedure Step is not extended, i.e., not all elements of its current representation are present in the representation of the Update Transaction, it could yield a warning message. This need not be an error, as the behavior may be intentional, e.g., correcting an earlier mistake.

DICOM PS3.18 2025d - Web Services