Capture & ASR Use Cases (CAP)¶
UC-CAP-001: Start Recording / Start Encounter¶
Purpose: Initiate the patient encounter and begin audio capture.
| Property | Value |
|---|---|
| Actor | Doctor (Mobile App) |
| Trigger | Tap "Start Scribe" |
| Priority | P0 |
Main Success Scenario:
1. Doctor selects patient from appointment list
2. Taps "Start Scribe"
3. App requests microphone permission (if not granted)
4. App initializes audio stream (16kHz, Mono)
5. App sends "Encounter Started" event to backend
6. UI shows recording indicator and timer
Acceptance Criteria: 1. [ ] Latency < 200ms to start 2. [ ] Handles background noise suppression 3. [ ] Persists state if app backgrounded
UC-CAP-002: Stop / Pause Recording¶
Purpose: Handle interruptions and finalize audio capture.
| Property | Value |
|---|---|
| Actor | Doctor |
| Trigger | Tap "Pause" or "Stop" |
| Priority | P0 |
Main Success Scenario:
1. Doctor taps "Pause" (e.g., nurse interruption)
2. App halts audio stream, keeps session active
3. Doctor taps "Resume" -> app appends to stream
4. Doctor taps "Stop" -> app finalizes audio file
5. Uploads chunks/file to server
6. Triggers processing pipeline
Acceptance Criteria: 1. [ ] No data loss on pause/resume 2. [ ] Auto-save on low battery or crash 3. [ ] Visual feedback for recording state