> For the complete documentation index, see [llms.txt](https://sigafdocumenta.saude.mg.gov.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sigafdocumenta.saude.mg.gov.br/ferramentas-sigaf/dispensacaobasicoestrategico/adicionar-dispensacao/historico-de-dispensacao-paciente.md). Agents can also search and read this documentation through its [MCP server](https://sigafdocumenta.saude.mg.gov.br/~gitbook/mcp).

# Histórico de Dispensação Paciente

É possível consultar o histórico de dispensação do paciente para **visualizar as dispensações anteriormente realizadas** de modo a auxiliar na tomada de decisão durante o processo de dispensação.

### **Como acessar** o histórico de dispensação do paciente?

1. Após [acessar o SIGAF](https://sigaf.saude.mg.gov.br/), no menu vá em: **Dispensação > Dispensação Básicos e Estratégicos.**
2. Clique em **“Adicionar Dispensação”**.&#x20;
3. No histórico, selecione o comando **“Visualizar Histórico Completo de Dispensações”**.

{% hint style="info" %}
As 6 últimas dispensações serão exibidas no histórico. Dispensações que foram estornadas ou excluídas não aparecerão no histórico.
{% endhint %}

### **Visualização do histórico**

Ao clicar em "**Visualizar Histórico Completo de Dispensações**" será possível visualizar o histórico, com exceção das dispensações estornadas e excluídas.

{% hint style="info" %}
Se a dispensação tiver mais de um item, cada um será exibido em uma linha separada.
{% endhint %}

<img src="https://396036655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuFBsYi1Fid7tWEkdmVIC%2Fuploads%2FphOgaNct57Ezi2ryt910%2Ffile.excalidraw.svg?alt=media&amp;token=352e9798-d13f-4117-884c-6e134f0a52ca" alt="" class="gitbook-drawing">

### **Informações apresentadas**

Na tela de visualização, são exibidos:

* **Itens dispensados** com:
  * Quantidade dispensada;
  * Nome comercial;
  * Nome do item (descrição genérica).

Ao passar o mouse sobre a linha, um **hint** mostra as informações complementares.

<figure><img src="https://396036655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuFBsYi1Fid7tWEkdmVIC%2Fuploads%2FtbJAW6zT3EzWzshsnVt0%2Fimage.png?alt=media&amp;token=9fee7a19-77f7-43b0-a448-6a2cf20a569c" alt=""><figcaption></figcaption></figure>

* **Itens não atendidos**, quando houver, também são listados no mesmo formato.

### **Integração e compatibilidade**

* As **dispensações realizadas via webservice** também aparecem no **histórico completo**, junto com as demais.
* Quando a dispensação for **oriunda do sistema legado**:
  * O campo **Observação** apresentará **apenas o primeiro registro encontrado**.
  * O comando **Replicar Prescrição** **não será habilitado** para essas dispensações.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://sigafdocumenta.saude.mg.gov.br/ferramentas-sigaf/dispensacaobasicoestrategico/adicionar-dispensacao/historico-de-dispensacao-paciente.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
