/docs/03-workflows/doctor-flow.md
```markdown
Doctor Flow — Plexir MVP
Objectif
Permettre au médecin de créer une prescription numérique rapidement.
Parcours
Etape 1 — Authentification
Médecin :
- ouvre application ;
- se connecte.
Vérification :
- compte actif ;
- identité validée.
Etape 2 — Sélection patient
Médecin :
Recherche patient.
Résultat :
Patient sélectionné.
Données accessibles :
- historique prescriptions ;
- informations nécessaires.
Etape 3 — Création prescription
Médecin choisit :
Option 1 :
Saisie manuelle.
Option 2 :
Dictée vocale.
Etape 4 — Traitement IA
Flux :
```text Voix médecin
↓
Speech To Text
↓
Extraction structurée médicament
↓
Prescription brouillon
Important :
L'IA ne prend aucune décision médicale.
Etape 5 — Validation
Le médecin :
vérifie ; corrige ; valide.
Après validation :
Prescription immuable.
Etape 6 — Autorisation laboratoire
Le médecin peut gérer :
Laboratoires autorisés.
Exemple :
Laboratoire A : Oui Laboratoire B : Oui Laboratoire C : Non Exceptions Erreur transcription
Action :
Le médecin corrige manuellement.
Patient inexistant
Action :
Créer patient ou inviter patient.
/docs/03-workflows/patient-flow.md
```markdown
Patient Flow — Plexir MVP
Objectif
Permettre au patient de recevoir et conserver ses prescriptions.
Parcours
Première utilisation
Options :
- compte invité ;
- email ;
- Google.
Réception prescription
Le patient reçoit :
Notification :
"Nouvelle prescription disponible"
Consultation
Le patient voit :
- médecin ;
- date ;
- médicaments ;
- instructions.
Historique
Les prescriptions validées apparaissent dans :
Historique médical
Restrictions
Le patient :
- ne modifie pas ;
- ne supprime pas ;
- ne valide pas médicalement.