PageSourceSearch

https://de-med-pro.lovable.app/assets/CopdExacerbationCalculator.js

js de-med-pro.lovable.app collected 2026-10-03 03:26:20 UTC 7,335 bytes, 1 lines download raw bytes

1import{u as b,r as o,j as e,C as t,a as c,L as d,A as g,av as f,b as j,P as y,n as N,e as v,T as A,I as S}from"./index.js";const C=()=>{const{addToHistory:m}=b(),[r,u]=o.useState(!1),[a,h]=o.useState(!1),[l,x]=o.useState(!1),n=[r,a,l].filter(Boolean).length,s=n===0?null:n===3?{type:"Anthonisen Typ I",severity:"Schwere Exazerbation",description:"Alle drei Kardinalsymptome vorhanden",antibiotics:"Antibiotika als Option gemäß Leitlinien",recommendation:"Leitlinien-Zusammenfassung: Orale oder intravenöse Antibiotika als Option. Systemische Steroide (Prednisolon 40mg für 5 Tage) zu erwägen. Bronchodilatatoren intensivieren. Sauerstoff bei SpO₂ <90%. Bei respiratorischer Insuffizienz: stationäre Aufnahme zu erwägen.",icon:v,variant:"destructive"}:n===2?{type:"Anthonisen Typ II",severity:"Moderate Exazerbation",description:"Zwei Kardinalsymptome vorhanden",antibiotics:"Antibiotika zu erwägen, besonders bei purulenter Sputumverfärbung",recommendation:"Leitlinien-Zusammenfassung: Antibiotika als Option (Amoxicillin/Clavulansäure, Makrolid). Systemische Steroide zu erwägen. Bronchodilatatoren intensivieren.",icon:A,variant:"warning"}:{type:"Anthonisen Typ III",severity:"Leichte Exazerbation",description:"Ein Kardinalsymptom + mindestens ein Zusatzsymptom (Fieber, Halsschmerzen, erhöhte Atemfrequenz)",antibiotics:"Antibiotika meist nicht erforderlich gemäß Leitlinien",recommendation:"Leitlinien-Zusammenfassung: Antibiotika in der Regel nicht indiziert. Bronchodilatatoren intensivieren (SABA + SAMA). Klinische Kontrolle innerhalb von 48-72h zu erwägen.",icon:S,variant:"default"},p=()=>{n>0&&m({calculatorId:"copd-exacerbation",calculatorName:"COPD Exazerbation",result:(s==null?void 0:s.type)||`${n} Symptome`,inputs:{increasedDyspnea:r,increasedSputumVolume:a,sputumPurulence:l}})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs(t,{className:"p-6 bg-card border-border",children:[e.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Über COPD-Exazerbation"}),e.jsx("p",{className:"text-muted-foreground text-sm mb-3",children:"Die Anthonisen-Kriterien klassifizieren COPD-Exazerbationen anhand der drei Kardinalsymptome und leiten die Antibiotika-Indikation. Sie basieren auf der Winnipeg-Studie von 1987."}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Typ I und II profitieren signifikant von Antibiotika-Therapie, Typ III meist nicht."})]}),e.jsxs(t,{className:"p-6 bg-card border-border",children:[e.jsx("h3",{className:"font-semibold text-lg mb-4",children:"Kardinalsymptome bewerten"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start space-x-3 p-3 rounded-lg bg-muted/30",children:[e.jsx(c,{id:"dyspnea",checked:r,onCheckedChange:i=>u(i),className:"mt-1"}),e.jsxs("div",{className:"flex-1",children:[e.jsx(d,{htmlFor:"dyspnea",className:"font-medium cursor-pointer",children:"Zunahme der Dyspnoe"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Verschlechterung der Atemnot über das übliche Maß hinaus"})]})]}),e.jsxs("div",{className:"flex items-start space-x-3 p-3 rounded-lg bg-muted/30",children:[e.jsx(c,{id:"volume",checked:a,onCheckedChange:i=>h(i),className:"mt-1"}),e.jsxs("div",{className:"flex-1",children:[e.jsx(d,{htmlFor:"volume",className:"font-medium cursor-pointer",children:"Zunahme des Sputumvolumens"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Vermehrte Sputumproduktion verglichen mit Baseline"})]})]}),e.jsxs("div",{className:"flex items-start space-x-3 p-3 rounded-lg bg-muted/30",children:[e.jsx(c,{id:"purulence",checked:l,onCheckedChange:i=>x(i),className:"mt-1"}),e.jsxs("div",{className:"flex-1",children:[e.jsx(d,{htmlFor:"purulence",className:"font-medium cursor-pointer",children:"Zunahme der Sputumpurulenz"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Verfärbung des Sputums (gelb-grünlich), Hinweis auf bakterielle Infektion"})]})]})]})]}),n>0&&e.jsxs(e.Fragment,{children:[e.jsx(t,{className:"p-6 bg-medical-gradient text-primary-foreground",children:e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-sm opacity-90 mb-2",children:"COPD-Exazerbation"}),e.jsx("p",{className:"text-4xl font-bold mb-1",children:s==null?void 0:s.type}),e.jsx("p",{className:"text-sm opacity-90",children:s==null?void 0:s.severity})]})}),s&&e.jsxs(g,{variant:s.variant,children:[e.jsx(s.icon,{className:"h-5 w-5"}),e.jsx(f,{className:"text-lg font-semibold",children:s.severity}),e.jsxs(j,{className:"mt-2 space-y-2",children:[e.jsx("p",{children:e.jsx("strong",{children:s.description})}),e.jsxs("p",{children:[e.jsx("strong",{children:"Antibiotika:"})," ",s.antibiotics]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Therapie:"})," ",s.recommendation]}),e.jsx("p",{className:"text-xs mt-3 opacity-75",children:"Quelle: Anthonisen NR, et al. Ann Intern Med. 1987;106(2):196-204"})]})]})]}),e.jsxs(t,{className:"p-6 bg-card border-border",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Anthonisen-Klassifikation"}),e.jsxs("div",{className:"space-y-3 text-sm",children:[e.jsxs("div",{className:"p-3 rounded-lg bg-red-50 dark:bg-red-900/20",children:[e.jsx("p",{className:"font-medium",children:"Typ I (Schwer) - 3 Kardinalsymptome"}),e.jsx("p",{className:"text-xs mt-1",children:"→ Antibiotika + Steroide + Bronchodilatatoren"})]}),e.jsxs("div",{className:"p-3 rounded-lg bg-yellow-50 dark:bg-yellow-900/20",children:[e.jsx("p",{className:"font-medium",children:"Typ II (Moderat) - 2 Kardinalsymptome"}),e.jsx("p",{className:"text-xs mt-1",children:"→ Antibiotika erwägen + Steroide + Bronchodilatatoren"})]}),e.jsxs("div",{className:"p-3 rounded-lg bg-blue-50 dark:bg-blue-900/20",children:[e.jsx("p",{className:"font-medium",children:"Typ III (Leicht) - 1 Kardinalsymptom"}),e.jsx("p",{className:"text-xs mt-1",children:"→ Meist keine Antibiotika, Bronchodilatatoren intensivieren"})]})]})]}),e.jsxs(t,{className:"p-6 bg-card border-border",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Therapie-Empfehlungen"}),e.jsxs("div",{className:"space-y-3 text-sm",children:[e.jsxs("p",{children:[e.jsx("strong",{children:"Antibiotika (Typ I/II):"})," Amoxicillin/Clavulansäure 875/125mg 2x/d für 5-7 Tage ODER Azithromycin 500mg 1x/d für 3 Tage ODER Moxifloxacin 400mg 1x/d für 5 Tage."]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Steroide:"})," Prednisolon 40mg p.o. für 5 Tage (nicht länger!). Reduziert Exazerbationsdauer und verbessert Lungenfunktion."]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Bronchodilatatoren:"})," SABA (Salbutamol) + SAMA (Ipratropium) über Vernebler oder Dosieraerosol mit Spacer, Frequenz erhöhen."]}
1),e.jsxs("p",{children:[e.jsx("strong",{children:"Hospitalisierung erwägen bei:"})," Schwere Exazerbation mit respiratorischer Insuffizienz, relevante Komorbiditäten, fehlendes Ansprechen auf ambulante Therapie, hohes Alter, unzureichende häusliche Versorgung."]})]})]}),n>0&&e.jsx(y,{scoreName:"COPD-Exazerbation (Anthonisen)",scoreValue:(s==null?void 0:s.type)||`${n} Symptome`,riskCategory:s==null?void 0:s.severity,guideline:"Anthonisen et al. (1987)"}),e.jsx(N,{onClick:p,className:"w-full",disabled:n===0,children:"Im Verlauf speichern"})]})};export{C as CopdExacerbationCalculator};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.