feat(compliance): add 45 CFR § 164.312 inactivity lockout, break-glass protocol, Fed R Evid 902(11) self-authenticating affidavit, and aai.dev legal dossier
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
Sparkles,
|
||||
Command,
|
||||
Scale,
|
||||
Lock,
|
||||
} from 'lucide-react';
|
||||
import { Patient, StaffRole } from '@/types/clinical';
|
||||
import { clinicalAudio } from '@/lib/clinical-audio';
|
||||
@@ -44,6 +45,7 @@ interface CommandPaletteProps {
|
||||
onToggleAudio: () => void;
|
||||
audioEnabled: boolean;
|
||||
onOpenCourtVault?: () => void;
|
||||
onLockTerminal?: () => void;
|
||||
}
|
||||
|
||||
export const CommandPalette: React.FC<CommandPaletteProps> = ({
|
||||
@@ -57,6 +59,7 @@ export const CommandPalette: React.FC<CommandPaletteProps> = ({
|
||||
onToggleAudio,
|
||||
audioEnabled,
|
||||
onOpenCourtVault,
|
||||
onLockTerminal,
|
||||
}) => {
|
||||
const [query, setQuery] = useState('');
|
||||
const [selectedIndex, setSelectedIndex] = useState(0);
|
||||
@@ -193,6 +196,18 @@ export const CommandPalette: React.FC<CommandPaletteProps> = ({
|
||||
onClose();
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'action-lock-terminal',
|
||||
category: 'Actions',
|
||||
title: 'Lock Clinical Terminal (HIPAA Auto-Logoff)',
|
||||
subtitle: 'Instant exam room screen lock pursuant to 45 CFR § 164.312(a)(2)(iii) (Cmd+L)',
|
||||
badge: 'HIPAA Lock',
|
||||
icon: <Lock className="w-4 h-4 text-rose-600" />,
|
||||
action: () => {
|
||||
if (onLockTerminal) onLockTerminal();
|
||||
onClose();
|
||||
},
|
||||
},
|
||||
|
||||
// Staff Roles
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user