diff --git a/hms_tz/hms_tz/doctype/nurse_record/nurse_record.py b/hms_tz/hms_tz/doctype/nurse_record/nurse_record.py index c3a9e510..0f4163d8 100644 --- a/hms_tz/hms_tz/doctype/nurse_record/nurse_record.py +++ b/hms_tz/hms_tz/doctype/nurse_record/nurse_record.py @@ -217,8 +217,8 @@ def create_vital_signs(patient, nurse_record, **kwargs): vs.appointment = nr.appointment vs.inpatient_record = nr.inpatient_record vs.company = nr.company - - + + # Set vital sign values from kwargs vital_fields = [ "temperature", diff --git a/hms_tz/nhif/api/clinical_procedure.py b/hms_tz/nhif/api/clinical_procedure.py index 7b46fdb3..e997458f 100644 --- a/hms_tz/nhif/api/clinical_procedure.py +++ b/hms_tz/nhif/api/clinical_procedure.py @@ -9,7 +9,7 @@ import frappe from frappe import _ from frappe.query_builder import DocType -from frappe.utils import flt, get_fullname, nowdate, nowtime +from frappe.utils import flt, get_fullname, nowdate from hms_tz.hms_tz.doctype.hospital_revenue_entry.hospital_revenue_entry import ( create_revenue_entry, @@ -220,7 +220,7 @@ def create_vital_signs_from_cp(clinical_procedure: str, **kwargs) -> str: "weight", "height_in_cm", "tongue", "abdomen", "reflexes", "vital_signs_note", - "signs_date", + "signs_date", "signs_time", ] for field in vital_fields: