Skip to main content

Checking an order status

Check an order status by requesting the ServiceRequest resource.

For example:

curl -X GET https://api.kit.com/fhir/R4/ServiceRequest/c3ee8d8e-d18a-4a23-b3a5-0091f94ccf30 \
-H "Authorization: Bearer $MY_ACCESS_TOKEN"

The response will be the ServiceRequest including a "status" field:

{
"resourceType": "ServiceRequest",
"subject": {
"reference": "Patient/3b9dc2ca-ff9b-4921-a61b-142420d382fa",
"display": "Test Patient"
},
"code": {
"coding": [
{
"system": "https://kit.com/tests",
"code": "LIPID"
}
],
"text": "LIPID"
},
"id": "c3ee8d8e-d18a-4a23-b3a5-0091f94ccf30",
"meta": {
"versionId": "2acc2fa4-38b0-4ead-9a61-5b7a49f27ed8",
"lastUpdated": "2021-08-26T20:39:27.078Z",
"project": "e244a3fb-dee3-4061-9411-e75a616636c1",
"author": {
"reference": "Practitioner/ac312017-71a4-40e6-86b2-370398ac5e14",
"display": "Alice Smith"
}
},
"status": "completed"
}