Skip to content

Conversation

@kojiromike
Copy link
Contributor

Summary

  • Fix regression where RXNORM, SNOMED, and CQM_VALUESET files were incorrectly rejected as "not in supported_external_dataloads table"
  • Only ICD9/ICD10 types use that table; other types validate via filename patterns only

Test plan

  • Import a CQM valueset file without --allow-unsupported - should succeed
  • Import an ICD file not in the table without --allow-unsupported - should fail with suggestion
  • Import an ICD file not in the table with --allow-unsupported - should succeed

🤖 Generated with Claude Code

AI Disclosure: Yes

…ICD types

The --allow-unsupported feature was incorrectly requiring all code types
to be found in the supported_external_dataloads table. However, only ICD9
and ICD10 use that table for validation. Other types (RXNORM, SNOMED,
CQM_VALUESET) are validated purely by filename pattern matching and never
populate from_database=true.

This caused supported files like CQM valuesets to fail with "File not in
supported_external_dataloads table" unless --allow-unsupported was used.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@kojiromike kojiromike merged commit 41515b4 into main Jan 19, 2026
7 checks passed
@kojiromike kojiromike deleted the always-unsupported branch January 19, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants