| DICOM PS3.18 2018b - Web Services |
|---|
The NPI Service defines the transactions listed in Table 6.10.3-1
Table 6.10.3-1. NPI Service Transactions
The npi-name specifies the type of resource(s) contained in the payload.
Table 6.10.3-2 shows the target resources permitted for each transaction.
The Retrieve Capabilities transaction retrieves a machine-readable description of the NPI service implemented by an origin server. The response contains a machine-readable Capabilities Description. The Capabilities Description describes the transactions, resources, representations, etc. that are supported by the service(s).
An origin server implementation of an NPI Service shall support the Retrieve Capabilities transaction.
The Retrieve Capabilities request uses the OPTIONS method and has the following format:
OPTIONS SP / SP version CRLF
Accept: 1#media-type CRLF
*(header-field CRLF)
CRLF
Table 6.10.3.1.1.3-1 shows the most common Mandatory, Conditional, and Optional header fields for this transaction.
The origin server shall return a machine-readable description of its capabilities in an Acceptable Media Type.
The format of the response is as follows:
version SP status-code SP reason-phrase CRLF
Content-Type: media-type CRLF
*(header-field CRLF)
CRLF
payload
A success response shall have a status code of 200 (OK) or 204 (No Content).
A failure response shall have a 400 or 500 level status code.
| DICOM PS3.18 2018b - Web Services |
|---|