Get multiple code values

get

/20240101/codeValues

Retrieves a collection of code values by a codeSet and a set of filters, or a set of one or more code value id parameters.

Either the id or codeSet parameter must be supplied (but not both).

  • If one or more id values are supplied, no further filtering is recognized and the code values are returned first by code set and then by code value ID (ascending or descending as specified).
  • If a codeSet number is supplied, three optional filter lists can be supplied to filter the set of code values to return further. Only one of these filters (meaning, cki, and conceptCki) can be populated, otherwise, an error is returned. Queries by codeSet recognize the sort order setting.

Request

Query Parameters
  • Minimum Number of Items: 0
    Maximum Number of Items: 20
    A repeatable set of cdfMeaning strings that can be used for code value filtering. This field is only recognized when querying by codeSet. If this filter is set, the cki and conceptCKI filters cannot be set. The filter is case sensitive and a maximum of 20 values may be provided.
  • Minimum Number of Items: 0
    Maximum Number of Items: 20
    A repeatable set of Common Knowledge Index (CKI) strings that can be used for code value filtering. This field is only recognized when querying by codeSet. If this is set, the cdfMeaning and conceptCKI filter cannot be set. A maximum of 20 values may be provided.
  • A code set, as a string, to lookup code values for.
  • Minimum Number of Items: 0
    Maximum Number of Items: 20
    A repeatable set of Concept Common Knowledge Index (CKI) strings that can be used for code value filtering. This field is only recognized when querying by codeSet. If this is set, the cdfMeaning and cki filter cannot be set. A maximum of 20 values may be provided.
  • Minimum Number of Items: 0
    Maximum Number of Items: 50
    When querying by code value IDs, a repeatable set of code values is supplied here. The maximum number of IDs to query on is 50.
  • true by default. When set to false, inactive code values are returned when querying by code set.
  • true by default. When set to false, unauthenticated code values are returned when querying by code set.
  • Minimum Value: 1000
    Maximum Value: 1000
    For list pagination. The maximum number of results per page, or items to return in a paginated List request.
    Default Value: 1000
  • Minimum Length: 1
    For list pagination. The value of the opc-next-page response header from the previous List request.
  • The field to sort by. Only one sort order may be provided. Default order for createDateTime is descending.

    Sort the patient messages by createDateTime for sent items.

    Sort the reminders by remindDateTime and the messages by createDateTime for inbox items.

    Default Value: createDateTime
    Allowed Values: [ "createDateTime", "priority" ]
  • The sort order to use, either ascending (ASC) or descending (DESC).
    Default Value: DESC
    Allowed Values: [ "ASC", "DESC" ]
Header Parameters
  • Contains the credentials to authenticate a consumer to the service.
  • Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Back to Top

Response

Supported Media Types

200 Response

Indicates that a successful code value query was made. If all code value items were excluded due to the provided filters, a 200 status code is still returned. When querying by code value IDs, all provided IDs must be found for a 200 to be returned. Otherwise, a 400 level error is returned.
Headers
  • For list pagination. When this header appears in the response, additional pages of results remain.
  • For list pagination. When this header appears in the response, additional pages of results remain.
  • Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
Body ()
Root Schema : CodeValueCollection
Type: object
The results of the ListCodeValues operation.
Show Source
Nested Schema : items
Type: array
A collection of codeValue items from the filtered list call.
Show Source
Nested Schema : CodeValueSummary
Type: object
A summary representation of a code value.
Show Source

400 Response

Bad Request
Headers
  • Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
Body ()
Root Schema : ApiError
Type: object
Error information.
Show Source
Nested Schema : details
Type: array
A list of details regarding any errors from the resulting service call.
Show Source
Nested Schema : ErrorDetail
Type: object
Additional detail information pertaining to the error.
Show Source
Nested Schema : ErrorDetailSource
Type: object
An object containing references to the source of the error.
Show Source
  • headers
    A list of the request headers which caused the error.
  • parameters
    A list of which URI query parameters caused the error.
  • pointers

    A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

    For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Nested Schema : headers
Type: array
A list of the request headers which caused the error.
Show Source
Nested Schema : parameters
Type: array
A list of which URI query parameters caused the error.
Show Source
Nested Schema : pointers
Type: array

A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
Body ()
Root Schema : ApiError
Type: object
Error information.
Show Source
Nested Schema : details
Type: array
A list of details regarding any errors from the resulting service call.
Show Source
Nested Schema : ErrorDetail
Type: object
Additional detail information pertaining to the error.
Show Source
Nested Schema : ErrorDetailSource
Type: object
An object containing references to the source of the error.
Show Source
  • headers
    A list of the request headers which caused the error.
  • parameters
    A list of which URI query parameters caused the error.
  • pointers

    A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

    For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Nested Schema : headers
Type: array
A list of the request headers which caused the error.
Show Source
Nested Schema : parameters
Type: array
A list of which URI query parameters caused the error.
Show Source
Nested Schema : pointers
Type: array

A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Show Source

429 Response

Too Many Requests
Headers
  • Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
Body ()
Root Schema : ApiError
Type: object
Error information.
Show Source
Nested Schema : details
Type: array
A list of details regarding any errors from the resulting service call.
Show Source
Nested Schema : ErrorDetail
Type: object
Additional detail information pertaining to the error.
Show Source
Nested Schema : ErrorDetailSource
Type: object
An object containing references to the source of the error.
Show Source
  • headers
    A list of the request headers which caused the error.
  • parameters
    A list of which URI query parameters caused the error.
  • pointers

    A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

    For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Nested Schema : headers
Type: array
A list of the request headers which caused the error.
Show Source
Nested Schema : parameters
Type: array
A list of which URI query parameters caused the error.
Show Source
Nested Schema : pointers
Type: array

A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
Body ()
Root Schema : ApiError
Type: object
Error information.
Show Source
Nested Schema : details
Type: array
A list of details regarding any errors from the resulting service call.
Show Source
Nested Schema : ErrorDetail
Type: object
Additional detail information pertaining to the error.
Show Source
Nested Schema : ErrorDetailSource
Type: object
An object containing references to the source of the error.
Show Source
  • headers
    A list of the request headers which caused the error.
  • parameters
    A list of which URI query parameters caused the error.
  • pointers

    A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

    For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Nested Schema : headers
Type: array
A list of the request headers which caused the error.
Show Source
Nested Schema : parameters
Type: array
A list of which URI query parameters caused the error.
Show Source
Nested Schema : pointers
Type: array

A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.

For example, /data for a primary data object, or /data/attributes/title for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.

Show Source
Back to Top