---
title: "Update Practice Medication"
method: PUT
path: "/api/2.0/practice_medications/{id}/"
tags: ["Practice Medications"]
---

# Update Practice Medication

`PUT /api/2.0/practice_medications/{id}/`

## Path parameters

- `id` integer, required

## Request body

- Medication
  - `active_ndcs` string[]
  - `brand_name` string
  - `created_date` string, date-time, nullable
  - `creation_type` 'user' | 'medispan' | 'ss' | 'disp' — * `user` - user * `medispan` - medispan * `ss` - surescripts * `disp` - dispensary
  - `form` string
  - `generic_name` string
  - `id` integer — The id of the medication.
  - `is_controlled` boolean — Whether the drug is a controlled substance or not.
  - `market_end_date` string, date-time, nullable
  - `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, nullable — The date at which this practice medication became obsolete.
  - `practice` integer — The practice that created the medication. `null` for medications from the standard formulary.
  - `route` string
  - `rxnorm_cuis` string[] — The Rxnorm.cui code of the medication (must contain only one cui code when creating).
  - `strength` string, nullable — The strength of the drug, e.g. 40mg.
  - `type` 'otc' | 'prescription' | 'discontinued' — * `otc` - otc * `prescription` - prescription * `discontinued` - discontinued

## Response `200`

- Medication
  - `active_ndcs` string[]
  - `brand_name` string
  - `created_date` string, date-time, nullable
  - `creation_type` 'user' | 'medispan' | 'ss' | 'disp' — * `user` - user * `medispan` - medispan * `ss` - surescripts * `disp` - dispensary
  - `form` string
  - `generic_name` string
  - `id` integer — The id of the medication.
  - `is_controlled` boolean — Whether the drug is a controlled substance or not.
  - `market_end_date` string, date-time, nullable
  - `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, nullable — The date at which this practice medication became obsolete.
  - `practice` integer — The practice that created the medication. `null` for medications from the standard formulary.
  - `route` string
  - `rxnorm_cuis` string[] — The Rxnorm.cui code of the medication (must contain only one cui code when creating).
  - `strength` string, nullable — The strength of the drug, e.g. 40mg.
  - `type` 'otc' | 'prescription' | 'discontinued' — * `otc` - otc * `prescription` - prescription * `discontinued` - discontinued

---

[API](https://skmtc.net/elationhealth/apis/api-authentication.md) · [All operations](https://skmtc.net/elationhealth/apis/api-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elationhealth/api-authentication/versions/c060f89d4de7/schema)
