Commit 41515b4
fix(ImportCodesCommand): only check supported_external_dataloads for ICD types (#26)
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]>1 parent 2046317 commit 41515b4
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
236 | 240 | | |
237 | 241 | | |
238 | 242 | | |
| |||
0 commit comments