Skip to main content

Overview


The Patient App provides a server-driven SDK and API platform for patient booking, communication, telemedicine, and coverage workflows.

Client applications integrate using one of two models.

Integration ModelDescription
Air Doctor SDKRenders workflow-driven UI inside the host application using platform runtime responses.
Open APIThe partner application implements its own client and communicates directly with Air Doctor platform endpoints.

Integration Levels

Integration levels determine how much UI rendering and runtime execution the host application manages.

Lower levels rely on hosted Air Doctor experiences, while higher levels allow deeper customization and full client implementations.

For a complete comparison of integration approaches, see:
Supported Integration Levels


Integration Architecture

Patient-facing integrations divide responsibilities between the host application, the SDK runtime, and the Air Doctor platform.

Integration Architecture
┌──────────────────────────────────────────────┐
│               Host Application               │
│                                              │
│ App shell • Authentication bootstrap         │
│ Navigation container • Session storage       │
│ Analytics • UI configuration                 │
└───────────────────────┬──────────────────────┘
                      │
                      │ SDK integration
                      ▼
┌──────────────────────────────────────────────┐
│                Air Doctor SDK                │
│                                              │
│ Runtime rendering • Action dispatch          │
│ State synchronization • UI binding           │
└───────────────────────┬──────────────────────┘
                      │
                      │ Runtime API
                      ▼
┌──────────────────────────────────────────────┐
│             Air Doctor Platform              │
│                                              │
│ Workflow engine • Permission resolution      │
│ Validation rules • Screen definitions        │
│ Appointment state transitions                │
└──────────────────────────────────────────────┘

Runtime Model

The platform controls workflow state, available actions, validation rules, and screen configuration at runtime.

The SDK processes runtime responses and renders the resulting UI inside the host application.

Runtime model
  • Platform → returns workflow state, screen definitions, available actions, and validation rules
  • SDK → processes runtime responses and binds them to UI components
  • Client application → mounts SDK screens and provides session and navigation context

Runtime Lifecycle

Runtime execution progresses through several stages.

StageSDK behaviorResult
Session bootstrapInitialize runtime sessionAuthenticated session established
Screen requestRequest screen definitionRuntime metadata available
Screen renderBind runtime schemaInterface rendered
Action submissionDispatch runtime actionWorkflow transition executed
Validation responseMap validation errorsValidation state updated
Workflow transitionRefresh runtime stateUpdated interface rendered
Session invalidationClear runtime stateAuthentication required

Platform Modules

ModuleResponsibilities
AuthenticationSession and identity management
BookingAppointment discovery and scheduling
MessagingPatient communication workflows
VideoTelemedicine session management
CoverageInsurance eligibility and validation

Runtime Rules

  • Runtime responses determine available actions at execution time.
  • Client applications must not cache workflow permissions across sessions.
  • Runtime actions may change based on patient eligibility, coverage, or appointment state.
  • Screen availability may differ between platforms and integration levels.