FIX non existant expression

This commit is contained in:
Masroor Ehsan 2025-01-27 18:50:03 +06:00
parent 57b24f5876
commit 7e150c972b

View File

@ -57,7 +57,7 @@ public function run(): void
'name' => 'Chevron MR/CT',
'organization_id' => $chev->id,
'department_id' => $chev_dep_ct_mr->id,
'condition' => 'study.institution_name starts with "chevron" and not (study.modality in ["CR", "DX", "MG"])',
'condition' => 'study.institution_name ?? "" starts with "chevron" and not (study.modality in ["CR", "DX", "MG"])',
]
);
@ -67,7 +67,7 @@ public function run(): void
'name' => 'Chevron X-ray',
'organization_id' => $chev->id,
'department_id' => $dept_chev_xr->id,
'condition' => 'study.institution_name starts with "chevron" and study.modality in ["CR", "DX", "MG"]',
'condition' => 'study.institution_name ?? "" starts with "chevron" and study.modality in ["CR", "DX", "MG"]',
'priority' => 99,
]
);