Skip to main content
GET
/
api
/
2.0
/
medication_order_templates
/
List Medication Order Templates
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/medication_order_templates/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "medication": {
        "active_ndcs": [
          "<string>"
        ],
        "brand_name": "<string>",
        "created_date": "2023-11-07T05:31:56Z",
        "creation_type": "user",
        "form": "<string>",
        "generic_name": "<string>",
        "id": 123,
        "is_controlled": false,
        "market_end_date": "2023-11-07T05:31:56Z",
        "name": "<string>",
        "ndcs": [
          "<string>"
        ],
        "obsolete_date": "2023-11-07T05:31:56Z",
        "practice": 123,
        "route": "<string>",
        "rxnorm_cuis": [
          "<string>"
        ],
        "strength": "<string>",
        "type": "prescription"
      },
      "practice": 123,
      "auth_refills": 49,
      "deleted_date": "2023-11-07T05:31:56Z",
      "directions": "<string>",
      "id": 123,
      "qty": "<string>",
      "rank": 123,
      "specific_ndc": "<string>"
    }
  ],
  "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

deleted_date__gte
string<date-time>
deleted_date__isnull
boolean
deleted_date__lte
string<date-time>
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.

practice
integer<int64>[]

Multiple values may be separated by commas.

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"