Skip to main content
GET
/
api
/
2.0
/
discontinued_medications
List Discontinued Medications
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/discontinued_medications/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "med_order": 123,
      "chart_date": "2023-11-07T05:31:56Z",
      "created_date": "2023-11-07T05:31:56Z",
      "deleted_date": "2023-11-07T05:31:56Z",
      "discontinue_date": "2023-12-25",
      "document_date": "2023-11-07T05:31:56Z",
      "documenting_personnel": 123,
      "id": 123,
      "is_documented": true,
      "last_medication_order": 123,
      "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"
      },
      "patient": 123,
      "practice": 123,
      "prescribing_physician": 123,
      "reason": "<string>",
      "signed_by": 123,
      "signed_date": "2023-11-07T05:31:56Z",
      "supervising_physician": 123,
      "thread": 123
    }
  ],
  "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

discontinue_date__gte
string<date>
discontinue_date__lte
string<date>
document_date__gt
string<date-time>
document_date__gte
string<date-time>
document_date__lt
string<date-time>
document_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.

patient
integer<int64>[]

Multiple values may be separated by commas.

permanent
boolean
practice
integer<int64>[]

Multiple values may be separated by commas.

prescribing_physician
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"