Get a list of messages sent by a patient
/20241001/patientMessages/sentItems
Note: The service currently supports the return of 1 page with a maximum of 1000 messages. To return further items, adjust the date and time parameters.
Request
-
createDateTimeGreaterThanOrEqualTo: string
Messages created after this date and time value will be retrieved.
Reminders set to show up after this date and time will be retrieved.
Defaults to 90 days before the current date and time. Must be before the createDateTimeLessThanOrEqualTo.
The ISO 8601 Combined Date and Time in UTC point-in-time format is used to specify the date and time value, excluding milliseconds.
-
createDateTimeLessThanOrEqualTo: string
Messages created before this date and time value will be retrieved.
Reminders set to show up before this date and time will be retrieved.
Defaults to the current date and time. Must be after the createDateTimeGreaterThanOrEqualTo.
Future dates are not supported and if provided, the default current date and time will be used instead.
The ISO 8601 Combined Date and Time in UTC point-in-time format is used to specify the date and time value, excluding milliseconds.
-
limit: integer
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
-
page: string
Minimum Length:
1
For list pagination. The value of the opc-next-page response header from the previous List request. -
patientId(required): string
Identifier of patient to filter the resource query against.
-
sortBy: string
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" ]
-
sortOrder: string
The sort order to use, either ascending (
ASC
) or descending (DESC
).Default Value:DESC
Allowed Values:[ "ASC", "DESC" ]
-
accept: string
Specifies which media types are acceptable for the response. Defaults to
application/json
.Default Value:application/json
-
accept-charset: string
Specifies which character sets are acceptable for the response. Defaults to
UTF-8
.Default Value:UTF-8
-
authorization(required): string
Contains the credentials to authenticate a consumer to the service.
-
opc-request-id: string
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.
Response
- application/json
200 Response
-
opc-next-page: string
For list pagination. When this header appears in the response, additional pages of results remain.
-
opc-prev-page: string
For list pagination. When this header appears in the response, additional pages of results remain.
-
opc-request-id: string
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.
object
-
items(required):
array items
List of the sent patient messages retrieved. This value can be empty.
array
-
Array of:
object PatientSentMessageSummary
Representation of a sent message for a patient.
object
-
carbonCopyRecipients:
array carbonCopyRecipients
List of the personnel and group inboxes who received a copy of the sent message.
-
conversationId:
string
The identifier of the conversation.
All messages are assigned a conversationId, even if no replies have taken place.
Multiple messages can have the same conversation ID if they are part of the same thread or back and forth of replies.
This value allows the consumer to group the messages together visually in a thread.
-
createdDateTime(required):
object DateTimeWithZone
Representation of date and time with the time zone.
-
id(required):
string
The identifier for the sent message.
-
messageSender(required):
object Participant
Sender or recipient of the message.
-
patient(required):
object PersonSimple
A simple representation of the individual person that was retrieved.
The individual could be a personnel member (provider), a patient, or a non-patient person.
-
priority:
object Priority
The priority of the message.
-
recipients(required):
array recipients
List of the personnel and group inboxes who are the recipient of the sent message.
-
recipientsAccessed:
array recipientsAccessed
List of the personnel and group inboxes who have read the message.
-
subject:
string
The subject of the sent message.
array
-
Array of:
object Participant
Sender or recipient of the message.
object
-
dateTime:
string(date-time)
The date and time represented in YYYY-MM-DDTHH:MM:SS:SSSZ format without the UTC offset as defined by RFC 3339.
No time zone information is associated with this date and time.
-
ianaTimeZone:
string
The time zone, provided that the date includes time precision. If
dateTime
contains time, this value is required.
object
-
groupInboxName:
string
The name of the group inbox, for cases where the participant is of type group inbox.
-
id(required):
string
The unique identifier for the participant.
-
personName:
object PersonNameSummary
A summary of the first, last, and full name for a person. The person could be a personnel member, patient, or non-patient person.
-
personnelName:
object PersonNameSummary
A summary of the first, last, and full name for a person. The person could be a personnel member, patient, or non-patient person.
-
type(required):
string
Allowed Values:
[ "PERSON", "PERSONNEL", "GROUPINBOX" ]
The type of the participant. This field must be set.- Set to PERSON for sent item sender.
- Set to PERSONNEL or GROUPINBOX for sent item recipients, and inbox item carbon copy recipients.
- Set to PERSON, PERSONNEL, or GROUPINBOX for inbox item recipients.
object
A simple representation of the individual person that was retrieved.
The individual could be a personnel member (provider), a patient, or a non-patient person.
-
id(required):
string
The unique identifier for the individual.
-
name:
object PersonNameSummary
A summary of the first, last, and full name for a person. The person could be a personnel member, patient, or non-patient person.
object
-
value(required):
string
Allowed Values:
[ "HIGH", "NORMAL" ]
The value of the priority. HIGH denotes STAT. NORMAL denotes ROUTINE.
array
-
Array of:
object Participant
Sender or recipient of the message.
array
-
Array of:
object Participant
Sender or recipient of the message.
object
-
firstName:
string
The person's first given name.
-
fullName:
string
The fully formatted name.
-
lastName:
string
The person's family last name.
400 Response
-
opc-request-id: string
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array 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.
array
array
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.
401 Response
-
opc-request-id: string
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array 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.
array
array
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.
403 Response
-
opc-request-id: string
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array 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.
array
array
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.
404 Response
-
opc-request-id: string
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array 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.
array
array
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.
429 Response
-
opc-request-id: string
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array 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.
array
array
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.
500 Response
-
opc-request-id: string
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array 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.
array
array
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.
Default Response
-
opc-request-id: string
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array 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.
array
array
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.