Skip to main content
GET
/
api
/
2.0
/
medication_refills
/
List Medication Refills
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/medication_refills/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "original_medication_order": 123,
      "practice": 123,
      "prescriber": 123,
      "received_date": "2023-11-07T05:31:56Z",
      "requested_pharmacy_ncpdpid": 123,
      "id": 123,
      "patient": 123,
      "patient_matched": true,
      "supervisor": 123
    }
  ],
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

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<int64>[]

Prescribed patient.

practice
integer<int64>[]

The doctor's practice.

prescriber
integer<int64>[]

Multiple values may be separated by commas.

received_date__gte
string<date-time>

Filter by received date greater than or equal to.

received_date__lte
string<date-time>

Filter by received date less than or equal to.

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"