---
title: "Modifies an existing medication activity"
method: PUT
path: "/patients/{patient_id}/medications/{patient_medication_id}"
tags: ["medication"]
---

# Modifies an existing medication activity

`PUT /patients/{patient_id}/medications/{patient_medication_id}`

## Path parameters

- `patient_id` integer, required
- `patient_medication_id` integer, required

## Request body

- PutPatientMedicationRequest
  - `medication_date` string, required — calendar date in format YYYY-MM-DD
  - `medication_time` string, required — time in HH:MM:SS
  - `name` string, required — indicate the name of the medication
  - `note` string, nullable — note that can be added to provide additional description Max 1024 char
  - `quantity` number, required — typical qty of medication taken
  - `side_effects` string, nullable — side effects of the medication Max 1024 char
  - `unit` string, required

## Response `200`

successful operation

- PatientMedicationResponse
  - `id` integer, required
  - `medication_date` string — calendar date in format YYYY-MM-DD
  - `medication_time` string — time in HH:MM:SS
  - `name` string, required — indicate the name of the medication
  - `note` string, nullable — note that can be added to provide additional description Max 1024 char
  - `quantity` number — typical qty of medication taken
  - `side_effects` string, nullable — side effects of the medication Max 1024 char
  - `unit` string

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) · [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) · [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/750cc0d96a93?raw)
