Skip to content

Commit c1ca43d

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 8958536 commit c1ca43d

File tree

1 file changed

+4
-2
lines changed
  • containers/ecr-viewer/src/app/api/save-fhir-data

1 file changed

+4
-2
lines changed

containers/ecr-viewer/src/app/api/save-fhir-data/service.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -308,15 +308,17 @@ const saveRR = async (
308308
// Loop through each condition/rule object in rr array
309309
for (const rrItem of metadata.rr) {
310310
const rr_conditions_uuid = randomUUID();
311-
311+
312312
const rr_code = await trx
313313
.selectFrom("condition_reference")
314314
.select("code")
315315
.where("condition_name", "=", rrItem.condition)
316316
.executeTakeFirst();
317317

318318
if (!rr_code) {
319-
console.error(`Condition ${rrItem.condition} not found in condition_reference table`);
319+
console.error(
320+
`Condition ${rrItem.condition} not found in condition_reference table`,
321+
);
320322
}
321323

322324
// Insert condition into ecr_rr_conditions

0 commit comments

Comments
 (0)