From a8667bd41d8800e835d7cfe8fb1ab60eae463ed4 Mon Sep 17 00:00:00 2001 From: Dr Masroor Ehsan Date: Thu, 23 Jan 2025 14:52:44 +0600 Subject: [PATCH] skip unstable study --- app/Services/Pacs/Sync/Pipes/FilterStudies.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/Pacs/Sync/Pipes/FilterStudies.php b/app/Services/Pacs/Sync/Pipes/FilterStudies.php index 8fb1aa6..3af5402 100644 --- a/app/Services/Pacs/Sync/Pipes/FilterStudies.php +++ b/app/Services/Pacs/Sync/Pipes/FilterStudies.php @@ -42,6 +42,7 @@ private function checkUpdate(string $orthanc_uuid, StudiesSync $sync, Collection } if ($study_status < StudyLevelStatus::Unassigned->value) { + // this is an "unstable" study. queue for update $sync->getUpdateQueue()->add($orthanc_uuid); } }