Get a list of service requests
get
/ServiceRequest
Note: The FHIR API endpoints described below are currently pending production deployment for electronic health record (EHR) environments. Developers are welcome and encouraged to develop against the specifications in anticipation of production availability, which will be announced at a later date.
Retrieves a list of service requests that meet the supplied query parameters.
Request
Query Parameters
-
_id: string
The logical resource ID.
-
_revinclude: string
The related Provenance resources to include in the search bundle.Allowed Values:
[ "Provenance:target" ] -
authored: string
When the service request was authored.
-
category: string
A code that classifies the service for searching, sorting, and display purposes.
-
code: string
A code that identifies a particular service that has been requested.
-
patient: string
The subject (patient) for whom the service is requested.
Header Parameters
-
accept(required): string
The media type to be requested.
Example:
application/fhir+json -
authorization(required): string
The credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
There's no request body for this operation.
Back to TopResponse
200 Response
Successful search response.
Root Schema : schema
Type:
Show Source
object-
entry: array
entry
-
id(required): string
-
link: array
link
-
resourceType(required): string
Allowed Values:
[ "Bundle" ] -
type(required): string
Nested Schema : ServiceRequest
Type:
Show Source
object-
authoredOn: string
(date-time)
(USCDI) The date when the request is signed.
-
bodySite: array
bodySite
The location on the body.
-
category: array
category
(USCDI) The classification of the service.
-
code(required):
code
(USCDI) What is being requested or ordered.
-
id(required): string
-
intent(required): string
(USCDI) The following values are supported:
proposalplandirectiveorderoriginal-orderreflex-orderfiller-orderinstance-orderoption
-
occurrenceDateTime: string
(date-time)
(USCDI) When the service should occur.
-
occurrencePeriod:
occurrencePeriod
(USCDI) When the service should occur.
-
occurrenceTiming:
occurrenceTiming
(USCDI) When the service should occur.
-
performer: array
performer
The requested performer.
-
reasonCode: array
reasonCode
(USCDI) The explanation or justification for the procedure or service.
-
reasonReference: array
reasonReference
(USCDI) The U.S. Core profile that supports the requested service.
-
requester:
requester
(USCDI) Who or what is requesting service.
-
resourceType(required): string
Allowed Values:
[ "ServiceRequest" ] -
specimen: array
specimen
The procedure samples.
-
status(required): string
(USCDI) The following values are supported:
draftactiveon-holdrevokedcompletedentered-in-errorunknown
-
subject(required):
subject
(USCDI) The individual or entity the service is ordered for.
Nested Schema : code
(USCDI) What is being requested or ordered.
Match All
(USCDI) What is being requested or ordered.
Show Source
Nested Schema : occurrencePeriod
(USCDI) When the service should occur.
Match All
(USCDI) When the service should occur.
Show Source
Nested Schema : occurrenceTiming
(USCDI) When the service should occur.
Match All
(USCDI) When the service should occur.
Show Source
Nested Schema : reasonCode
Type:
array(USCDI) The explanation or justification for the procedure or service.
Show Source
Nested Schema : reasonReference
Type:
array(USCDI) The U.S. Core profile that supports the requested service.
Show Source
Nested Schema : requester
(USCDI) Who or what is requesting service.
Match All
(USCDI) Who or what is requesting service.
Show Source
Nested Schema : subject
(USCDI) The individual or entity the service is ordered for.
Match All
(USCDI) The individual or entity the service is ordered for.
Show Source
Nested Schema : BundleLink
Type:
Show Source
object-
relation: string
Allowed Values:
[ "self", "next", "previous" ] -
url: string
(uri)
Default Response
An OperationOutcome
describing any error that occurred.
Root Schema : OperationOutcome
Type:
Show Source
object-
issue(required): array
issue
-
resourceType(required): string
Allowed Values:
[ "OperationOutcome" ]