From 1e2fd5b70ee9ed88b14d6ae76eec32c1c6ea9466 Mon Sep 17 00:00:00 2001 From: CynthiaKamau Date: Sun, 15 Oct 2023 19:20:07 +0300 Subject: [PATCH] 03-2496 Fix Circular Reference Error in Service Queue When Adding Patient Location Coming From --- api/src/main/java/org/openmrs/module/queue/model/QueueEntry.java | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/main/java/org/openmrs/module/queue/model/QueueEntry.java b/api/src/main/java/org/openmrs/module/queue/model/QueueEntry.java index 28b9e38..074978d 100644 --- a/api/src/main/java/org/openmrs/module/queue/model/QueueEntry.java +++ b/api/src/main/java/org/openmrs/module/queue/model/QueueEntry.java @@ -82,6 +82,7 @@ public class QueueEntry extends BaseChangeableOpenmrsData { private Provider providerWaitingFor; //The queue the patient is coming from, if any. + @ToString.Exclude @OneToOne @JoinColumn(name = "queue_coming_from", referencedColumnName = "queue_id") private Queue queueComingFrom;