diff --git a/care/utils/notification_handler.py b/care/utils/notification_handler.py index 0ec1718ee0..eca26aa602 100644 --- a/care/utils/notification_handler.py +++ b/care/utils/notification_handler.py @@ -287,7 +287,7 @@ def generate_cause_objects(self): self.caused_objects["patient"] = str( self.caused_object.consultation.patient.external_id ) - self.caused_objects["daily_round"] = str(self.caused_object.id) + self.caused_objects["daily_round"] = str(self.caused_object.external_id) if self.caused_object.consultation.patient.facility: self.caused_objects["facility"] = str( self.caused_object.consultation.facility.external_id