Software Requirements Specification
| Type | Level | MID | UID | REFS | Title | Statement | Rationale | Comment |
|---|---|---|---|---|---|---|---|---|
| REQUIREMENT | 1 | SRS-001 | Children: | First-launch database initialisation |
On first launch, when no database file exists at the configured application data path, the system shall create the local database, apply the current schema version, and create a default local clinic record that serves as the container for locally-created patient records. |
The initialisation establishes the minimum persistent state required for any subsequent clinical operation — without it, patient records cannot be stored and recording sessions cannot be attached to a patient. |