Skip to main content
GET
/
api
/
2.0
/
practice_medications
/
{id}
Retrieve Practice Medication
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/practice_medications/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

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.

Path Parameters

id
integer<int64>
required

Response

200 - application/json
active_ndcs
string[]
brand_name
string
read-only
created_date
string<date-time> | null
read-only
creation_type
enum<string>
default:user
  • user - user
  • medispan - medispan
  • ss - surescripts
  • disp - dispensary
Available options:
user,
medispan,
ss,
disp
form
string
read-only
generic_name
string
read-only
id
integer<int64>

The id of the medication.

is_controlled
boolean
default:false

Whether the drug is a controlled substance or not.

market_end_date
string<date-time> | null
name
string

The name that will display for the medication in the search and when referenced by the prescription or documented med.

ndcs
string[]

The NDCs of the medication (must contain only one ndc code when creating).

obsolete_date
string<date-time> | null

The date at which this practice medication became obsolete.

practice
integer<int64>

The practice that created the medication. null for medications from the standard formulary.

route
string
read-only
rxnorm_cuis
string[]

The Rxnorm.cui code of the medication (must contain only one cui code when creating).

strength
string | null

The strength of the drug, e.g. 40mg.

Maximum string length: 255
type
enum<string>
default:prescription

Whether the practice medication is an OTC or Prescription drug.

  • otc - otc
  • prescription - prescription
  • discontinued - discontinued
Available options:
otc,
prescription,
discontinued