File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
containers/ecr-viewer/src/app/api/save-fhir-data Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -308,15 +308,17 @@ const saveRR = async (
308
308
// Loop through each condition/rule object in rr array
309
309
for ( const rrItem of metadata . rr ) {
310
310
const rr_conditions_uuid = randomUUID ( ) ;
311
-
311
+
312
312
const rr_code = await trx
313
313
. selectFrom ( "condition_reference" )
314
314
. select ( "code" )
315
315
. where ( "condition_name" , "=" , rrItem . condition )
316
316
. executeTakeFirst ( ) ;
317
317
318
318
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
+ ) ;
320
322
}
321
323
322
324
// Insert condition into ecr_rr_conditions
You can’t perform that action at this time.
0 commit comments