---
title: "Get previous dispense details for auto-fill. Tries same patient first, falls back to any patient."
method: GET
path: "/rx/governance/previous-details"
tags: ["RxGovernance"]
---

# Get previous dispense details for auto-fill. Tries same patient first, falls back to any patient.

`GET /rx/governance/previous-details`

## Query parameters

- `inventoryItemId` string
- `patientId` string

## Response `200`

OK

- PreviousDispenseDetailsDto
  - `quantity` union
    - number, double
    - string, double
  - `dosage` string, nullable
  - `frequency` string, nullable
  - `duration` string, nullable
  - `instructions` string, nullable
  - `refillsAllowed` union
    - integer
    - string, int32
  - `wasForSamePatient` boolean
  - `prescribedDate` string, date-time, nullable

## Other responses

- `404` — Not Found

---

[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/e7d381a5453b/schema)
