feat: Court-Ready Legal & HIPAA Compliance Vault, 21 CFR Part 11 Audit Trail, Subpoena PDF & CMS-1500 coding engine

This commit is contained in:
2026-09-05 16:09:03 -07:00
parent bfe527fb33
commit 99d4f2a2db
7 changed files with 948 additions and 0 deletions
+15
View File
@@ -18,6 +18,7 @@ import {
X,
Sparkles,
Command,
Scale,
} from 'lucide-react';
import { Patient, StaffRole } from '@/types/clinical';
import { clinicalAudio } from '@/lib/clinical-audio';
@@ -42,6 +43,7 @@ interface CommandPaletteProps {
onSetStaffRole: (role: StaffRole) => void;
onToggleAudio: () => void;
audioEnabled: boolean;
onOpenCourtVault?: () => void;
}
export const CommandPalette: React.FC<CommandPaletteProps> = ({
@@ -54,6 +56,7 @@ export const CommandPalette: React.FC<CommandPaletteProps> = ({
onSetStaffRole,
onToggleAudio,
audioEnabled,
onOpenCourtVault,
}) => {
const [query, setQuery] = useState('');
const [selectedIndex, setSelectedIndex] = useState(0);
@@ -178,6 +181,18 @@ export const CommandPalette: React.FC<CommandPaletteProps> = ({
onClose();
},
},
{
id: 'action-court-vault',
category: 'Actions',
title: 'Court-Ready Legal & HIPAA Compliance Vault',
subtitle: '21 CFR Part 11 cryptographic hash seal, non-repudiation, chain-of-custody audit',
badge: '21 CFR Part 11',
icon: <Scale className="w-4 h-4 text-sky-600" />,
action: () => {
if (onOpenCourtVault) onOpenCourtVault();
onClose();
},
},
// Staff Roles
{