/**
 * Student: My Medical Record (read-only).
 * Loads own user.id from auth store; ReadOnlyMedicalView takes a UID or numeric id.
 */

import { useAuthStore } from '../../store/auth';
import { StudentMedicalSelfView } from '../medical/MedicalViews';

export default function StudentMedical() {
  const { user } = useAuthStore();
  if (!user) return null;
  return <StudentMedicalSelfView studentUid={String(user.id)} />;
}
