extraction.ts 553 B

123456789101112131415161718192021222324252627
  1. export interface UserAccount {
  2. id: string;
  3. name: string;
  4. department: string;
  5. medical_allowance: number;
  6. }
  7. export interface ExtractionResponse {
  8. provider_name: string;
  9. visit_date: string;
  10. total_amount: number;
  11. currency: string;
  12. items: string[];
  13. confidence_score: number;
  14. needs_manual_review: boolean;
  15. ai_reasoning: string;
  16. }
  17. export interface ClaimRecord {
  18. id: string;
  19. timestamp: string;
  20. submitted_by: string;
  21. department: string;
  22. amount_spent: number;
  23. amount_claimed: number;
  24. extraction_data: ExtractionResponse;
  25. }