# Overview

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

ULALO Smart Patient system architecture centers around secure and data-privacy aware system to manage electronic health records (EHR). Here's a summary of how we use Web3 technologies:

* **Identity and Blockchain:**
  * Decentralized Identifiers (DID) is used for secure identity management.
  * The ULALO L1 Chain is used to keep blockchain state and to manage transactions at very low fees.
* **Document Handling and Storage:**
  * Patients can scan documents from their phones and stored them as PDFs.
  * Encrypted PDFs are stored on the InterPlanetary File System (IPFS).
  * The Hash of the PDF is stored on the Blockchain for data integrity.
* **AI Integration:**
  * OCR libraries are used to extract key information from EHR data like for classification and making them easy to retrieve to the patient.
* **Data Security and Privacy:**
  * EHR data is encrypted with the patient's key.
  * Access control lists(ACL) are used to share data with providers that the patient choose to.
  * Patient data is queried using Zero-Knowledge (ZK) proofs to preserve privacy.
  * Hashes and previous hashes are used to maintain data integrity.


---

# 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://ulalo.gitbook.io/ulalo-whitepaper/architecture/editor.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.
