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

# Mobile SDK Introduction

> A collection of iOS libraries to build native iOS applications on top of Suki Ambient intelligence capabilities

**Updates**

**New**

The Mobile SDK is now interoperable (Interoperability lets different Suki ambient products contribute to the same clinical note for a patient visit. Pass a shared EMR encounter ID so clinicians can start, continue, or re-ambient across Ambient APIs, Mobile SDK, Headless Web SDK, and Web SDK.) with other Suki products that support Ambient workflows. Pass `SukiAmbientConstant.kEmrEncounterId` on `createSession` so clinicians can continue the same clinical note across Ambient APIs, Mobile SDK, Headless Web SDK, and Web SDK.

Refer to [Ambient interoperability](https://developer.suki.ai/mobile-sdk/ambient-guides/ambient-interoperability.md) for Mobile SDK setup.

The Suki Mobile SDK is a headless Swift library that lets you add ambient (Ambient documentation captures clinical conversations and generates notes automatically.) documentation and Form filling (Form filling maps visit conversation into structured medical form fields.) to your native iOS application. You build the UI, while the SDK manages sessions, audio capture, note generation, and structured form output.

Use the Mobile SDK to capture patient encounters, generate clinical notes, fill medical forms, support offline recording, and continue Ambient notes across supported Suki products.

## Mobile SDK capabilities

With just a few lines of code, you can use the SDK to:

* **Capture Conversations**: Enable hands-free, real-time ambient transcription of clinical conversations.

* **Generate Notes**: Automatically transform conversations into structured clinical documentation using Suki's AI.

* **Form filling**: Fill medical forms from the visit conversation. You build the form review UI.

* **Problem-Based Charting (PBC)**: Support problem-oriented notes and structured diagnoses by passing diagnosis context in `setSessionContext` and reading structured output when the session completes.

* **Manage Sessions**: Handle the entire session lifecycle seamlessly within your application.

* **Ensure Security**: All data processing is handled with HIPAA-grade privacy and security.

* **Ambient interoperability**: Support interoperability with other Suki products that use ambient workflows.

Refer to the [Mobile SDK capabilities](https://developer.suki.ai/mobile-sdk/features.md) page for more details on the capabilities of the Mobile SDK.

## Common integration patterns and use cases

The Mobile SDK provides the APIs to create ambient sessions, capture audio, support offline recording, and retrieve generated notes. Your application owns the iOS user experience, workflow, and how clinicians review or continue documentation across Suki products.

The following examples show common ways to integrate the Mobile SDK into your iOS application.

> [card] Capture Ambient Notes on iOS
>
> Create an ambient session, record audio using the device microphone, and retrieve the generated clinical note when processing completes.

> [card] [Fill Medical Forms on iOS](https://developer.suki.ai/mobile-sdk/form-filling/overview.md)
>
> Create a Form filling session, set templates or partner schemas, record the visit, and retrieve structured form data for your form review UI.

> [card] Record Offline
>
> Enable offline mode to buffer audio locally during temporary network interruptions and automatically sync recordings when connectivity is restored.

> [card] Capture Problem Context
>
> Pass diagnosis context with **`setSessionContext`**, then retrieve structured diagnosis data using **`getStructuredData`** after the session completes.

> [card] Capture Medication Orders
>
> After medication orders are enabled for your organization, retrieve structured medication orders from the ambient visit with **`getStructuredData`**. Optionally pass **`kOrdersInfo`** when your workflow needs medication order context.

> [card] [Continue on Another Suki Product](https://developer.suki.ai/mobile-sdk/ambient-guides/ambient-interoperability.md)
>
> Create the ambient session with **`SukiAmbientConstant.kEmrEncounterId`**, then continue the same note in another Suki product, such as the Web SDK, for review, editing, or submission.

> [card] Build a Custom iOS Experience
>
> Build your own native iOS interface while using the Mobile SDK for ambient session management, audio capture, and note generation.

## Guide navigation

To get started with the Mobile SDK, you can follow the guides in the following order:

| Guide | Purpose | Key capabilities |
| - | - | - |
| **[Create session](https://developer.suki.ai/mobile-sdk/ambient-guides/create-session.md)** | Ambient session initialization | Patient info, clinical sections, multilingual support, EMR encounter id, PBC diagnosis context |
| **[Form filling](https://developer.suki.ai/mobile-sdk/form-filling/overview.md)** | Form filling sessions on iOS | Overview, [Create session](https://developer.suki.ai/mobile-sdk/form-filling/create-form-filling-session.md), [Context and results](https://developer.suki.ai/mobile-sdk/form-filling/form-filling-context-and-results.md) |
| **[Ambient interoperability](https://developer.suki.ai/mobile-sdk/ambient-guides/ambient-interoperability.md)** | Shared notes across products | `kEmrEncounterId`, remote conflict, peer terminate, `getEncounterInfo`, note read APIs |
| **[Recording controls](https://developer.suki.ai/mobile-sdk/ambient-guides/recording.md)** | Recording lifecycle management | Start, pause, resume, end, cancel operations |
| **[Session status & content retrieval](https://developer.suki.ai/mobile-sdk/ambient-guides/session-status-and-content-retrieval.md)** | Ambient content generation and retrieval | [Check status and retrieve content](https://developer.suki.ai/mobile-sdk/ambient-guides/check-status-and-retrieve-content.md), [Shared notes across products](https://developer.suki.ai/mobile-sdk/ambient-guides/shared-notes-across-products.md), [Submit user feedback](https://developer.suki.ai/mobile-sdk/ambient-guides/submit-user-feedback.md) |
| **[Offline mode](https://developer.suki.ai/mobile-sdk/ambient-guides/offline-mode.md)** | Network resilience and offline capabilities | 15-second buffer, local storage, auto-sync |
| **[Session events & delegates](https://developer.suki.ai/mobile-sdk/ambient-guides/events-and-delegates.md)** | Real-time event handling | Delegate pattern, peer terminate, UI integration |
| **[Clearing sessions](https://developer.suki.ai/mobile-sdk/ambient-guides/clearing-sessions.md)** | Session cleanup and data privacy | User logout, data clearing, memory management |

## Mobile SDK workflow

The diagram below shows the complete ambient session workflow and how you can use the Mobile SDK to manage the session lifecycle.

![Sequence diagram between Suki Backend, Mobile SDK, User: Initialize SDK; Create new session; Session created; Start recording; Begin audio capture; Pause/Resume/Stop; Update recording state; Network Lost - Buffer locally; Network Restored - Auto-Sync; End session; Finalize recording; Generate Clinical notes; Return notes; Cancel/Clear session; Delete session data.](https://mintcdn.com/suki-1e08f176/37D9k6LOUTt_KTak/documentation/assets/diagrams/mobile-sdk-overview-1-light.svg?fit=max\&auto=format\&n=37D9k6LOUTt_KTak\&q=85\&s=918aa396e59364cfd78f09d8af2d98da)

```mermaid theme={"theme":{"light":"one-light","dark":"material-theme-darker"}}
sequenceDiagram
    actor User
    participant SDK as Mobile SDK
    participant Backend as Suki Backend

    Note over User,Backend: 1. Initialize & create session
    User->>SDK: Initialize SDK
    SDK->>Backend: Create new session
    Backend-->>SDK: Session created

    Note over User,Backend: 2. Start recording
    User->>SDK: Start recording
    SDK->>Backend: Begin audio capture

    Note over User,Backend: 3. Recording controls
    User->>SDK: Pause/Resume/Stop
    SDK->>Backend: Update recording state

    Note over User,Backend: 4. Offline mode
    SDK->>SDK: Network Lost - Buffer locally
    SDK->>Backend: Network Restored - Auto-Sync

    Note over User,Backend: 5. Complete session
    User->>SDK: End session
    SDK->>Backend: Finalize recording
    Backend-->>SDK: Generate Clinical notes
    SDK-->>User: Return notes

    Note over User,Backend: 6. Cleanup
    User->>SDK: Cancel/Clear session
    SDK->>Backend: Delete session data
```

## Next steps

&#x20;**[Installation guide](https://developer.suki.ai/mobile-sdk/installation.md)**

&#x20;**[Partnership team](https://www.suki.ai/contact-us/)**

&#x20;**[Create session](https://developer.suki.ai/mobile-sdk/ambient-guides/create-session.md)** - Begin implementing the ambient session workflow, then follow the guides in sequence to build a complete integration.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.