> ## Documentation Index
> Fetch the complete documentation index at: https://omniloy.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SofIA: Medical Copilot

> Integrate clinical AI transcription and structured report generation into your healthcare application

SofIA provides AI-powered clinical documentation tools. The SDK captures medical conversations via voice, generates structured clinical reports from JSON Schema templates, and delivers them to your EHR/HIS. The API (Codify) provides ICD-10/SNOMED coding for clinical text.

See SofIA SDK in action: [Integration examples](/sofia/en/showcase/examples)

<CardGroup cols={2}>
  <Card title="SofIA SDK" icon="pen-fancy" href="/sofia/en/sdk/quickstart">
    Embed a web component for real-time clinical transcription and report generation during consultations.
  </Card>

  <Card title="SofIA API (Codify)" icon="code" href="/sofia/en/api/overview">
    REST API for batch ICD-10/SNOMED coding, clinical data extraction, and automated workflows.
  </Card>
</CardGroup>

## What you can build

<img src="https://mintcdn.com/omniloy/ND_YaSo1UysaCJf4/images/sofia-graph.png?fit=max&auto=format&n=ND_YaSo1UysaCJf4&q=85&s=e698b8657907a74cb0b9c130045f29b2" alt="Flow diagram of a medical consultation using SofIA" width="1688" height="592" data-path="images/sofia-graph.png" />

* **Real-time transcription** -- capture doctor-patient conversations and convert them to structured clinical text with multilingual support (Spanish, Catalan, Basque, Galician, English)
* **Structured report generation** -- define JSON Schema templates (SOAP notes, discharge summaries, evolution notes) and receive filled reports via `handleReport` callback
* **Clinical actions (extras)** -- extract the actions that come out of a visit (petitions, appointments, tests, referrals) and deliver them per category via the `handleExtras` callback, [defined by your schema](/sofia/en/sdk/extras)
* **Clinical chat assistant** -- give physicians an AI-powered chat for quick clinical queries during consultations
* **Automated clinical coding** -- process clinical text through the Codify API to get ICD-10, SNOMED CT, and LOINC codes
* **EHR/HIS integration** -- receive structured data objects ready to insert into your hospital information system

## Get your credentials

<Info>
  **To get started**, email [support@omniloy.com](mailto:support@omniloy.com) with:

  * Your **company name** and **project description**
  * **Expected usage** (approximate number of consultations/month)
  * Whether you need a **sandbox environment** for testing

  The Omniloy team will provide your `apikey`. For newer keys the SDK auto-selects the endpoint — no `baseurl` needed; other keys also come with a `baseurl` to configure. Omniloy tells you which applies to yours.
</Info>

## Next steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/sofia/en/sdk/quickstart">
    Get a working SofIA integration in 5 minutes.
  </Card>

  <Card title="Installation" icon="download" href="/sofia/en/sdk/installation">
    npm, CDN, and framework-specific setup instructions.
  </Card>

  <Card title="Platform Architecture" icon="sitemap" href="/sofia/en/platform/architecture">
    Understand how the cognitive framework, transcriber, and agents work together.
  </Card>

  <Card title="SDK Examples" icon="github" href="https://github.com/Omniloy/sofia-sdk-examples">
    Functional implementations in Vanilla TS, Angular, and AngularJS.
  </Card>
</CardGroup>
