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

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

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

## Request

- Base URL: `https://nativeapi.nextgen.com/nge/prod/nge-api/api`
- URL: `https://nativeapi.nextgen.com/nge/prod/nge-api/api/persons/{personId}/chart/encounters/{encounterId}/medications/{medicationId}`
- Auth: none declared. Required headers: `Accept`
- TypeScript: <https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes/docs/persons/:personId/chart/encounters/:encounterId/medications/:medicationId/delete.ts> (a function with typed inputs; its response is checked against the schema)

deletes a medication for a given person id, encounter id and medication id

## Path parameters

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

## Headers

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

## Request body

- 7B7BbaseUrl7D7D1persons13ApersonId1chart1encounters13AencounterId1medications13AmedicationIdRequest (unresolved $ref)

## Response `200`

OK

- object

## Other responses

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

---

[API](https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes.md) - [All operations](https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes/llms.txt) - [OpenAPI document](https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes/revisions/191e69116448?raw)
