> For the complete documentation index, see [llms.txt](https://docs.extrahorizon.com/extrahorizon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.extrahorizon.com/extrahorizon/use-cases/medical-device-tutorial/build-your-first-prototype.md).

# Build your first prototype

## Milestones

{% hint style="info" %}
You will learn how to:

* Define your data model using **data schemas**
* Setup 3 **workflows**
  * Perform an analysis on a blood pressure measurement
  * Create a measurement report and upload it to your Extra Horizon's file service
  * Send an email with this report to a healthcare practitioner
* Setup basic **permissions** for your users
* Setup your **oAuth** flow in the backend
  {% endhint %}

## Architectural Overview

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

1. User performs a measurement
2. Task is triggered to analyse the measurement
3. The result of the analysis is returned
4. A PDF with the analysis is generated
5. A PDF is stored in the Extra Horizon file service
6. An email is created containing the PDF report
7. The email is sent to a recipient


---

# 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://docs.extrahorizon.com/extrahorizon/use-cases/medical-device-tutorial/build-your-first-prototype.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.
