flowchart TD
classDef terminator fill:#4338ca,stroke:#312e81,stroke-width:2px,color:#fff,font-weight:700;
classDef decision fill:#fef3c7,stroke:#d97706,stroke-width:2.5px,color:#78350f,font-weight:700;
classDef process fill:#ffffff,stroke:#475569,stroke-width:1.5px,color:#0f172a;
classDef processReq fill:#ffffff,stroke:#475569,stroke-width:1.5px,color:#0f172a,font-weight:600;
classDef input fill:#cffafe,stroke:#0891b2,stroke-width:1.8px,color:#164e63;
classDef inputReq fill:#cffafe,stroke:#0891b2,stroke-width:1.8px,color:#164e63,font-weight:600;
classDef decisionReq fill:#fef3c7,stroke:#d97706,stroke-width:2.5px,color:#78350f,font-weight:700;
classDef chOk fill:#dcfce7,stroke:#16a34a,color:#14532d;
classDef chWarn fill:#fef3c7,stroke:#d97706,color:#78350f;
classDef chRisk fill:#fee2e2,stroke:#dc2626,color:#7f1d1d;
linkStyle default stroke:#94a3b8,stroke-width:1.6px;
START(["🟢 문진 시작: 과민성방광 증상 (OAB-V8)"]):::terminator
RESULT(["🏁 결과 산출"]):::terminator
subgraph S123 ["섹션 1: 지난 한 주 배뇨 증상"]
direction LR
Q618["O1<br/>★ 낮 동안 소변을 자주 봄"]:::processReq
Q619["O2<br/>★ 밤에 자다가 소변 때문에 깸"]:::processReq
Q618 --> Q619
Q620["O3<br/>★ 갑작스럽고 참기 힘든 요의"]:::processReq
Q619 --> Q620
Q621["O4<br/>★ 갑작스런 요의로 소변이 샘"]:::processReq
Q620 --> Q621
Q622["O5<br/>★ 평소보다 화장실을 자주 감"]:::processReq
Q621 --> Q622
Q623["O6<br/>★ 요의를 느끼면 급하게 가야 함"]:::processReq
Q622 --> Q623
Q624["O7<br/>★ 참기 어려운 강한 요의"]:::processReq
Q623 --> Q624
Q625["O8<br/>★ 요의가 오면 즉시 가야 함"]:::processReq
Q624 --> Q625
Q3259["Q_ENR_SYMPTOM_DURATION<br/>★ 현재 겪고 있는 배뇨 증상(빈뇨, 절박뇨 등)은 언제부터<br/>시작되었습니까?"]:::processReq
Q625 --> Q3259
Q3260{"Q_ENR_WATER_INTAKE<br/>★ 하루 평균 수분 섭취량(물, 국물 등 포함)은 대략 어느<br/>정도입니까?"}:::decisionReq
Q3259 --> Q3260
Q3261["Q_ENR_CAFFEINE_ALCOHOL<br/>★ 하루 평균 커피, 녹차, 홍차 등 카페인 음료나 주류를 얼마나<br/>섭취하십니까?"]:::processReq
Q3260 --> Q3261
Q3262["Q_ENR_STRESS_UI<br/>★ 기침, 재채기를 하거나 크게 웃을 때, 무거운 것을 들 때<br/>소변이 새는 증상(복압성 요실금)이 있습니까?"]:::processReq
Q3261 --> Q3262
Q3263["Q_ENR_VOID_DIFFICULTY<br/>★ 소변 줄기가 약하거나 끊어지고, 소변을 볼 때 아랫배에 힘을<br/>주어야 하는 증상이 있습니까?"]:::processReq
Q3262 --> Q3263
Q3264["Q_ENR_RESIDUAL_SENSE<br/>★ 소변을 본 후에도 방광에 소변이 남아있는 듯한 잔뇨감을<br/>느끼십니까?"]:::processReq
Q3263 --> Q3264
Q3265{"Q_ENR_PAD_USE_YN<br/>★ 소변이 새는 증상으로 인해 기저귀나 요실금 패드(라이너<br/>포함)를 사용하십니까?"}:::decisionReq
Q3264 --> Q3265
Q3266{"Q_ENR_PAD_USE_COUNT<br/>★ 하루 평균 몇 개의 기저귀나 패드를 교체하십니까?"}:::decisionReq
Q3265 -. .-> Q3266
Q3267["Q_ENR_QOL_IMPACT<br/>★ 배뇨 증상으로 인해 장거리 여행, 영화 관람, 대중교통 이용<br/>등 일상적인 외부 활동에 제한을 받으십니까?"]:::processReq
Q3266 --> Q3267
Q3268[/"Q_ENR_MEDICAL_HX<br/>★ 다음 중 진단받았거나 현재 치료 중인 질환이 있다면 모두<br/>선택해 주십시오. (복수 선택 가능)"/]:::inputReq
Q3267 --> Q3268
Q3269{"Q_ENR_MED_DIURETICS<br/>★ 현재 고혈압, 심부전, 부종 등의 치료를 위해 '이뇨제'가<br/>포함된 약물을 복용 중이십니까?"}:::decisionReq
Q3268 --> Q3269
end
START --> Q618
Q3269 --> RESULT