fix (Lab Test): None TypeError in Patient Medical Record
diff --git a/erpnext/healthcare/doctype/lab_test/lab_test.py b/erpnext/healthcare/doctype/lab_test/lab_test.py
index 1a05f1e..d114ead 100644
--- a/erpnext/healthcare/doctype/lab_test/lab_test.py
+++ b/erpnext/healthcare/doctype/lab_test/lab_test.py
@@ -290,10 +290,14 @@
comment = ""
if item.lab_test_comment:
comment = str(item.lab_test_comment)
- event = ""
+ table_row = item.lab_test_name
+
if item.lab_test_event:
- event = item.lab_test_event
- table_row = item.lab_test_name +" "+ event +" "+ item.result_value
+ table_row += " " + item.lab_test_event
+
+ if item.result_value:
+ table_row += " " + item.result_value
+
if item.normal_range:
table_row += " normal_range("+item.normal_range+")"
table_row += " "+comment