---
title: "Create Patient Prescription"
method: POST
path: "/provider/patients/{patient_id}/prescriptions"
tags: ["Prescriptions"]
---

# Create Patient Prescription

`POST /provider/patients/{patient_id}/prescriptions`

## Request

- Base URL: `https://api.sandbox.hint.com/api`
- URL: `https://api.sandbox.hint.com/api/provider/patients/{patient_id}/prescriptions`
- Auth: API key in header `AUTHORIZATION`

Records an order/send event with a persisted medication snapshot. Later medication edits do not update
this snapshot.
This endpoint does not track fulfillment, dispensing, or remaining refills; refills are the number
authorized at order time.
Use medication endpoints to migrate historical medication data, rather than creating prescription events.
Nested medication data has no medication ID or lifecycle fields. Find the current chart entry through
List Patient Medications.
See https://developers.hint.com/docs/prescriptions-and-medications for the snapshot and medication
lookup workflow.

## Path parameters

- `patient_id` string, required

## Request body

- ProviderPatientsPrescriptionsControllerCreateBody
  - `rx_id` string, required: The prescription identifier in the partner system.
  - `medication` object, required: The medication being prescribed. Accepts the same fields as Create Patient Medication, without the integration record fields.
  - `quantity` integer: The quantity prescribed. Must be a positive integer (at least 1) when supplied.
  - `refills` integer: The number of refills authorized. Must be a non-negative integer (0 or greater) when supplied; 0 means no refills.
  - `event_timestamp` string, date-time: The time the prescription was written.
  - `integration_record_id` string
  - `integration_error_message` string
  - `integration_web_link` string

## Response `200`

Successful response

- PublicPrescriptionBlueprintOne
  - `id` string
  - `type` string
  - `patient` object
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `event_timestamp` string, date-time
  - `rx_id` string, nullable
  - `quantity` integer, nullable
  - `refills` integer, nullable
  - `medication` PublicPrescriptionMedicationBlueprintLeaf
    - `product_name` string, nullable
    - `ndc` string, nullable
    - `rx_norm` string, nullable
    - `strength` string, nullable
    - `strength_uom` string, nullable
    - `dosage_form` string, nullable
    - `sig_text` string, nullable
    - `start_date` string, date, nullable

## Changes

- **2026-11-03** `c9bda0d2dd87`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hint/apis/partner-endpoints/changes/provider/patients/:patient_id/prescriptions/post.md)

---

[API](https://skmtc.dev/hint/apis/partner-endpoints.md) - [All operations](https://skmtc.dev/hint/apis/partner-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/hint/apis/partner-endpoints/revisions/c9bda0d2dd87?raw)
