---
title: "Capture a request (front desk, Inventory permission). Nothing billable is
created; the request lands in the provider's approve queue. OTC items
auto-approve and rest at Approved until pickup."
method: POST
path: "/medication-requests"
tags: ["MedicationRequests"]
---

# Capture a request (front desk, Inventory permission). Nothing billable is
created; the request lands in the provider's approve queue. OTC items
auto-approve and rest at Approved until pickup.

`POST /medication-requests`

## Request body

- CaptureMedicationRequestDto — Front-desk capture ("Requested"). Deliberately lean: no SIG, no provider, no billing intent — those belong to approval. The item may be unresolved (string? CaptureMedicationRequestDto.FreeTextMedication) at this stage.
  - `patientId` string
  - `inventoryItemId` string, nullable — The requested med, when the capturer could identify it.
  - `freeTextMedication` string, nullable — "She called it the white pills" — must be resolved before approval.
  - `quantity` union
    - number, double
    - string, double
  - `notes` string, nullable
  - `source` string, nullable — staff | phone | client-app. Defaults to phone (the multi-day lane's main source).
  - `fulfillmentMethod` string, nullable — Suggested fulfillment; the approving provider decides.
  - `renewalOfPrescriptionId` string, nullable — Prior Rx this request renews, when captured from medication history (Phase 3 UI).
  - `suggestedProviderId` string, nullable
  - `suggestedDosage` string, nullable
  - `suggestedFrequency` string, nullable
  - `suggestedDuration` string, nullable
  - `suggestedInstructions` string, nullable
  - `suggestedRefillsAllowed` union
    - integer
    - string, int32

## Response `201`

Created

- MedicationRequestDto — A medication request with its links and DERIVED billing state (design §5.4 — never stored, always computed from the link chain).
  - `id` string
  - `patientId` string
  - `patientName` string, nullable
  - `clientId` string, nullable
  - `inventoryItemId` string, nullable
  - `medicationName` string, nullable
  - `freeTextMedication` string, nullable
  - `requestedQuantity` union
    - number, double
    - string, double
  - `notes` string, nullable
  - `source` string
  - `isOtc` boolean
  - `fulfillmentMethod` string, nullable
  - `status` string
  - `billingState` string — Derived: none | quoted | quote_removed | unbilled | invoiced | paid. "unbilled" is the "Ready to bill" worklist predicate.
  - `requestedById` string, nullable
  - `requestedByName` string, nullable
  - `requestedAt` string, date-time
  - `approvedById` string, nullable
  - `approvedByName` string, nullable
  - `approvedAt` string, date-time, nullable
  - `deniedById` string, nullable
  - `deniedAt` string, date-time, nullable
  - `denialReason` string, nullable
  - `cancelledById` string, nullable
  - `cancelledAt` string, date-time, nullable
  - `cancelReason` string, nullable
  - `dispensedAt` string, date-time, nullable
  - `prescriptionId` string, nullable
  - `prescriptionItemId` string, nullable
  - `estimateId` string, nullable
  - `estimateLineItemId` string, nullable
  - `invoiceId` string, nullable
  - `renewalOfPrescriptionId` string, nullable
  - `renewalContext` MedicationRequestRenewalContextDto — Prior-prescription context for a renewal request (design §7): what the doctor sees on the approve screen, with server-evaluated refill eligibility.
    - `medicationName` string, nullable
    - `prescriptionStatus` string
    - `refillsAllowed` union
      - integer
      - string, int32
    - `refillsUsed` union
      - integer
      - string, int32
    - `refillsRemaining` union
      - integer
      - string, int32
    - `lastDispensedAt` string, date-time, nullable
    - `validUntil` string, date, nullable
    - `refillEligible` boolean — True when "use a refill" may be chosen at approval.
    - `refillBlockedReason` string, nullable — rx_not_active | schedule_ii | refills_exhausted | rx_expired.
  - `suggestedProviderId` string, nullable
  - `suggestedDosage` string, nullable
  - `suggestedFrequency` string, nullable
  - `suggestedDuration` string, nullable
  - `suggestedInstructions` string, nullable
  - `suggestedRefillsAllowed` union
    - integer
    - string, int32
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/d8d7501dde48/schema)
