How Do I Create a New Session?
How Do I Create a New Session?
What Patient Information Is Required for Session Creation?
What Patient Information Is Required for Session Creation?
- Name: Patient’s full name
- Birthdate: Date of birth in Date format
- Gender: “MALE” or “FEMALE”
setSessionContext method.Can I Update Session Information After Creation?
Can I Update Session Information After Creation?
setSessionContext method to update patient information, provider details, or add diagnosis codes after session creation:Use the setSessionContext method to update patient information, provider details, or add diagnosis codes after session creation.Does the Mobile SDK Support Problem-Based Charting (PBC)?
Does the Mobile SDK Support Problem-Based Charting (PBC)?
SukiAmbientConstant.kDiagnosisInfo in setSessionContext, configure LOINC sections for the note, and retrieve structured diagnoses after the session with getStructuredData(for:). Behavior matches the Ambient APIs for reconciliation and output. Refer to Problem-Based Charting, Create session, and Session status and content retrieval.What Are the Different Session States?
What Are the Different Session States?
- NotCreated: No session has been initialized
- Recording: Session is actively recording audio
- Paused: Recording is temporarily paused
- Ended: Session completed, content generation in progress
- Canceled: Session was canceled, no content will be generated
SukiAmbientCoreManager.shared.sessionState.Can I Pause and Resume a Recording Session?
Can I Pause and Resume a Recording Session?
What's the Difference Between Ending and Canceling a Session?
What's the Difference Between Ending and Canceling a Session?
- End: Stops recording and begins AI content generation. Use this for completed sessions.
- Cancel: Stops recording and discards all data. No content will be generated. This action cannot be undone.
Can I Have Multiple Active Sessions?
Can I Have Multiple Active Sessions?
sessionInProgress. Across devices for the same EMR encounter, create can return remoteSessionConflict(blockingSessionId:). Refer to Ambient interoperability.Are sessionId and recordingId the Same?
Are sessionId and recordingId the Same?
sessionId and recordingId are the same value. Use sessionId from the createSession response for recording controls and session-scoped APIs. It maps to Ambient API ambient_session_id.How Do I Handle Session Errors?
How Do I Handle Session Errors?
SukiAmbientCoreError. Always use do-catch blocks:All session methods can throw SukiAmbientCoreError. Use do-catch blocks to handle errors like session not initialized or attempting to record in the background. Create can also return SukiStatus for FAILED_PRECONDITION and INVALID_ARGUMENT without offline fallback.What Happens If I Try to Start Recording in the Background?
What Happens If I Try to Start Recording in the Background?
appIsNotActive error. You should:- Handle this error gracefully
- Notify the user to bring the app to the foreground
- Retry the operation once the app is active
How Do I Know When Content Generation Is Complete?
How Do I Know When Content Generation Is Complete?