Skip to main content
GET
/
api
/
2.0
/
sleep_orders
List Sleep Orders
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/sleep_orders/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "ancillary_company": 123,
      "chart_date": "2023-11-07T05:31:56Z",
      "clinical_reason": "<string>",
      "document_date": "2023-11-07T05:31:56Z",
      "patient": 123,
      "practice": 123,
      "prescribing_user": 123,
      "tests": [
        {
          "name": "<string>",
          "practice": 123,
          "code": "<string>",
          "created_date": "2023-11-07T05:31:56Z",
          "deleted_date": "2023-11-07T05:31:56Z",
          "id": 123
        }
      ],
      "ccs": [
        123
      ],
      "confidential": true,
      "created_date": "2023-11-07T05:31:56Z",
      "deleted_date": "2023-11-07T05:31:56Z",
      "follow_up_method": "<string>",
      "icd10_codes": [
        {
          "code": "<string>",
          "description": "<string>"
        }
      ],
      "id": 123,
      "resolution": {
        "created_date": "2023-11-07T05:31:56Z",
        "deleted_date": "2023-11-07T05:31:56Z",
        "document": 123,
        "id": 123,
        "note": "<string>",
        "resolving_document": 123
      },
      "signed_by": 123,
      "signed_date": "2023-11-07T05:31:56Z",
      "sleep_center": 123,
      "test_date": "2023-12-25"
    }
  ],
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Documentation Index

Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

order_by
string

Which field to use when ordering the results.

patient
integer[]

The patient the sleep order belongs to.

practice
integer[]

The practice the sleep order is associated with.

Response

200 - application/json
results
object[]
required
count
integer
Example:

123

next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"