dom
56c38c3d98
feat(pmsi): add SynthesePMSI + anti-comorbidity + motif fallback
- SynthesePMSI model + PreuveSynthese in config.py
- SYNTHESE_PMSI prompt template with anti-comorbidity rules
- generate_synthese_pmsi() LLM call + structured parsing
- _postprocess_synthese() deterministic anti-comorbidity correction
- _COMORBIDITES_BANALES (8 patterns with negative lookaheads)
- _PEC_MARKERS_RE (decompensation, urgency markers)
- _build_motif() 3-level cascade (mode_entree → section → lexical fallback)
- 36 tests: anti-comorb, PEC markers, acute problem, postprocess, motif
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 00:01:51 +01:00
..
2026-02-10 15:24:12 +01:00
2026-02-10 15:24:12 +01:00
2026-02-11 11:41:39 +01:00
2026-02-11 12:43:34 +01:00
2026-02-13 14:03:10 +01:00
2026-02-17 21:47:27 +01:00
2026-02-23 22:28:59 +01:00
2026-02-19 20:51:52 +01:00
2026-02-18 19:20:50 +01:00
2026-02-12 23:46:42 +01:00
2026-02-24 00:01:51 +01:00
2026-02-11 08:53:14 +01:00
2026-02-23 22:28:59 +01:00
2026-02-17 17:53:53 +01:00
2026-02-12 13:44:34 +01:00
2026-02-10 15:24:12 +01:00
2026-02-17 21:47:27 +01:00
2026-02-23 22:28:59 +01:00
2026-02-19 20:51:52 +01:00
2026-02-17 17:53:53 +01:00
2026-02-15 11:34:32 +01:00
2026-02-12 23:12:39 +01:00
2026-02-12 13:44:34 +01:00
2026-02-17 17:53:53 +01:00
2026-02-17 17:53:53 +01:00
2026-02-19 20:51:52 +01:00