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(["🟢 문진 시작: 소아 예방접종 전 문진표"]):::terminator
RESULT(["🏁 결과 산출"]):::terminator
S61["섹션 1: 아동 정보<br/>(2)"]:::process
START --> S61
S62["섹션 2: 현재 상태<br/>(5)"]:::process
S61 --> S62
S63["섹션 3: 알레르기·반응력<br/>(3)"]:::process
S62 --> S63
S64["섹션 4: 접종력<br/>(5)"]:::process
S63 --> S64
S109["섹션 5: 출생·성장력<br/>(5)"]:::process
S64 --> S109
S110["섹션 6: 알레르기·반응 상세<br/>(6)"]:::process
S109 --> S110
S111["섹션 7: 동반 질환·상태<br/>(5)"]:::process
S110 --> S111
S112["섹션 8: 접종력·가족<br/>(5)"]:::process
S111 --> S112
S120["섹션 9: 추가 평가<br/>(3)"]:::process
S112 --> S120
S427["섹션 10: 현재 상태 추가<br/>(4)"]:::process
S120 --> S427
S428["섹션 11: 병력·금기 추가<br/>(9)"]:::process
S427 --> S428
S428 --> RESULT