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
SukiAmbientCore.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?
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.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?