From 8036cfea363e90552ef66993d76d61c18601ed03 Mon Sep 17 00:00:00 2001 From: Dualmind-Assistant Date: Tue, 21 Apr 2026 13:28:39 +0000 Subject: [PATCH] Add breathlessness question and update README --- README.md | 2 +- mts-config/questions.de.json | 5 +++++ mts-config/questions.en.json | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c6231f..6e615dd 100644 --- a/README.md +++ b/README.md @@ -48,4 +48,4 @@ Die Datei `mts-config/flowcharts.json` enthält aktuell folgende abgebildete Pr - OVERDOSE_POISONING → chief_complaint `overdose` / `poisoning` - BEHAVING_STRANGELY → chief_complaint `behaving_strangely` / `psychiatric` -Diese Konfiguration bildet die Zuordnung von Chief-Complaint-Codes zu den entsprechenden MTS-Präsentations-Flowcharts ab. Die eigentlichen Red-Flag-Discriminatoren und Prioritätsregeln werden schrittweise im Backend (FastAPI) implementiert. +Diese Konfiguration bildet die Zuordnung von Chief-Complaint-Codes zu den entsprechenden MTS-Präsentations-Flowcharts ab. Im Backend (FastAPI) ist bereits eine erste datengetriebene Logik für alle 10 Flowcharts umgesetzt: Das API ordnet `chief_complaint` automatisch dem passenden MTS-Flowchart zu, erkennt erste Red Flags wie `breathlessness`, `severe_pain` und `moderate_pain` und schlägt darauf basierend eine grobe Prioritätsstufe vor. Zusätzlich enthalten `questions.de.json` und `questions.en.json` bereits eine Ja/Nein-Frage zu starker Luftnot als ersten expliziten Red-Flag-Discriminator im Fragenstrom. diff --git a/mts-config/questions.de.json b/mts-config/questions.de.json index f4d1d14..4a6b27f 100644 --- a/mts-config/questions.de.json +++ b/mts-config/questions.de.json @@ -33,6 +33,11 @@ } ] }, + { + "code": "breathlessness", + "type": "boolean", + "title": "Haben Sie starke Luftnot?" + }, { "code": "pain_intensity", "type": "slider", diff --git a/mts-config/questions.en.json b/mts-config/questions.en.json index 1fb8c76..ca80e89 100644 --- a/mts-config/questions.en.json +++ b/mts-config/questions.en.json @@ -33,6 +33,11 @@ } ] }, + { + "code": "breathlessness", + "type": "boolean", + "title": "Do you have severe shortness of breath?" + }, { "code": "pain_intensity", "type": "slider",