From 4d6e08577c267a3f2ab060d0969fb7c0cd415029 Mon Sep 17 00:00:00 2001 From: Mayank Aamseek Date: Thu, 29 Jan 2026 16:25:05 +0000 Subject: [PATCH] Merged in bugfix/provider-name-and-tin (pull request #855) extract correct provider name to match all TINs * extract correct provider name to match all TINs * Merged main into bugfix/provider-name-and-tin Approved-by: Katon Minhas --- src/prompts/prompt_templates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/prompts/prompt_templates.py b/src/prompts/prompt_templates.py index 76a317a..4ea3b42 100644 --- a/src/prompts/prompt_templates.py +++ b/src/prompts/prompt_templates.py @@ -1057,6 +1057,7 @@ Briefly explain your reasoning. After your explanation, include the heading "FIN [EXTRACTION AND FORMATTING INSTRUCTIONS] - First, analyze the text thoroughly and identify all provider entities - Return TIN and NPIs that are found on the page even if they aren't explicitly labeled as such. +- If the table contains multiple name columns (e.g. 'System Name' and 'Facility Name'), YOU MUST extract the specific 'Facility Name' or 'Hospital Name' column. - IMPORTANT VALIDATION REQUIREMENTS: * TIN must be exactly 9 digits (no more, no less) * NPI must be exactly 10 digits (no more, no less)