# Voice treatment entry **Status:** Draft — not started **Area:** Treatment workspace (CLINIC orgs) **Created:** 2026-08-20 Fill a `TreatmentDetail` — including its lab dispatch — by speaking, instead of by tapping through the type dropdown, the FDI chart, the prosthesis wizard and the lab picker. --- ## 1. Goal A clinician on the Treatment tab taps a microphone, describes the treatment for the already-selected patient in one utterance, and is shown a **review sheet** of what was understood. Fields they tick are applied to the open detail chip. Nothing is written to the form without confirmation. ### In scope One recording produces **exactly one** `TreatmentDetail`, and may fill every field of it: | Field | Source | |---|---| | `treatmentType` | catalog code, matched against locale labels | | `teeth` | FDI codes, via tooth-intent resolver | | `toothSelectionGroups` | connected (bridge) / single spans | | `comment` | cleaned dictated notes | | lab: `prosthesisTypeCode` per tooth | default type + per-tooth overrides | | lab: `destinationOrganizationId` | matched against the clinic's linked labs | | lab: `dueDate` | via due-date intent resolver | ### Out of scope (v1) - Multiple detail chips from one recording. - `attachmentIds` — files cannot be dictated. - Editing an existing detail by voice ("no, make that 15"). Confirming a recording always creates a **new** detail (see §2). - Creating the treatment or selecting the patient by voice. A patient is already selected; voice only fills the form. - Lab-side (`LAB` org) usage. Clinic only. --- ## 2. User flow and UI integration ### The control: Add detail, split The `Add detail` button gains a second segment holding the mic. The halves read as siblings — both end in a new detail — but they are **independent actions**: - **Add half — unchanged.** Same `onAddDetail`, same seeding, same `setEntryStep`. It gains a neighbour and nothing else. Its logic is not modified, wrapped or made conditional. - **Mic half** — starts a recording. Nothing is created until confirm (below). The `Add detail` `