N.7.3.3.7.1 Search Transaction As Origin Server
Table N.7.3.3.7.1-1 lists the Status Codes that an origin server supports for the Search Transaction of the Modality Scheduled Procedure Step Service and the condition in which any of the listed Status Codes is sent.
[Describe below the condition in which the application sends the specific Status Codes in the Search Transaction response as origin server.]
Table N.7.3.3.7.1-1. Status Codes of Origin Server for Search Transaction
|
Status
|
Code
|
Condition
|
|
Success
|
200 (OK)
|
The origin server returns the matching results.
|
|
204 (No Content)
|
The origin server has no matching results.
|
|
Failure
|
400 (Bad Request)
|
The origin server cannot handle the search request because of errors in the request headers or parameters.
|
|
413 (Payload Too Large)
|
The origin server cannot return the results, as their combined size exceeds the maximum payload size supported. The user agent may repeat the request with paging or with a narrower query to reduce the size.
|
|
503 (Service Unavailable)
|
The origin server cannot handle the query; this may be a temporary or permanent state.
|
N.7.3.3.7.2 Search Transaction As User Agent
Table N.7.3.3.7.2-1 lists the Status Codes that a user agent supports for the Search Transaction of the Modality Scheduled Procedure Step Service and defines the application behavior, when encountering any of the listed Status Codes.
[Describe below the behavior of the application when it receives various Status Codes in the Search Transaction response]
Table N.7.3.3.7.2-1. Status Codes of User Agent for Search Transaction
|
Status
|
Code
|
Behavior
|
|
Success
|
200 (OK)
|
Select an appropriate Modality Scheduled Procedure Step and start performing it
|
|
204 (No Content)
|
Change selection criteria and try again, or try again later
|
|
Failure
|
400 (Bad Request)
|
Reformat the request to proper HTTP
|
|
413 (Payload Too Large)
|
Try again with a smaller limit parameter
|
|
503 (Service Unavailable)
|
Try again later
|
|
*
|
Any other code
|
Do further analysis
|