feat(web): 대시보드 환자 목록 위험 표기를 CTRS 단계로 전환 + 척도 범례 - #105
Merged
Merged
Conversation
기존 safety risk level 라벨(안전/주의/위험/긴급)을 CTRS(위기분류척도) 단계로 표기. 위험성(Rating A) 기준으로 level→단계 환산(critical→1 고위험, high→2 위험, medium→3 주의, low→4 관찰, RiskEvent 없음→5 안정), 전원 배지 표기(무위험=5·안정). - lib/tokens: CtrsStage/ctrsFromLevel/CTRS_META 추가 - components/CtrsBadge: 목록 전용 `CTRS N · 라벨` 배지(항상 표기). 리포트/세션의 RiskBadge는 신호별 safety level 의미라 그대로 유지. - components/CtrsLegend: 목록 우측 범례 — 위험성(Rating A) 5단계 정의 + 지지체계 (Rating B) 임상 참고 축(접이식). 사용자 제공 CTRS 정의 반영. - dashboard/page: 목록+범례 2단 레이아웃(반응형). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
lg→md 브레이크포인트로 낮춰 데스크톱 폭에서 하단 스택 방지, 범례 md:sticky top-20으로 스크롤 시 우측 상단 고정. 로컬 검증 완료. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
대시보드 환자 목록의 위험 배지를 CTRS(위기분류척도) 단계로 전환. 사용자 제공 CTRS 정의(위험성 Rating A / 지지체계 Rating B) 반영.
매핑 (위험성 Rating A 기준, safety level→CTRS)
CTRS N · 라벨.변경
lib/tokens:CtrsStage/ctrsFromLevel/CTRS_METAcomponents/CtrsBadge(신규): 목록 전용 CTRS 배지. 리포트/세션의RiskBadge는 신호별 safety level 의미라 미변경.components/CtrsLegend(신규): 목록 우측 범례 — Rating A 5단계 정의 + Rating B(지지체계) 접이식 참고 축.dashboard/page: 목록+범례 2단 반응형 레이아웃.검증(로컬)
🤖 Generated with Claude Code