---
title: "{{baseUrl}}/persons/:personId/chart/encounters/:encounterId/medications/:medicationId1"
method: PUT
path: "/persons/{personId}/chart/encounters/{encounterId}/medications/{medicationId}"
tags: ["Medications"]
---

# {{baseUrl}}/persons/:personId/chart/encounters/:encounterId/medications/:medicationId1

`PUT /persons/{personId}/chart/encounters/{encounterId}/medications/{medicationId}`

Updates a patient medication record for the given person id , encounter id and medication id Note: AcknowledgedProblems in prescription request object will be ignored because DUR check is not done while updating a medication. This field should not be set.

## Path parameters

- `personId` string, required
- `encounterId` string, required
- `medicationId` string, required

## Headers

- `Content-Type` 'application/json'
- `Accept` string, required

## Request body

- 7B7BbaseUrl7D7D1persons13ApersonId1chart1encounters13AencounterId1medications13AmedicationIdRequest1 — unresolved $ref

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/nextgen/apis/enterprise-api-uscdi-routes.md) · [All operations](https://skmtc.net/nextgen/apis/enterprise-api-uscdi-routes/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nextgen/enterprise-api-uscdi-routes/revisions/191e69116448/schema)
