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(["🟢 문진 시작: 전립선 증상 (IPSS)"]):::terminator
RESULT(["🏁 결과 산출"]):::terminator
subgraph S70 ["섹션 1: 지난 한 달간 배뇨에 대해 답해 주세요"]
direction LR
Q332["Q1<br/>★ 소변을 본 후에도 다 보지 못한 느낌이 있었습니까?"]:::processReq
Q333["Q2<br/>★ 소변을 본 후 2시간 내에 다시 본 적이 있습니까?"]:::processReq
Q332 --> Q333
Q334["Q3<br/>★ 소변을 보는 도중 멈췄다가 다시 본 적이 있습니까?"]:::processReq
Q333 --> Q334
Q335["Q4<br/>★ 소변을 참기 어려운 적이 있었습니까?"]:::processReq
Q334 --> Q335
Q336["Q5<br/>★ 소변 줄기가 약했던 적이 있습니까?"]:::processReq
Q335 --> Q336
Q337["Q6<br/>★ 소변을 시작하려고 힘을 준 적이 있습니까?"]:::processReq
Q336 --> Q337
Q338["Q7<br/>★ 잠을 자다가 소변 때문에 몇 번이나 깼습니까?"]:::processReq
Q337 --> Q338
Q3228["Q_ENR_IPSS_QOL<br/>★ 현재의 배뇨 상태로 평생을 지내야 한다면 어떻게<br/>느끼시겠습니까? (삶의 질 평가)"]:::processReq
Q338 --> Q3228
Q3229["Q_ENR_SYMPTOM_DURATION<br/>★ 이러한 배뇨 불편 증상들이 언제부터 시작되었습니까?"]:::processReq
Q3228 --> Q3229
Q3230{"Q_ENR_HEMATURIA<br/>★ 최근 소변에 피가 섞여 나오는 것(육안적 혈뇨)을 본 적이<br/>있습니까?"}:::decisionReq
Q3229 --> Q3230
Q3231{"Q_ENR_DYSURIA<br/>★ 소변을 볼 때 요도나 방광 부위에 통증이나 화끈거림(배뇨통)이<br/>있습니까?"}:::decisionReq
Q3230 --> Q3231
Q3232{"Q_ENR_PERINEAL_PAIN<br/>★ 하복부, 회음부(고환과 항문 사이) 또는 허리 아래쪽에 뻐근한<br/>통증이나 불쾌감이 있습니까?"}:::decisionReq
Q3231 --> Q3232
Q3233["Q_ENR_INCONTINENCE<br/>★ 소변을 참지 못하거나 자신도 모르게 소변이 새어 나오는 요실금<br/>증상을 경험한 적이 있습니까?"]:::processReq
Q3232 --> Q3233
Q3234[/"Q_ENR_FAMILY_PROSTATE<br/>★ 직계 가족(아버지, 형제) 중에 전립선 질환을 진단받은 분이<br/>있습니까? (중복 선택 가능)"/]:::inputReq
Q3233 --> Q3234
Q3235{"Q_ENR_MED_COLD<br/>★ 최근 감기약, 콧물약(항히스타민제)을 복용한 후 소변 보기가<br/>갑자기 힘들어지거나 막힌 적(요폐)이 있습니까?"}:::decisionReq
Q3234 --> Q3235
Q3236["Q_ENR_LIFESTYLE_NIGHT_FLUID<br/>★ 잠들기 2~3시간 전에 수분(물, 커피, 녹차, 음주 등)을<br/>얼마나 자주 섭취하십니까?"]:::processReq
Q3235 --> Q3236
Q3237["Q_ENR_PSA_TEST<br/>★ 과거에 전립선특이항원(PSA) 피검사나 전립선 초음파 검사를<br/>받은 적이 있습니까?"]:::processReq
Q3236 --> Q3237
end
START --> Q332
Q3237 --> RESULT