ui(hospital): 자세 선택을 정렬 카드 위로 올린다 — 정렬은 자세에 매인 일이다

정렬은 자세를 본다: BV 의 supine 분기와 Sitting 의 35°~55° 요구 범위가
AppState.clinicalPosture 를 읽는다. 그런데 화면에서는 정렬 카드가 자세 칩보다
위에 있어, 자세를 안 고른 채(기본 Supine) [정렬 시작] 에 들어가면 정렬 화면의
기울기 카드에 띠가 없었다 — 붙이고 돌아와서 Sitting 을 고르면 그제야 요구 범위가
뜬다.

순서를 환자명 → labdb → 자세 → 정렬 → 방광 채움 → … 으로 바꾼다. A34 실기 확인.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-28 17:45:00 +09:00
parent c8cf982b71
commit ae277fe26b
@@ -518,14 +518,9 @@ fun HospitalModeView(appState: AppState) {
LabdbStatusCard(enabled = !running)
Spacer(Modifier.height(12.dp))
AnchorCard(
anchorCm = appState.anchorCm,
basis = appState.anchorBasis,
enabled = !running && isConnected,
onAlign = { appState.currentScreen = AppScreen.ANCHOR_ALIGN },
)
Spacer(Modifier.height(12.dp))
// 자세는 **정렬보다 위**에 둔다(2026-09-28). 정렬은 자세에 매인 일이다 — BV 의
// supine 분기와 Sitting 의 35°~55° 요구 범위가 이 값을 본다. 정렬 카드가 위에
// 있던 동안은 자세를 안 고른 채(기본 Supine) 정렬에 들어가 띠 없이 붙이고 왔다.
Label("자세")
ChipRow(ClinicalPosture.entries, posture, { posture = it }, !running,
progressOf = { postureProgress(it) }) { it.label }
@@ -534,6 +529,14 @@ fun HospitalModeView(appState: AppState) {
}
Spacer(Modifier.height(12.dp))
AnchorCard(
anchorCm = appState.anchorCm,
basis = appState.anchorBasis,
enabled = !running && isConnected,
onAlign = { appState.currentScreen = AppScreen.ANCHOR_ALIGN },
)
Spacer(Modifier.height(12.dp))
Label("방광 채움 정도 — 간호사가 채워 둔 값")
// 방광 단계는 **지금 고른 자세 안에서**의 진행이다. 자세를 바꾸면 표시도 바뀐다.
ChipRow(BladderFill.entries, fill, { fill = it }, !running,