Payload The payload is defined by the service. An error payload should contain a Status Details document. Media Types The service shall define all media-types supported. Delete Subscription The target resource must be a resource to which the user agent has subscribed. If the “suspend” query parameter is “true” any current subscription are left in place, but no more subscriptions shall be created for the target resource. If the “suspend” parameter is “false” all current subscriptions to the target resource are deleted and no more will be created. If the “suspend” parameter is not present, it’s value is “false”. If the target resource is the Worklist and the “suspend” query parameter is “true” then all future subscriptions to Work Items are cancelled. If the “suspend” query parameter is either “false” or not present, the all current and future subscriptions are cancelled. Request The request shall be formatted as follows: DELETE∎ /{+subscription}{?suspend}∎version↲ Content-Length: 0↲ *header-field↲ ↲ Query Parameters subscription a URI referencing the subscription. ?suspend =true / false If present and its value is “true”, it indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions shall be created. If it is not present or its value is “false” all current subscriptions to the resource are deleted and no future subscriptions shall be created. Header Fields Required: Content-Length: 0 Payload Typically the request has no payload, but the actual payload is defined by the service. Behavior If the “suspend” query parameter is “true” the origin server shall no longer automatically subscribe the user agent to newly-created Work Items; however, this does not delete existing subscriptions to Work Items. If the “suspend” query parameter is “false” or not present the origin server shall remove any of the user agent’s existing subscriptions to the target resource. The origin server shall conform to the behavior described in . Response The response shall have the following format:
resource = {workItemUID} / 1.2.840.10008.5.1.4.34.5 / 1.2.840.10008.5.1.4.34.5.1 aetitle = 16{token} The subscribed Application Entity ?suspend = true / false If present, indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions should be created. **** This could be simplified to **** DELETE∎/workitems{/workItemUID}{?suspend}∎version↲ Content-Length: 0↲ *header-field↲ ↲ Where, {?suspend} = true / false If present, indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions should be created. **** end of simplification **** Header Fields Required: Content-Length: 0 Payload The request payload shall be empty. Behavior If the “suspend” query parameter is “true” the origin server shall no longer automatically subscribe the user agent to newly-created Work Items; however, this does not delete existing subscriptions to Work Items. If the “suspend” query parameter is “false” or not present the origin server shall remove any of the user agent’s existing subscriptions to the target resource. The origin server shall conform to the behavior described in . Response The response shall have the following format: version∎status-code∎reason-phrase↲ Content-Length: 0↲ *header-field↲ ↲ Status Codes A success response shall contain a status code of 200 (OK), indicating that the target subscription(s) have been suspended or deleted. A failure response will contain an appropriate status code from Table 12.2-A.
<GivenName> SB2 </GivenName> <MiddleName> SB3 </MiddleName> <NamePrefix> SB4 </NamePrefix> <NameSuffix> SB5 </NameSuffix> </Alphabetic> <Ideographic> <FamilyName> ID1 </FamilyName> … </Ideographic> <Phonetic> <FamilyName> PH1 </FamilyName> … </Phonetic> </PersonName> <PersonName number="2"> <Alphabetic> <FamilyName> SB6 </FamilyName> </Alphabetic> </PersonName> </DicomAttribute> " Alphabetic " : "SB1^SB2^SB3^SB4^SB5", "Ideographic": "ID1^ID2^ID3^ID4^ID5" , "Phonetic": "PH1^PH2^PH3^PH4^PH5" }, { "Alphabetic": " SB6 " } ] } <DicomAttribute tag= ggggeeee vr="SQ" … > <Item number="1"> <DicomAttribute tag= ggggee01 … /> <DicomAttribute tag= ggggee02 … /> … ggggeeee : { … "vr": "SQ", "Value": [