---
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`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/rx/governance/previous-details`
- Auth: HTTP bearer

## 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.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
