# 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="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-62e7ae196e052c103b9fc2d4e900b097e92423cd%2Fimage.png?alt=media" 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
