feat: add POE and period exam aliases → D0120 in CDT lookup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 23:58:56 -04:00
parent 15a1091f35
commit 998ef0ac95

View File

@@ -44,6 +44,8 @@ const ALIAS_MAP: Record<string, string> = {
// Exams
"perio exam": "periodic oral evaluation",
"periodic exam": "periodic oral evaluation",
"period exam": "periodic oral evaluation",
"poe": "periodic oral evaluation",
"recall exam": "periodic oral evaluation",
"comp exam": "comprehensive oral evaluation",
"comprehensive exam": "comprehensive oral evaluation",
@@ -150,6 +152,8 @@ const ALIAS_MAP: Record<string, string> = {
// or short abbreviations that need precise mapping (checked before keyword search)
const DIRECT_CODE_MAP: Record<string, string> = {
// Exams
"poe": "D0120",
"period exam": "D0120",
"limited exam": "D0140",
"emergency exam": "D0140",
// X-rays