From 51ce81e9ca6897e4f0283f967bb242b60022f2bd Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Fri, 15 Mar 2024 15:08:17 +0530 Subject: [PATCH] minor fix --- care/facility/api/serializers/patient_consultation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/care/facility/api/serializers/patient_consultation.py b/care/facility/api/serializers/patient_consultation.py index c1b495e762..6b992b414c 100644 --- a/care/facility/api/serializers/patient_consultation.py +++ b/care/facility/api/serializers/patient_consultation.py @@ -530,7 +530,7 @@ def validate(self, attrs): ) if ( - suggestion == SuggestionChoices.A or patient_no is not None + suggestion == SuggestionChoices.A or patient_no ) and PatientConsultation.objects.filter( patient_no=patient_no, facility=(