How do I retrieve generated clinical content?
How do I retrieve generated clinical content?
After ending a session, retrieve content using the session’s recording ID:After ending a session, wait for the suggestionsGenerated event through the session delegate, then use the SDK’s content retrieval methods with the session’s recording ID.
What does the retrieved content contain?
What does the retrieved content contain?
The retrieved content includes:
- Clinical Sections: Structured documentation organized by medical sections (e.g., History of Present Illness, Review of Systems)
- Timestamps: When the content was generated
- Session Metadata: Information about the session, patient, and provider
- Confidence Scores: AI confidence levels for different content sections
- Structured Data: Formatted clinical information ready for EHR integration
How long does content generation take?
How long does content generation take?
Content generation time varies based on:
- Session length: Longer sessions take more time to process
- Audio quality: Clear audio processes faster
- Network conditions: Affects upload and processing speed
- Server load: Peak times may have longer processing
Can I retrieve content multiple times for the same session?
Can I retrieve content multiple times for the same session?
Yes, you can retrieve content multiple times using the same recording ID. The content remains available on the server for a specified retention period. Each retrieval call returns the same generated content.You can retrieve content multiple times using the same recording ID. Each retrieval call returns the same generated content during the retention period.
What happens if content generation fails?
What happens if content generation fails?
If content generation fails, you’ll receive a
contentGenerationFailed event through the session delegate:If content generation fails, you’ll receive a generation failed event through the session delegate. Handle this by showing appropriate error messages and potentially creating a new session.Common causes include poor audio quality, network issues during processing, or server errors.How do I check if content is ready without retrieving it?
How do I check if content is ready without retrieving it?
Use session status methods to check processing status:Use session status methods to check processing status before attempting content retrieval. This helps determine if content generation is complete.
Can I retrieve partial content during generation?
Can I retrieve partial content during generation?
No, content retrieval returns the complete generated clinical documentation once processing is finished. Partial content isn’t available during the generation process. Use session delegates to monitor progress and retrieve content only after receiving the
suggestionsGenerated event.What should I do if content retrieval fails?
What should I do if content retrieval fails?
Handle content retrieval failures gracefully:Handle content retrieval failures gracefully by implementing proper error handling for various failure scenarios like network issues or content not being ready.You can implement retry logic with exponential backoff for transient errors.
How long is generated content stored on the server?
How long is generated content stored on the server?
Generated content is typically stored for a defined retention period (usually 30-90 days, depending on your agreement with Suki). After this period, content may be automatically deleted. Check with your Suki partnership team for specific retention policies.
Can I retrieve content for offline sessions?
Can I retrieve content for offline sessions?
Yes, once offline sessions are uploaded and processed, you can retrieve their content using the same methods. The SDK automatically handles the upload process when connectivity is restored, and content generation begins once the upload completes.Monitor the upload and generation progress through session delegate events.