Get a service request by ID
get
/ServiceRequest/{id}
Retrieves a service request by the associated ID.
Authorization Types
This operation supports the following authorization types:
Request
Path Parameters
-
id(required): string
The logical resource ID.
Header Parameters
-
authorization(required): string
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
Response
Supported Media Types
- application/fhir+json
200 Response
OK
Headers
-
X-Request-Id: string
Oracle troubleshooting identifier.
-
opc-request-id: string
Oracle troubleshooting identifier.
Example Response (application/fhir+json)
{
"resourceType":"ServiceRequest",
"id":"294672281",
"meta":{
"versionId":"1",
"lastUpdated":"2018-02-05T16:01:45.000Z"
},
"text":{
"status":"generated",
"div":"<div xmlns='http://www.w3.org/1999/xhtml'><p><b>Service Request</b></p><p><b>Patient</b>: FRIAS,</p><p><b>Code</b>: Pain Assessment Adult</p><p><b>Occurrence Starts</b>: Dec 12, 2016 12:00 P.M. UTC</p><p><b>Occurrence Ends</b>: Feb 5, 2018 4:01 P.M. UTC</p><p><b>Priority</b>: Routine</p><p><b>Status</b>: Revoked</p><p><b>Intent</b>: Instance Order</p><p><b>Requester</b>: Martin, MD, Mary Cerner</p><p><b>Order Detail</b>: 12/12/16 6:00:00 CST</p></div>"
},
"basedOn":[
{
"reference":"ServiceRequest/294664205"
}
],
"status":"revoked",
"intent":"instance-order",
"category":[
{
"coding":[
{
"system":"https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/6000",
"code":"2515",
"display":"Patient Care",
"userSelected":true
}
],
"text":"Patient Care"
}
],
"priority":"routine",
"code":{
"coding":[
{
"system":"https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/200",
"code":"2780687",
"userSelected":true
}
],
"text":"Pain Assessment Adult"
},
"orderDetail":[
{
"text":"12/12/16 6:00:00 CST"
}
],
"subject":{
"reference":"Patient/12457977",
"display":"FRIAS,"
},
"encounter":{
"reference":"Encounter/97697398"
},
"occurrencePeriod":{
"start":"2016-12-12T06:00:00.000-06:00",
"end":"2018-02-05T10:01:45.000-06:00"
},
"authoredOn":"2016-12-08T09:41:35.000-06:00",
"requester":{
"reference":"Practitioner/11724002",
"display":"Martin, MD, Mary Cerner"
},
"note":[
{
"text":"Additional assessments may be required if pain level unacceptable"
}
]
}
Default Response
An OperationOutcome
describing any error that occurred.
Headers
-
Etag: string
For Update or Patch versioning controls. Related to
If-Match
. When a resource performs an operation that creates or updates a record, anEtag
value is returned as a header. This same value should be included in request headers as anIf-Match
for any subsequent update to that record. -
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.
Root Schema : schema
Type:
Show Source
object
-
issue(required):
array issue
-
resourceType(required):
string
Allowed Values:
[ "OperationOutcome" ]