# Prescription History

The **Prescription History** offers healthcare professionals a streamlined and consolidated view of a patient’s medication history from previous visits. It simplifies the review process, enabling quick decision-making and efficient medication management. Users can append or overwrite previous prescriptions directly into the current visit without navigating through individual visit records.

***

### Steps to access Prescription History

* Open the patient's **Medical Records** by navigating to **Home > Patient Queue > Current Medical Records**.
* In the **Medication** tab click the **Prescription History** icon in the right panel to open the pop-up.

  <figure><img src="/files/4skYVhdxK8LmoqNrajUP" alt="" width="182"><figcaption></figcaption></figure>
* The pop-up displays details from previous visits, including the doctor’s name, visit date, and prescribed medicines with corresponding information.

***

### Steps to Append or Overwrite Prescription from Previous Visits

Healthcare professionals can **append** or **overwrite** medications from previous prescriptions into the current prescription.

* In the **Prescription History** pop-up, select the required medication entries from previous visits. Multiple entries can be selected simultaneously.
* Click **ADD** to proceed. A confirmation pop-up will appear. Select one of the following options:
  * **Append**: Adds the selected medicines to the current list of medications.
  * **Overwrite**: Replaces the current list of medications with the selected ones.
  * **Cancel:** Cancels the action.

    <figure><img src="/files/F9CRk2lVKOMk5YkcjXYJ" alt=""><figcaption></figcaption></figure>

***

### Features of the Prescription History pop-up

#### Filter

* Use the **Filter result data** field to search for specific medications.
* Start typing the medicine name in the field, and relevant records will be filtered instantly.

  <figure><img src="/files/0iiQK2gGjLcaXPU4CcAl" alt=""><figcaption></figcaption></figure>

#### Sort

* Sort data by clicking on any column header (e.g., Doctor’s Name, Date, Medicine Name).
* Sorting organizes data in **ascending** or **descending** order for easy review.

  <figure><img src="/files/XuneuLU51AqUkehgcNo4" alt=""><figcaption></figcaption></figure>

#### Grouping

* Drag and drop column headers (e.g., Doctor’s Name, Date) above the table.
* Grouping organizes data by selected categories for better analysis. Multiple columns can be grouped simultaneously.

  <figure><img src="/files/3U8a3Rqsprud478TftDD" alt=""><figcaption></figcaption></figure>

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unitecare.gitbook.io/uniteemr/application-modules/medical-records/medication/more-action/prescription-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
