// screens/intake.jsx — 환자 체크인 · 문진 (RFM·고민·유입경로) function IntakeScreen({ persona, role, setRoute }) { const Icons = window.Icons; const [concerns, setConcerns] = React.useState(["모공", "유분/피지광"]); const [secondary, setSecondary] = React.useState(["여드름", "홍조"]); const [inflow, setInflow] = React.useState("instagram"); const [budget, setBudget] = React.useState("1.5M"); const [downtime, setDowntime] = React.useState("3일"); const [goal, setGoal] = React.useState("이벤트 (결혼식) 2개월 후"); const [step, setStep] = React.useState(2); // 0=체크인, 1=배경, 2=문진, 3=완료 return (
01 · 환자 체크인 · 문진

상담 시작 — 환자 배경·니즈 프로파일링

환자 본인 또는 실장이 iPad에서 작성합니다. EMR·CRM·예약·문진 데이터가 통합되어 AI가 환자 세그먼트와 주요 니즈를 자동 태깅합니다.

{/* Stepper */}
STEP {String(step + 1).padStart(2, "0")} / 04
{/* LEFT — Form */}
{/* Patient header card */}

{persona.nameMasked}

{persona.age}세 · {persona.gender === "F" ? "여" : "남"} {persona.segment}
ID {persona.id} · 방문 {persona.visits}회 · 마지막 {persona.lastVisit}
누적 매출
₩{(persona.rfm.monetary / 10000).toFixed(0)}만
{/* Concerns */} AI 자동 태깅}>
2차 관심 영역
{/* Constraints */}
setGoal(e.target.value)} /> 예: "결혼식 2개월 후", "여름 휴가 전 1개월"
{/* Inflow + history */}
유입
연동된 채널: {persona.inflowDetail}
{/* RIGHT — AI inferred profile */}

AI 환자 프로파일

실시간
예상 세그먼트
{persona.segment}
유사 환자 cohort: 142명 · 평균 객단가 ₩1.38M
RFM 분석
자동 태깅 (5)
{["모공-우선", "지성-T존", "재방문-활성", "패키지-유효", "후기-노출"].map(t => ( {t} ))}
리스크 플래그
홍조 면적이 일반 기준 대비 1.5배 — 강한 레이저 시 PIH 가능성 모니터링
지난 시술 후 24h SMS 만족도 응답 없음 — 후속 컨택 권장

연계 시스템

{[ { sys: "EMR (자체)", status: "연결됨", time: "1초 전" }, { sys: "CRM (Hubspot)", status: "연결됨", time: "12초 전" }, { sys: "예약 (네이버)", status: "연결됨", time: "1분 전" }, { sys: "문진 (Tally)", status: "수신중", time: "방금" }, ].map(s => (
{s.sys} {s.time}
))}
); } window.IntakeScreen = IntakeScreen;