We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8958536 commit c1ca43dCopy full SHA for c1ca43d
containers/ecr-viewer/src/app/api/save-fhir-data/service.ts
@@ -308,15 +308,17 @@ const saveRR = async (
308
// Loop through each condition/rule object in rr array
309
for (const rrItem of metadata.rr) {
310
const rr_conditions_uuid = randomUUID();
311
-
+
312
const rr_code = await trx
313
.selectFrom("condition_reference")
314
.select("code")
315
.where("condition_name", "=", rrItem.condition)
316
.executeTakeFirst();
317
318
if (!rr_code) {
319
- console.error(`Condition ${rrItem.condition} not found in condition_reference table`);
+ console.error(
320
+ `Condition ${rrItem.condition} not found in condition_reference table`,
321
+ );
322
}
323
324
// Insert condition into ecr_rr_conditions
0 commit comments