feat: add elder bed operational context

This commit is contained in:
2026-07-03 00:46:17 -07:00
parent f620d6c3dd
commit 0ce8cb9644
9 changed files with 477 additions and 30 deletions

View File

@@ -0,0 +1,26 @@
export type ContextLineKind = "care" | "health" | "incident" | "admission";
export type OperationalContextLine = {
kind: ContextLineKind;
label: string;
value: string;
tone?: "danger" | "muted" | "warning";
};
export type ElderOperationalContext = {
lines: OperationalContextLine[];
};
export type BedOperationalContext = {
occupant?: {
careLevel: string;
elderName: string;
status: string;
};
lines: OperationalContextLine[];
};
export type ElderBedContextData = {
bedContexts: Record<string, BedOperationalContext>;
elderContexts: Record<string, ElderOperationalContext>;
};