Skip to content

Commit

Permalink
fix: multiple sets are processed fhir is created for all sets even if…
Browse files Browse the repository at this point in the history
… one of the file is missing a column/field
  • Loading branch information
alan-francis committed May 3, 2024
1 parent f18c5ff commit aeadff7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/ahc-hrsn-elt/screening/orchestrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,14 @@ export class OrchEngine {
);
if (ingestable) ingestable.issues.push(row);
for (const groupName of uniqueGroups) {
if (row.ingest_table_name.includes(groupName)) {
errGroupName.push(groupName);
if (
row.ingest_table_name.includes(govn.toSnakeCase(
groupName.toLowerCase(),
))
) {
errGroupName.push(govn.toSnakeCase(
groupName.toLowerCase(),
));
}
}
}
Expand Down

0 comments on commit aeadff7

Please sign in to comment.