> For the complete documentation index, see [llms.txt](https://jackyu-pf.gitbook.io/sanitas-citasonline-challenge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jackyu-pf.gitbook.io/sanitas-citasonline-challenge/05_workflow.md).

# 05\_Workflow

![Flowchart del cuadro médico](/files/-MNKlLIb6byTR3g-DQvw)

Con el fin de comprender mejor la herramienta, diseñe el *workflow* para un *user* que decide entrar en esta página.&#x20;

En **gris** represento el **flujo actual existente** en la página, donde se puede acceder al **cuadro médico o a urgencias**. **Represento el recorrido** desde que introduce los datos en el buscador hasta cuando pide la cita con un doctor. El **flujo parece más complejo** de lo que es pues **divide las citas y las urgencias en médicas o dentales.** Se podría **simplificar** mucho más si se **agruparan ambos flujos**.

En **morado** claro represento los **nuevos flujos que podrían incluirse** en la búsqueda. Por ejemplo, en **urgencias**, se podría **incluir una llamada a ambulancia** directa o que directamente te dirija al centro más cercano. También se podría añadir **un chatbot**, este se podría encargar de **aliviar los problemas más leves** de los usuarios.

En **morado oscuro**, incluyo una **proyección a futuro** donde la **inteligencia artificial** pueda directamente involucrarse en todo el proceso.


---

# 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 dynamically by asking a question.

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

```
GET https://jackyu-pf.gitbook.io/sanitas-citasonline-challenge/05_workflow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
