diff --git a/bandhu_app/api.py b/bandhu_app/api.py new file mode 100644 index 0000000..853644f --- /dev/null +++ b/bandhu_app/api.py @@ -0,0 +1,13 @@ +# bandhu_app/bandhu_app/api.py + +import frappe + + +@frappe.whitelist() +def get_patient_by_uid(uid: str): + patient = frappe.get_all("Patient", filters={"custom_bandhu_id": uid}, fields=["name", "patient_name"]) + + if not patient: + return {"error": "Patient not found"} + + return patient[0] diff --git a/bandhu_app/bandhu_app/custom/asset.json b/bandhu_app/bandhu_app/custom/asset.json new file mode 100644 index 0000000..172ea1e --- /dev/null +++ b/bandhu_app/bandhu_app/custom/asset.json @@ -0,0 +1,424 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-05-01 16:09:20.756217", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Asset", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_project", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 9, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "asset_category", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Project", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-21 23:15:50.294960", + "modified_by": "Administrator", + "module": null, + "name": "Asset-custom_project", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Projects", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Asset", + "links": [ + { + "creation": "2022-01-18 02:26:55.975005", + "custom": 0, + "docstatus": 0, + "group": "Value", + "hidden": 0, + "idx": 3, + "is_child_table": 0, + "link_doctype": "Asset Value Adjustment", + "link_fieldname": "asset", + "modified": "2026-04-09 15:51:54.604854", + "modified_by": "Administrator", + "name": "qcq0qu1j9b", + "owner": "Administrator", + "parent": "Asset", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2022-01-18 02:26:55.975005", + "custom": 0, + "docstatus": 0, + "group": "Depreciation", + "hidden": 0, + "idx": 4, + "is_child_table": 0, + "link_doctype": "Asset Depreciation Schedule", + "link_fieldname": "asset", + "modified": "2026-04-09 15:51:54.604854", + "modified_by": "Administrator", + "name": "qcq2evcmfc", + "owner": "Administrator", + "parent": "Asset", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2022-01-18 02:26:55.975005", + "custom": 0, + "docstatus": 0, + "group": "Journal Entry", + "hidden": 0, + "idx": 6, + "is_child_table": 0, + "link_doctype": "Journal Entry", + "link_fieldname": "reference_name", + "modified": "2026-04-09 15:51:54.604854", + "modified_by": "Administrator", + "name": "qcq626feev", + "owner": "Administrator", + "parent": "Asset", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": "accounts" + }, + { + "creation": "2022-01-18 02:26:55.975005", + "custom": 0, + "docstatus": 0, + "group": "Activity", + "hidden": 0, + "idx": 5, + "is_child_table": 0, + "link_doctype": "Asset Activity", + "link_fieldname": "asset", + "modified": "2026-04-09 15:51:54.604854", + "modified_by": "Administrator", + "name": "qcqot00n4l", + "owner": "Administrator", + "parent": "Asset", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2022-01-18 02:26:55.975005", + "custom": 0, + "docstatus": 0, + "group": "Asset Capitalization", + "hidden": 0, + "idx": 7, + "is_child_table": 0, + "link_doctype": "Asset Capitalization", + "link_fieldname": "target_asset", + "modified": "2026-04-09 15:51:54.604854", + "modified_by": "Administrator", + "name": "qcqq5306fv", + "owner": "Administrator", + "parent": "Asset", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2022-01-18 02:26:55.975005", + "custom": 0, + "docstatus": 0, + "group": "Maintenance", + "hidden": 0, + "idx": 1, + "is_child_table": 0, + "link_doctype": "Asset Maintenance", + "link_fieldname": "asset_name", + "modified": "2026-04-09 15:51:54.604854", + "modified_by": "Administrator", + "name": "qcqqj9nsec", + "owner": "Administrator", + "parent": "Asset", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2022-01-18 02:26:55.975005", + "custom": 0, + "docstatus": 0, + "group": "Repair", + "hidden": 0, + "idx": 2, + "is_child_table": 0, + "link_doctype": "Asset Repair", + "link_fieldname": "asset", + "modified": "2026-04-09 15:51:54.604854", + "modified_by": "Administrator", + "name": "qcqqmtsn32", + "owner": "Administrator", + "parent": "Asset", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + } + ], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.225630", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "accounting_dimensions_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-20 18:29:13.958701", + "modified_by": "Administrator", + "module": null, + "name": "Asset-accounting_dimensions_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.232759", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "asset_owner_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-20 18:29:37.366129", + "modified_by": "Administrator", + "module": null, + "name": "Asset-asset_owner_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.254878", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "company", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-21 23:23:40.153496", + "modified_by": "Administrator", + "module": null, + "name": "Asset-company-default", + "owner": "Administrator", + "property": "default", + "property_type": "Text", + "row_name": null, + "value": "CMID" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.211630", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "connections_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-20 18:23:52.365260", + "modified_by": "Administrator", + "module": null, + "name": "Asset-connections_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.204861", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "depreciation_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-20 18:23:52.203359", + "modified_by": "Administrator", + "module": null, + "name": "Asset-depreciation_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.304902", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "image", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-22 01:13:55.070708", + "modified_by": "Administrator", + "module": null, + "name": "Asset-image-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.218721", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "insurance_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-20 18:28:44.634558", + "modified_by": "Administrator", + "module": null, + "name": "Asset-insurance_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.247384", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-21 23:15:50.518244", + "modified_by": "Administrator", + "module": null, + "name": "Asset-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"naming_series\", \"company\", \"item_code\", \"item_name\", \"asset_name\", \"image\", \"column_break_3\", \"location\", \"asset_category\", \"custom_project\", \"asset_type\", \"maintenance_required\", \"calculate_depreciation\", \"purchase_details_section\", \"purchase_receipt\", \"purchase_receipt_item\", \"purchase_invoice\", \"purchase_invoice_item\", \"purchase_date\", \"available_for_use_date\", \"disposal_date\", \"column_break_23\", \"net_purchase_amount\", \"purchase_amount\", \"asset_quantity\", \"additional_asset_cost\", \"section_break_uiyd\", \"column_break_bbwr\", \"column_break_bfkm\", \"total_asset_cost\", \"depreciation_tab\", \"column_break_wqzi\", \"opening_accumulated_depreciation\", \"is_fully_depreciated\", \"column_break_33\", \"opening_number_of_booked_depreciations\", \"section_break_36\", \"finance_books\", \"section_break_33\", \"depreciation_method\", \"value_after_depreciation\", \"frequency_of_depreciation\", \"column_break_24\", \"next_depreciation_date\", \"total_number_of_depreciations\", \"depreciation_schedule_sb\", \"depreciation_schedule_view\", \"other_info_tab\", \"accounting_dimensions_section\", \"cost_center\", \"column_break_rjyw\", \"asset_owner_section\", \"asset_owner\", \"column_break_yeds\", \"asset_owner_company\", \"customer\", \"supplier\", \"insurance_section\", \"policy_number\", \"insurer\", \"insured_value\", \"column_break_48\", \"insurance_start_date\", \"insurance_end_date\", \"comprehensive_insurance\", \"section_break_jtou\", \"status\", \"custodian\", \"department\", \"default_finance_book\", \"depr_entry_posting_status\", \"column_break_51\", \"journal_entry_for_scrap\", \"split_from\", \"amended_from\", \"booked_fixed_asset\", \"connections_tab\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.239954", + "default_value": null, + "doc_type": "Asset", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "other_info_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-21 23:03:58.881820", + "modified_by": "Administrator", + "module": null, + "name": "Asset-other_info_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/asset_movement.json b/bandhu_app/bandhu_app/custom/asset_movement.json new file mode 100644 index 0000000..065321f --- /dev/null +++ b/bandhu_app/bandhu_app/custom/asset_movement.json @@ -0,0 +1,122 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-05-01 16:09:20.591855", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Asset Movement", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_project", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 4, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "transaction_date", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Project", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-21 23:27:51.740709", + "modified_by": "Administrator", + "module": null, + "name": "Asset Movement-custom_project", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Projects", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Asset Movement", + "links": [], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.262262", + "default_value": null, + "doc_type": "Asset Movement", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "company", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-21 23:24:22.197855", + "modified_by": "Administrator", + "module": null, + "name": "Asset Movement-company-default", + "owner": "Administrator", + "property": "default", + "property_type": "Text", + "row_name": null, + "value": "CMID" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.269392", + "default_value": null, + "doc_type": "Asset Movement", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-21 23:27:51.817999", + "modified_by": "Administrator", + "module": null, + "name": "Asset Movement-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"company\", \"purpose\", \"column_break_4\", \"transaction_date\", \"custom_project\", \"section_break_10\", \"assets\", \"reference\", \"reference_doctype\", \"column_break_9\", \"reference_name\", \"amended_from\"]" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/asset_repair.json b/bandhu_app/bandhu_app/custom/asset_repair.json new file mode 100644 index 0000000..767714e --- /dev/null +++ b/bandhu_app/bandhu_app/custom/asset_repair.json @@ -0,0 +1,143 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-05-01 16:09:20.855696", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Asset Repair", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_source_project", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 10, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "amended_from", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Source Project", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-21 23:29:21.710334", + "modified_by": "Administrator", + "module": null, + "name": "Asset Repair-custom_source_project", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Projects", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Asset Repair", + "links": [ + { + "creation": "2017-10-23 11:38:54.004355", + "custom": 0, + "docstatus": 0, + "group": null, + "hidden": 0, + "idx": 1, + "is_child_table": 0, + "link_doctype": "Stock Entry", + "link_fieldname": "asset_repair", + "modified": "2026-04-09 15:52:11.733621", + "modified_by": "Administrator", + "name": "qi5doo0osf", + "owner": "Administrator", + "parent": "Asset Repair", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + } + ], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.283166", + "default_value": null, + "doc_type": "Asset Repair", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "company", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-21 23:31:52.380021", + "modified_by": "Administrator", + "module": null, + "name": "Asset Repair-company-default", + "owner": "Administrator", + "property": "default", + "property_type": "Text", + "row_name": null, + "value": "CMID" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 16:09:25.276125", + "default_value": null, + "doc_type": "Asset Repair", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-04-21 23:29:21.942697", + "modified_by": "Administrator", + "module": null, + "name": "Asset Repair-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"naming_series\", \"company\", \"asset\", \"asset_name\", \"column_break_2\", \"repair_status\", \"failure_date\", \"completion_date\", \"downtime\", \"amended_from\", \"custom_source_project\", \"section_break_9\", \"description\", \"column_break_9\", \"actions_performed\", \"accounting_details\", \"invoices\", \"section_break_muyc\", \"column_break_ajbh\", \"column_break_hkem\", \"repair_cost\", \"stock_consumption_details_section\", \"stock_items\", \"section_break_ltbb\", \"column_break_ewor\", \"column_break_ceuc\", \"consumed_items_cost\", \"capitalizations_section\", \"column_break_spre\", \"capitalize_repair_cost\", \"increase_in_asset_life\", \"column_break_xebe\", \"total_repair_cost\", \"accounting_dimensions_section\", \"cost_center\", \"column_break_14\", \"project\", \"connection_tab\"]" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/healthcare_practitioner.json b/bandhu_app/bandhu_app/custom/healthcare_practitioner.json new file mode 100644 index 0000000..4241534 --- /dev/null +++ b/bandhu_app/bandhu_app/custom/healthcare_practitioner.json @@ -0,0 +1,559 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:00:00.486420", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Healthcare Practitioner", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_project", + "fieldtype": "Table MultiSelect", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 25, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_section_break_ua07t", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Project", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-18 15:27:21.348604", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-custom_project", + "no_copy": 0, + "non_negative": 0, + "options": "Practitioner Projects", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 17:59:59.698657", + "default": "", + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Healthcare Practitioner", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_role", + "fieldtype": "Select", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 14, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "office_phone", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Role", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-14 11:37:34.471246", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-custom_role", + "no_copy": 0, + "non_negative": 0, + "options": "Doctor\nNurse\nClinic Assistant cum Driver (CAD)\nHelpline Staff\n", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:00:00.354977", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Healthcare Practitioner", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_section_break_ua07t", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 24, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "hospital", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-18 15:27:21.063561", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-custom_section_break_ua07t", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Healthcare Practitioner", + "links": [ + { + "creation": "2016-02-23 11:20:53.565119", + "custom": 0, + "docstatus": 0, + "group": "Orders", + "hidden": 0, + "idx": 3, + "is_child_table": 0, + "link_doctype": "Medication Request", + "link_fieldname": "practitioner", + "modified": "2026-04-09 15:52:45.913485", + "modified_by": "Administrator", + "name": "qsr5a5hqt0", + "owner": "Administrator", + "parent": "Healthcare Practitioner", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-02-23 11:20:53.565119", + "custom": 0, + "docstatus": 0, + "group": "Consultations", + "hidden": 0, + "idx": 6, + "is_child_table": 0, + "link_doctype": "Fee Validity", + "link_fieldname": "practitioner", + "modified": "2026-04-09 15:52:45.913485", + "modified_by": "Administrator", + "name": "qsrf9n37gk", + "owner": "Administrator", + "parent": "Healthcare Practitioner", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-02-23 11:20:53.565119", + "custom": 0, + "docstatus": 0, + "group": "Consultations", + "hidden": 0, + "idx": 2, + "is_child_table": 0, + "link_doctype": "Patient Encounter", + "link_fieldname": "practitioner", + "modified": "2026-04-09 15:52:45.913485", + "modified_by": "Administrator", + "name": "qsrr4fhe9v", + "owner": "Administrator", + "parent": "Healthcare Practitioner", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-02-23 11:20:53.565119", + "custom": 0, + "docstatus": 0, + "group": "Orders", + "hidden": 0, + "idx": 4, + "is_child_table": 0, + "link_doctype": "Service Request", + "link_fieldname": "practitioner", + "modified": "2026-04-09 15:52:45.913485", + "modified_by": "Administrator", + "name": "qsrraigl2c", + "owner": "Administrator", + "parent": "Healthcare Practitioner", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-02-23 11:20:53.565119", + "custom": 0, + "docstatus": 0, + "group": "Consultations", + "hidden": 0, + "idx": 1, + "is_child_table": 0, + "link_doctype": "Patient Appointment", + "link_fieldname": "practitioner", + "modified": "2026-04-09 15:52:45.913485", + "modified_by": "Administrator", + "name": "qsrtsits0i", + "owner": "Administrator", + "parent": "Healthcare Practitioner", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-02-23 11:20:53.565119", + "custom": 0, + "docstatus": 0, + "group": "Admissions", + "hidden": 0, + "idx": 5, + "is_child_table": 0, + "link_doctype": "Inpatient Record", + "link_fieldname": "practitioner", + "modified": "2026-04-09 15:52:45.913485", + "modified_by": "Administrator", + "name": "qsrvv327o6", + "owner": "Administrator", + "parent": "Healthcare Practitioner", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + } + ], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.495704", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "account_details", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.789850", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-account_details-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.456413", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "address_and_contacts_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.812480", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-address_and_contacts_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.448899", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "appointments", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.831441", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-appointments-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.431989", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "charges", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.849471", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-charges-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.480916", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "designation", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.868539", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-designation-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.464624", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "employee", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.887763", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-employee-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.488106", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "free_followup_details_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.908152", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-free_followup_details_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.932879", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.926356", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"basic_details_section\", \"naming_series\", \"first_name\", \"middle_name\", \"last_name\", \"practitioner_name\", \"gender\", \"image\", \"column_break_7\", \"status\", \"mobile_phone\", \"residence_phone\", \"office_phone\", \"custom_role\", \"employee_and_user_details_section\", \"practitioner_type\", \"employee\", \"supplier\", \"department\", \"designation\", \"column_break_17\", \"user_id\", \"hospital\", \"custom_section_break_ua07t\", \"custom_project\", \"appointments\", \"practitioner_schedules\", \"google_calendar\", \"show_in_portal\", \"charges\", \"op_consulting_charge_item\", \"op_consulting_charge\", \"column_break_18\", \"inpatient_visit_charge_item\", \"inpatient_visit_charge\", \"free_followup_details_section\", \"enable_free_follow_ups\", \"max_visits\", \"valid_days\", \"account_details\", \"default_currency\", \"accounts\", \"address_and_contacts_section\", \"address_html\", \"column_break_19\", \"contact_html\", \"primary_address_and_contact_detail\", \"practitioner_primary_contact\", \"mobile_no\", \"email_id\", \"column_break_26\", \"practitioner_primary_address\", \"primary_address\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.439730", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.944906", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-main-quick_entry", + "owner": "Administrator", + "property": "quick_entry", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:00:03.472073", + "default_value": null, + "doc_type": "Healthcare Practitioner", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "supplier", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:03:30.964401", + "modified_by": "Administrator", + "module": null, + "name": "Healthcare Practitioner-supplier-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/item.json b/bandhu_app/bandhu_app/custom/item.json new file mode 100644 index 0000000..82075b3 --- /dev/null +++ b/bandhu_app/bandhu_app/custom/item.json @@ -0,0 +1,469 @@ +{ + "custom_fields": [], + "custom_perms": [], + "doctype": "Item", + "links": [], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.588621", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "accounting", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.919401", + "modified_by": "Administrator", + "module": null, + "name": "Item-accounting-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.662381", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "allow_negative_stock", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.945645", + "modified_by": "Administrator", + "module": null, + "name": "Item-allow_negative_stock-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:02.792885", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "barcodes", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:00.974119", + "modified_by": "Administrator", + "module": null, + "name": "Item-barcodes-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.694733", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "dashboard_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.001467", + "modified_by": "Administrator", + "module": null, + "name": "Item-dashboard_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.634553", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "inventory_valuation_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.030442", + "modified_by": "Administrator", + "module": null, + "name": "Item-inventory_valuation_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:02.687278", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "item_code", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:01.067890", + "modified_by": "Administrator", + "module": null, + "name": "Item-item_code-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:02.695399", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "item_code", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:01.092257", + "modified_by": "Administrator", + "module": null, + "name": "Item-item_code-reqd", + "owner": "Administrator", + "property": "reqd", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.686120", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "item_tax_section_break", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.118100", + "modified_by": "Administrator", + "module": null, + "name": "Item-item_tax_section_break-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.626980", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.142529", + "modified_by": "Administrator", + "module": null, + "name": "Item-main-quick_entry", + "owner": "Administrator", + "property": "quick_entry", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.618623", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "manufacturing", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.171608", + "modified_by": "Administrator", + "module": null, + "name": "Item-manufacturing-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:02.678610", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "naming_series", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:01.199266", + "modified_by": "Administrator", + "module": null, + "name": "Item-naming_series-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:02.669942", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "naming_series", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:01.224975", + "modified_by": "Administrator", + "module": null, + "name": "Item-naming_series-reqd", + "owner": "Administrator", + "property": "reqd", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.596349", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "purchasing_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.251878", + "modified_by": "Administrator", + "module": null, + "name": "Item-purchasing_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.611707", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "quality_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.280127", + "modified_by": "Administrator", + "module": null, + "name": "Item-quality_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.603415", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sales_details", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.303974", + "modified_by": "Administrator", + "module": null, + "name": "Item-sales_details-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.670315", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_barcodes", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.328866", + "modified_by": "Administrator", + "module": null, + "name": "Item-sb_barcodes-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.581494", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "variants_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.352765", + "modified_by": "Administrator", + "module": null, + "name": "Item-variants_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.645258", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "warranty_period", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.381636", + "modified_by": "Administrator", + "module": null, + "name": "Item-warranty_period-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.654167", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "weight_per_unit", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.406688", + "modified_by": "Administrator", + "module": null, + "name": "Item-weight_per_unit-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:03.678327", + "default_value": null, + "doc_type": "Item", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "weight_uom", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:01.432164", + "modified_by": "Administrator", + "module": null, + "name": "Item-weight_uom-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/item_barcode.json b/bandhu_app/bandhu_app/custom/item_barcode.json new file mode 100644 index 0000000..ec7e467 --- /dev/null +++ b/bandhu_app/bandhu_app/custom/item_barcode.json @@ -0,0 +1,32 @@ +{ + "custom_fields": [], + "custom_perms": [], + "doctype": "Item Barcode", + "links": [], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:23:02.750586", + "default_value": null, + "doc_type": "Item Barcode", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "barcode", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:04.208923", + "modified_by": "Administrator", + "module": null, + "name": "Item Barcode-barcode-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "0" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/patient.json b/bandhu_app/bandhu_app/custom/patient.json new file mode 100644 index 0000000..154ea54 --- /dev/null +++ b/bandhu_app/bandhu_app/custom/patient.json @@ -0,0 +1,1752 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:43:07.724365", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_abha_id", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 22, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 1, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_section_break_ic6cs", + "is_system_generated": 0, + "is_virtual": 0, + "label": "ABHA ID", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:43:07.724365", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_abha_id", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-05-03 14:54:22.944116", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_bandhu_id", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 8, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "age_html", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu ID", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-05-03 14:54:22.944116", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_bandhu_id", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 1, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:43:08.295116", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_column_break_w6rrw", + "fieldtype": "Column Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 26, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_weight_cm", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:43:08.295116", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_column_break_w6rrw", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:43:08.440229", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_district", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 27, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_column_break_w6rrw", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Native District", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:43:08.440229", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_district", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:43:08.012693", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_height_cm", + "fieldtype": "Float", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 24, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_qr_code", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Height (cm)", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:43:08.012693", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_height_cm", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:44:19.910853", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_native_country", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 29, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_state", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Native Country", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:44:19.910853", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_native_country", + "no_copy": 0, + "non_negative": 0, + "options": "", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-05-03 19:20:47.088163", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_qr_code", + "fieldtype": "Attach Image", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 23, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_abha_id", + "is_system_generated": 0, + "is_virtual": 0, + "label": "QR Code", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-05-03 19:20:47.088163", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_qr_code", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:43:07.203332", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_section_break_ic6cs", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 21, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "user_id", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Details", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:43:07.203332", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_section_break_ic6cs", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:43:08.576048", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_state", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 28, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_district", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Native State", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:43:08.576048", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_state", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-10 20:43:08.159567", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_weight_cm", + "fieldtype": "Float", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 25, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_height_cm", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Weight (kg)", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-10 20:43:08.159567", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_weight_cm", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Patient", + "links": [ + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Appointments and Encounters", + "hidden": 0, + "idx": 2, + "is_child_table": 0, + "link_doctype": "Vital Signs", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bs1i2i71k", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Billing and Payments", + "hidden": 0, + "idx": 20, + "is_child_table": 0, + "link_doctype": "Payment Entry", + "link_fieldname": "party", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bs20l083b", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Rehab and Physiotherapy", + "hidden": 0, + "idx": 9, + "is_child_table": 0, + "link_doctype": "Patient Assessment", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bs2tq8jep", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Rehab and Physiotherapy", + "hidden": 0, + "idx": 8, + "is_child_table": 0, + "link_doctype": "Therapy Plan", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bs3j3tsou", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Appointments and Encounters", + "hidden": 0, + "idx": 3, + "is_child_table": 0, + "link_doctype": "Patient Encounter", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bs43fehss", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Diagnostics", + "hidden": 0, + "idx": 6, + "is_child_table": 0, + "link_doctype": "Lab Test", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bs7ngj18b", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Admissions", + "hidden": 0, + "idx": 16, + "is_child_table": 0, + "link_doctype": "Discharge Summary", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bs9mo07nb", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Surgery and Nursing", + "hidden": 0, + "idx": 13, + "is_child_table": 0, + "link_doctype": "Nursing Task", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsbi46699", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Billing and Payments", + "hidden": 0, + "idx": 19, + "is_child_table": 0, + "link_doctype": "Sales Invoice", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsc4nmd6r", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Rehab and Physiotherapy", + "hidden": 0, + "idx": 7, + "is_child_table": 0, + "link_doctype": "Therapy Session", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsfv3vir9", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Admissions", + "hidden": 0, + "idx": 15, + "is_child_table": 0, + "link_doctype": "Inpatient Record", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsk8a217g", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Admissions", + "hidden": 0, + "idx": 18, + "is_child_table": 0, + "link_doctype": "Inpatient Medication Entry", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsm3jigva", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Insurance", + "hidden": 0, + "idx": 21, + "is_child_table": 0, + "link_doctype": "Patient Insurance Policy", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsn48aka5", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Surgery and Nursing", + "hidden": 0, + "idx": 12, + "is_child_table": 0, + "link_doctype": "Clinical Procedure", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsnjqi9n4", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Insurance", + "hidden": 0, + "idx": 22, + "is_child_table": 0, + "link_doctype": "Patient Insurance Coverage", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bso1kcan8", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Surgery and Nursing", + "hidden": 0, + "idx": 14, + "is_child_table": 0, + "link_doctype": "Clinical Note", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsomd5a4m", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Appointments and Encounters", + "hidden": 0, + "idx": 1, + "is_child_table": 0, + "link_doctype": "Patient Appointment", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsp3pdvl6", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Diagnostics", + "hidden": 0, + "idx": 5, + "is_child_table": 0, + "link_doctype": "Sample Collection", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsqa8i27d", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Others", + "hidden": 0, + "idx": 23, + "is_child_table": 0, + "link_doctype": "Fee Validity", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsr801en3", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Admissions", + "hidden": 0, + "idx": 17, + "is_child_table": 0, + "link_doctype": "Inpatient Medication Order", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bssc8ahkr", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Diagnostics", + "hidden": 0, + "idx": 4, + "is_child_table": 0, + "link_doctype": "Observation", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsskbocu1", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Orders", + "hidden": 0, + "idx": 11, + "is_child_table": 0, + "link_doctype": "Service Request", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsu7toh72", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2017-01-23 14:03:49.084370", + "custom": 0, + "docstatus": 0, + "group": "Orders", + "hidden": 0, + "idx": 10, + "is_child_table": 0, + "link_doctype": "Medication Request", + "link_fieldname": "patient", + "modified": "2026-05-03 15:22:50.834719", + "modified_by": "Administrator", + "name": "3bsvjhp0h9", + "owner": "Administrator", + "parent": "Patient", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + } + ], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:55:22.066533", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "address_contacts", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.454032", + "modified_by": "Administrator", + "module": null, + "name": "Patient-address_contacts-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-23 21:04:45.188519", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "address_html", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.473458", + "modified_by": "Administrator", + "module": null, + "name": "Patient-address_html-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:27:03.361086", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "allergy_medical_and_surgical_history", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.493355", + "modified_by": "Administrator", + "module": null, + "name": "Patient-allergy_medical_and_surgical_history-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:45:06.719345", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "basic_info", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.516834", + "modified_by": "Administrator", + "module": null, + "name": "Patient-basic_info-label", + "owner": "Administrator", + "property": "label", + "property_type": "Data", + "row_name": null, + "value": "Patient Details" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-23 21:04:45.317582", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "contact_html", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.550169", + "modified_by": "Administrator", + "module": null, + "name": "Patient-contact_html-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-20 11:35:57.439819", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "custom_abha_id", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 19:39:52.584383", + "modified_by": "Administrator", + "module": null, + "name": "Patient-custom_abha_id-in_list_view", + "owner": "Administrator", + "property": "in_list_view", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:40:20.306907", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "customer_details_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.606960", + "modified_by": "Administrator", + "module": null, + "name": "Patient-customer_details_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 08:20:06.614615", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "dashboard_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.628424", + "modified_by": "Administrator", + "module": null, + "name": "Patient-dashboard_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-20 11:35:57.434604", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "email", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 19:39:52.658453", + "modified_by": "Administrator", + "module": null, + "name": "Patient-email-in_list_view", + "owner": "Administrator", + "property": "in_list_view", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:42:14.982155", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "inpatient_record", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.682156", + "modified_by": "Administrator", + "module": null, + "name": "Patient-inpatient_record-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:42:15.071405", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "inpatient_status", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.707748", + "modified_by": "Administrator", + "module": null, + "name": "Patient-inpatient_status-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:42:15.241658", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "invite_user", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.727301", + "modified_by": "Administrator", + "module": null, + "name": "Patient-invite_user-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-02 11:46:44.988925", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.745549", + "modified_by": "Administrator", + "module": null, + "name": "Patient-main-autoname", + "owner": "Administrator", + "property": "autoname", + "property_type": "Data", + "row_name": null, + "value": "naming_series: " + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-03 19:20:47.259395", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.764191", + "modified_by": "Administrator", + "module": null, + "name": "Patient-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"basic_info\", \"naming_series\", \"first_name\", \"middle_name\", \"last_name\", \"patient_name\", \"age_html\", \"custom_bandhu_id\", \"column_break_14\", \"status\", \"uid\", \"inpatient_record\", \"inpatient_status\", \"report_preference\", \"sex\", \"dob\", \"mobile\", \"phone\", \"invite_user\", \"user_id\", \"custom_section_break_ic6cs\", \"custom_abha_id\", \"custom_qr_code\", \"custom_height_cm\", \"custom_weight_cm\", \"custom_column_break_w6rrw\", \"custom_district\", \"custom_state\", \"custom_native_country\", \"customer_details_section\", \"customer\", \"customer_group\", \"territory\", \"country\", \"column_break_24\", \"default_currency\", \"default_price_list\", \"language\", \"more_info\", \"patient_details\", \"dashboard_tab\", \"address_and_contact_tab\", \"address_contacts\", \"address_html\", \"column_break_22\", \"contact_html\", \"sb_relation\", \"patient_relation\", \"medical_history_tab\", \"personal_and_social_history\", \"image\", \"email\", \"occupation\", \"column_break_25\", \"blood_group\", \"marital_status\", \"allergy_medical_and_surgical_history\", \"allergies\", \"medication\", \"column_break_20\", \"medical_history\", \"surgical_history\", \"risk_factors\", \"tobacco_past_use\", \"tobacco_current_use\", \"alcohol_past_use\", \"alcohol_current_use\", \"column_break_32\", \"surrounding_factors\", \"other_risk_factors\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-23 21:05:31.258495", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.782296", + "modified_by": "Administrator", + "module": null, + "name": "Patient-main-quick_entry", + "owner": "Administrator", + "property": "quick_entry", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-02 12:03:27.621040", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.800352", + "modified_by": "Administrator", + "module": null, + "name": "Patient-main-title_field", + "owner": "Administrator", + "property": "title_field", + "property_type": "Data", + "row_name": null, + "value": "patient_name" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-20 11:35:57.436484", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "mobile", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 19:39:52.818347", + "modified_by": "Administrator", + "module": null, + "name": "Patient-mobile-in_list_view", + "owner": "Administrator", + "property": "in_list_view", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-02 11:56:11.772270", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "naming_series", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.837994", + "modified_by": "Administrator", + "module": null, + "name": "Patient-naming_series-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-17 13:40:27.922581", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "naming_series", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 19:39:52.856278", + "modified_by": "Administrator", + "module": null, + "name": "Patient-naming_series-options", + "owner": "Administrator", + "property": "options", + "property_type": "Text", + "row_name": null, + "value": "HLC-PAT-.YYYY.-" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-20 11:35:57.421014", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "patient_name", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 19:39:52.875027", + "modified_by": "Administrator", + "module": null, + "name": "Patient-patient_name-in_list_view", + "owner": "Administrator", + "property": "in_list_view", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:42:15.156192", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "report_preference", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.899868", + "modified_by": "Administrator", + "module": null, + "name": "Patient-report_preference-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:25:27.873268", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "risk_factors", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.922435", + "modified_by": "Administrator", + "module": null, + "name": "Patient-risk_factors-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:55:22.190501", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_relation", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.941514", + "modified_by": "Administrator", + "module": null, + "name": "Patient-sb_relation-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:49:07.336818", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "status", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:52.960533", + "modified_by": "Administrator", + "module": null, + "name": "Patient-status-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-20 11:35:57.438192", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "status", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 19:39:52.982192", + "modified_by": "Administrator", + "module": null, + "name": "Patient-status-in_list_view", + "owner": "Administrator", + "property": "in_list_view", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-03 14:51:20.334530", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "uid", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:53.000669", + "modified_by": "Administrator", + "module": null, + "name": "Patient-uid-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-11 07:42:15.323935", + "default_value": null, + "doc_type": "Patient", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "user_id", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:39:53.019159", + "modified_by": "Administrator", + "module": null, + "name": "Patient-user_id-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/patient_encounter.json b/bandhu_app/bandhu_app/custom/patient_encounter.json new file mode 100644 index 0000000..6e864fa --- /dev/null +++ b/bandhu_app/bandhu_app/custom/patient_encounter.json @@ -0,0 +1,3243 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.283956", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_bandhu_clinical_notes", + "fieldtype": "Long Text", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 43, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_has_referral", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Clinical Notes", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:45:47.768229", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_bandhu_clinical_notes", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.456022", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_bandhu_diagnosis", + "fieldtype": "Table", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 46, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_complaints", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Diagnosis", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:13:37.844158", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_bandhu_diagnosis", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Diagnosis", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.515220", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_bandhu_prescription", + "fieldtype": "Table", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 47, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_bandhu_diagnosis", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Prescription", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:31:04.117966", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_bandhu_prescription", + "no_copy": 0, + "non_negative": 0, + "options": "Prescription", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.575216", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_bandhu_services_provided", + "fieldtype": "Table", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 48, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_bandhu_prescription", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Services Provided", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:33:53.894137", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_bandhu_services_provided", + "no_copy": 0, + "non_negative": 0, + "options": "Services Provided", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.451043", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_clinic_session.assigned_driver", + "fetch_if_empty": 0, + "fieldname": "custom_clinic_assistant_cum_driver", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 30, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_nurse", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Clinic Assistant cum Driver", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:09:39.845364", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_clinic_assistant_cum_driver", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:21.861836", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_clinic_session", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 1, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "company", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Clinic Session", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-18 08:02:46.204974", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_clinic_session", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Clinic Session", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.042586", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_column_break_erhpn", + "fieldtype": "Column Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 39, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_section_break_kg1j5", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:39:49.989080", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_column_break_erhpn", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.324273", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_column_break_xgetq", + "fieldtype": "Column Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 28, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_doctor", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:09:39.666488", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_column_break_xgetq", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.804472", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_column_break_zr5ca", + "fieldtype": "Column Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 35, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_lsg", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:39:49.883581", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_column_break_zr5ca", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.395548", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_complaints", + "fieldtype": "Table", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 45, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_test_instructions", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Complaints", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:07:40.486936", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_complaints", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Complaints", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.860245", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_location.district", + "fetch_if_empty": 0, + "fieldname": "custom_district", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 36, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_column_break_zr5ca", + "is_system_generated": 0, + "is_virtual": 0, + "label": "District", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 12:33:14.660893", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_district", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Location", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:31.045507", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_clinic_session.assigned_doctor", + "fetch_if_empty": 0, + "fieldname": "custom_doctor", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 27, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_unit_name", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Doctor", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:09:39.578673", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_doctor", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.073270", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_encounter_status", + "fieldtype": "Select", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 24, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "submit_orders_on_save", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Clinic Visit Status", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 12:10:46.399223", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_encounter_status", + "no_copy": 0, + "non_negative": 0, + "options": "Draft\nIn Consultation\nCompleted\nReferred", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.158663", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_has_prescription", + "fieldtype": "Check", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 41, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_has_tests", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Has Prescription", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:38:13.332570", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_has_prescription", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.222753", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_has_referral", + "fieldtype": "Check", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 42, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_has_prescription", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Has Referral", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:38:13.412122", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_has_referral", + "no_copy": 0, + "non_negative": 0, + "options": "", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.102023", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_has_tests", + "fieldtype": "Check", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 40, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_column_break_erhpn", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Has Tests", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:38:13.233302", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_has_tests", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.688373", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "", + "fetch_if_empty": 0, + "fieldname": "custom_location", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 33, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_site", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Location", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 12:02:51.344959", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_location", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Location", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.748634", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_location.lsg", + "fetch_if_empty": 0, + "fieldname": "custom_lsg", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 34, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_location", + "is_system_generated": 0, + "is_virtual": 0, + "label": "LSG", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 12:02:51.504127", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_lsg", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Location", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.383806", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_clinic_session.assigned_nurse", + "fetch_if_empty": 0, + "fieldname": "custom_nurse", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 29, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_column_break_xgetq", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Nurse", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:09:39.754593", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_nurse", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:22.505800", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_clinic_session.project", + "fetch_if_empty": 0, + "fieldname": "custom_project", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 14, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "company", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Project", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-18 08:01:02.288351", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_project", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Projects", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.982654", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_section_break_kg1j5", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 38, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_state", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Clinical Details", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:04:28.164717", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_section_break_kg1j5", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.627020", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_clinic_session.site", + "fetch_if_empty": 0, + "fieldname": "custom_site", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 32, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_site_details", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Site", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 12:02:51.693920", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_site", + "no_copy": 0, + "non_negative": 0, + "options": "Site", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.558123", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_site_details", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 31, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_clinic_assistant_cum_driver", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Site Details", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:39:49.751737", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_site_details", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.921921", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_location.lsg", + "fetch_if_empty": 0, + "fieldname": "custom_state", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 37, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_district", + "is_system_generated": 0, + "is_virtual": 0, + "label": "State", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 12:33:28.574260", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_state", + "no_copy": 0, + "non_negative": 0, + "options": "Patient", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:23.326242", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_team_details_", + "fieldtype": "Section Break", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 25, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_encounter_status", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Team Details ", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:09:39.332135", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_team_details_", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:24.337701", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_test_instructions", + "fieldtype": "Table", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 44, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_bandhu_clinical_notes", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bandhu Test Instructions", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-11 11:04:28.343941", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_test_instructions", + "no_copy": 0, + "non_negative": 0, + "options": "Test Instructions", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:12:30.900499", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Patient Encounter", + "fetch_from": "custom_clinic_session.custom_unit_name", + "fetch_if_empty": 0, + "fieldname": "custom_unit_name", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 26, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_team_details_", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Unit Name", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-20 13:09:39.461052", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-custom_unit_name", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Patient Encounter", + "links": [ + { + "creation": "2026-04-22 14:38:18.859176", + "custom": 1, + "docstatus": 0, + "group": "Medical Officer", + "hidden": 0, + "idx": 2, + "is_child_table": 0, + "link_doctype": "Referral", + "link_fieldname": "patient", + "modified": "2026-05-03 19:59:41.220624", + "modified_by": "Administrator", + "name": "80skhqep99", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "Customize Form", + "table_fieldname": null + }, + { + "creation": "2026-04-22 14:40:34.389095", + "custom": 1, + "docstatus": 0, + "group": "Nurse Tasks", + "hidden": 0, + "idx": 3, + "is_child_table": 0, + "link_doctype": "Bandhu Medication Dispense", + "link_fieldname": "patient", + "modified": "2026-05-03 19:59:41.223080", + "modified_by": "Administrator", + "name": "9b7gd7bb9m", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "Customize Form", + "table_fieldname": null + }, + { + "creation": "2026-04-22 14:41:03.005681", + "custom": 1, + "docstatus": 0, + "group": "Medical Officer", + "hidden": 0, + "idx": 4, + "is_child_table": 0, + "link_doctype": "Test Result", + "link_fieldname": "patient", + "modified": "2026-05-03 19:59:41.225286", + "modified_by": "Administrator", + "name": "9k6vamr6ca", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "Customize Form", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Orders", + "hidden": 0, + "idx": 8, + "is_child_table": 0, + "link_doctype": "Service Request", + "link_fieldname": "order_group", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asv0v305kq", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Inpatient", + "hidden": 0, + "idx": 6, + "is_child_table": 0, + "link_doctype": "Inpatient Record", + "link_fieldname": "admission_encounter", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asv49prlhi", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Medical Records", + "hidden": 0, + "idx": 9, + "is_child_table": 0, + "link_doctype": "Patient Medical Record", + "link_fieldname": "reference_name", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asvejufmru", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Notes, Tasks & Vitals", + "hidden": 0, + "idx": 4, + "is_child_table": 0, + "link_doctype": "Nursing Task", + "link_fieldname": "reference_name", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asvmq222g0", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Notes, Tasks & Vitals", + "hidden": 0, + "idx": 5, + "is_child_table": 0, + "link_doctype": "Vital Signs", + "link_fieldname": "encounter", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asvo9dtnns", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Inpatient", + "hidden": 0, + "idx": 2, + "is_child_table": 0, + "link_doctype": "Treatment Counselling", + "link_fieldname": "admission_encounter", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asvpauk0lg", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Inpatient", + "hidden": 0, + "idx": 7, + "is_child_table": 0, + "link_doctype": "Inpatient Medication Order", + "link_fieldname": "patient_encounter", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asvs09te5j", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Orders", + "hidden": 0, + "idx": 1, + "is_child_table": 0, + "link_doctype": "Medication Request", + "link_fieldname": "order_group", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asvsc9uu8n", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2016-04-21 10:53:44.637684", + "custom": 0, + "docstatus": 0, + "group": "Notes, Tasks & Vitals", + "hidden": 0, + "idx": 3, + "is_child_table": 0, + "link_doctype": "Clinical Note", + "link_fieldname": "reference_name", + "modified": "2026-04-27 16:41:24.720202", + "modified_by": "Administrator", + "name": "asvtjo80hm", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "DocType", + "table_fieldname": null + }, + { + "creation": "2026-04-22 14:46:23.053019", + "custom": 1, + "docstatus": 0, + "group": "Nurse Tasks", + "hidden": 0, + "idx": 5, + "is_child_table": 0, + "link_doctype": "Bandhu Clinic Session", + "link_fieldname": "clinic", + "modified": "2026-05-03 19:59:41.227755", + "modified_by": "Administrator", + "name": "co65orf790", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "Customize Form", + "table_fieldname": null + }, + { + "creation": "2026-04-22 14:17:33.433283", + "custom": 1, + "docstatus": 0, + "group": "Nurse Tasks", + "hidden": 0, + "idx": 0, + "is_child_table": 0, + "link_doctype": "Vital Signs", + "link_fieldname": "patient", + "modified": "2026-05-03 19:59:41.171388", + "modified_by": "Administrator", + "name": "rrm2dtteu7", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "Customize Form", + "table_fieldname": null + }, + { + "creation": "2026-04-22 14:19:01.649348", + "custom": 1, + "docstatus": 0, + "group": "Nurse Tasks", + "hidden": 0, + "idx": 1, + "is_child_table": 0, + "link_doctype": "Patient", + "link_fieldname": "patient", + "modified": "2026-05-03 19:59:41.217178", + "modified_by": "Administrator", + "name": "sn8tba9dag", + "owner": "Administrator", + "parent": "Patient Encounter", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "Customize Form", + "table_fieldname": null + } + ], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.090793", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "amended_from", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:14.892666", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-amended_from-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.903878", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "appointment_type", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:14.912183", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-appointment_type-default", + "owner": "Administrator", + "property": "default", + "property_type": "Text", + "row_name": null, + "value": "Walk-In" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.912027", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "appointment", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:14.930486", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-appointment-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.871046", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "clinical_notes", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:14.948734", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-clinical_notes-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.035258", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "codification_table", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:14.969747", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-codification_table-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.802770", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "codification", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:14.988177", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-codification-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.995661", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "column_break_27", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.007493", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-column_break_27-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.749308", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "company", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.025368", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-company-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.028043", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "coverage_status", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.042530", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-coverage_status-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.971128", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "diagnosis_in_print", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.058900", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-diagnosis_in_print-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.962309", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "diagnosis", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.078798", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-diagnosis-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.813378", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "drug_prescription", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.097651", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-drug_prescription-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.074562", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "encounter_comment", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.115423", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-encounter_comment-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.522804", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "encounter_date", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.133383", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-encounter_date-label", + "owner": "Administrator", + "property": "label", + "property_type": "Data", + "row_name": null, + "value": "Clinic Visit Date" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.942916", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "encounter_details_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.150694", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-encounter_details_tab-label", + "owner": "Administrator", + "property": "label", + "property_type": "Data", + "row_name": null, + "value": "Clinic Visit Details" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.863925", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "encounter_details", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.169990", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-encounter_details-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.530356", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "encounter_time", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.188074", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-encounter_time-label", + "owner": "Administrator", + "property": "label", + "property_type": "Data", + "row_name": null, + "value": "Clinic Visit Time" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.954476", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "get_applicable_treatment_plans", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.205750", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-get_applicable_treatment_plans-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.758899", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "google_meet_link", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.223792", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-google_meet_link-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.918939", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "inpatient_record", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.241672", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-inpatient_record-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.929243", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "inpatient_status", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.258349", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-inpatient_status-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.012456", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "insurance_coverage", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.277889", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-insurance_coverage-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.020527", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "insurance_payor", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.296004", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-insurance_payor-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.003392", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "insurance_policy", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.313807", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-insurance_policy-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.792272", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "insurance_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.331444", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-insurance_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.768364", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "invoiced", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.348900", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-invoiced-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.823792", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "lab_test_prescription", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.368756", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-lab_test_prescription-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.882857", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.385660", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"custom_clinic_session\", \"naming_series\", \"title\", \"appointment\", \"appointment_type\", \"patient\", \"patient_name\", \"patient_sex\", \"inpatient_record\", \"inpatient_status\", \"patient_age\", \"column_break_6\", \"company\", \"custom_project\", \"status\", \"encounter_date\", \"encounter_time\", \"practitioner\", \"practitioner_name\", \"medical_department\", \"google_meet_link\", \"invoiced\", \"submit_orders_on_save\", \"custom_encounter_status\", \"custom_team_details_\", \"custom_unit_name\", \"custom_doctor\", \"custom_column_break_xgetq\", \"custom_nurse\", \"custom_clinic_assistant_cum_driver\", \"custom_site_details\", \"custom_site\", \"custom_location\", \"custom_lsg\", \"custom_column_break_zr5ca\", \"custom_district\", \"custom_state\", \"custom_section_break_kg1j5\", \"custom_column_break_erhpn\", \"custom_has_tests\", \"custom_has_prescription\", \"custom_has_referral\", \"custom_bandhu_clinical_notes\", \"custom_test_instructions\", \"custom_complaints\", \"custom_bandhu_diagnosis\", \"custom_bandhu_prescription\", \"custom_bandhu_services_provided\", \"sb_symptoms\", \"symptoms\", \"symptoms_in_print\", \"get_applicable_treatment_plans\", \"physical_examination\", \"diagnosis\", \"diagnosis_in_print\", \"sb_source\", \"source\", \"column_break_27\", \"referring_practitioner\", \"insurance_section\", \"insurance_policy\", \"insurance_coverage\", \"column_break_35\", \"insurance_payor\", \"coverage_status\", \"codification\", \"codification_table\", \"sb_drug_prescription\", \"drug_prescription\", \"sb_test_prescription\", \"lab_test_prescription\", \"sb_procedures\", \"procedure_prescription\", \"rehabilitation_section\", \"therapies\", \"section_break_33\", \"encounter_comment\", \"sb_refs\", \"amended_from\", \"encounter_details_tab\", \"order_history_html\", \"encounter_details\", \"notes_tab\", \"clinical_notes\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-03 19:59:41.308534", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:41.308534", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-main-links_order", + "owner": "Administrator", + "property": "links_order", + "property_type": "Small Text", + "row_name": null, + "value": "[\"rrm2dtteu7\", \"sn8tba9dag\", \"80skhqep99\", \"9b7gd7bb9m\", \"9k6vamr6ca\", \"co65orf790\", \"asvsc9uu8n\", \"asvpauk0lg\", \"asvtjo80hm\", \"asvmq222g0\", \"asvo9dtnns\", \"asv49prlhi\", \"asvs09te5j\", \"asv0v305kq\", \"asvejufmru\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.899079", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.422370", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-main-show_title_field_in_link", + "owner": "Administrator", + "property": "show_title_field_in_link", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.896248", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "naming_series", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.440202", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-naming_series-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:27.016407", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "naming_series", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 19:59:15.458764", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-naming_series-options", + "owner": "Administrator", + "property": "options", + "property_type": "Text", + "row_name": null, + "value": "HLC-ENC-.YYYY.-" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.855325", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "order_history_html", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.477706", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-order_history_html-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.890564", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "practitioner", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.495676", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-practitioner-fetch_from", + "owner": "Administrator", + "property": "fetch_from", + "property_type": "Small Text", + "row_name": null, + "value": "custom_clinic_session.assigned_doctor" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.286413", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "practitioner", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.513608", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-practitioner-link_filters", + "owner": "Administrator", + "property": "link_filters", + "property_type": "JSON", + "row_name": null, + "value": "[[\"Healthcare Practitioner\",\"custom_role\",\"=\",\"Doctor\"]]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.832123", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "procedure_prescription", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.532205", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-procedure_prescription-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.067434", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "rehabilitation_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.555810", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-rehabilitation_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.042267", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_drug_prescription", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.576549", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-sb_drug_prescription-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.059544", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_procedures", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.595081", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-sb_procedures-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.083221", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_refs", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.612681", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-sb_refs-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.979059", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_source", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.630499", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-sb_source-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.878746", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_symptoms", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.649578", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-sb_symptoms-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:26.051823", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb_test_prescription", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.670156", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-sb_test_prescription-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.847135", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "section_break_33", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.688708", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-section_break_33-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.987901", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "source", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.709016", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-source-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.885845", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "status", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.739890", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-status-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.779621", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "submit_orders_on_save", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.764643", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-submit_orders_on_save-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.946856", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "symptoms_in_print", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.785131", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-symptoms_in_print-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.938977", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "symptoms", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.806311", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-symptoms-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:12:25.839578", + "default_value": null, + "doc_type": "Patient Encounter", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "therapies", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 19:59:15.829849", + "modified_by": "Administrator", + "module": null, + "name": "Patient Encounter-therapies-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/stock_entry.json b/bandhu_app/bandhu_app/custom/stock_entry.json new file mode 100644 index 0000000..f3c805f --- /dev/null +++ b/bandhu_app/bandhu_app/custom/stock_entry.json @@ -0,0 +1,464 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:24:57.158878", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Stock Entry", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_source_project", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 10, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "posting_time", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Source Project", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-18 15:14:31.130602", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-custom_source_project", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Projects", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:24:56.440668", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Stock Entry", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "inpatient_medication_entry", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 83, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "credit_note", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Inpatient Medication Entry", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-09 15:52:42.090948", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-inpatient_medication_entry", + "no_copy": 0, + "non_negative": 0, + "options": "Inpatient Medication Entry", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Stock Entry", + "links": [], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.775681", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "additional_costs_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.452188", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-additional_costs_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.805249", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "bom_info_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.475271", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-bom_info_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:02.025048", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.500303", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"stock_entry_details_tab\", \"company\", \"naming_series\", \"stock_entry_type\", \"purpose\", \"col2\", \"set_posting_time\", \"posting_date\", \"posting_time\", \"custom_source_project\", \"reference_section\", \"add_to_transit\", \"apply_putaway_rule\", \"inspection_required\", \"column_break_jabv\", \"work_order\", \"subcontracting_order\", \"outgoing_stock_entry\", \"bom_info_section\", \"from_bom\", \"use_multi_level_bom\", \"bom_no\", \"cb1\", \"fg_completed_qty\", \"get_items\", \"section_break_7qsm\", \"process_loss_percentage\", \"column_break_e92r\", \"process_loss_qty\", \"section_break_jwgn\", \"from_warehouse\", \"source_warehouse_address\", \"source_address_display\", \"cb0\", \"to_warehouse\", \"target_warehouse_address\", \"target_address_display\", \"sb0\", \"scan_barcode\", \"last_scanned_warehouse\", \"items_section\", \"items\", \"get_stock_and_rate\", \"section_break_19\", \"total_outgoing_value\", \"column_break_22\", \"total_incoming_value\", \"value_difference\", \"additional_costs_section\", \"additional_costs\", \"total_additional_costs\", \"supplier_info_tab\", \"contact_section\", \"supplier\", \"supplier_name\", \"supplier_address\", \"address_display\", \"accounting_dimensions_section\", \"project\", \"other_info_tab\", \"printing_settings\", \"select_print_heading\", \"print_settings_col_break\", \"letter_head\", \"reference_details_section\", \"delivery_note_no\", \"sales_invoice_no\", \"job_card\", \"pick_list\", \"column_break_qpvo\", \"asset_repair\", \"purchase_receipt_no\", \"purchase_order\", \"subcontracting_inward_order\", \"is_additional_transfer_entry\", \"more_info\", \"is_opening\", \"remarks\", \"col5\", \"per_transferred\", \"total_amount\", \"amended_from\", \"credit_note\", \"inpatient_medication_entry\", \"is_return\", \"tab_connections\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.797762", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "other_info_tab", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.520706", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-other_info_tab-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.790583", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "project", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.545415", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-project-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.838617", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "reference_section", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.572019", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-reference_section-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.826024", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "sb0", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.591887", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-sb0-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:00.976266", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "scan_barcode", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:00.612362", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-scan_barcode-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.814989", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "section_break_7qsm", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.632535", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-section_break_7qsm-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.860552", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "source_address_display", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.662147", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-source_address_display-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.849552", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "source_warehouse_address", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.685818", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-source_warehouse_address-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.783091", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "tab_connections", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.705345", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-tab_connections-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.879132", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "target_address_display", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.727721", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-target_address_display-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:01.870584", + "default_value": null, + "doc_type": "Stock Entry", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "target_warehouse_address", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:02:00.748396", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry-target_warehouse_address-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/stock_entry_detail.json b/bandhu_app/bandhu_app/custom/stock_entry_detail.json new file mode 100644 index 0000000..1e90486 --- /dev/null +++ b/bandhu_app/bandhu_app/custom/stock_entry_detail.json @@ -0,0 +1,165 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:24:56.531826", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Stock Entry Detail", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "inpatient_medication_entry_child", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 70, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "patient", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Inpatient Medication Entry Child", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-09 15:52:42.097079", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry Detail-inpatient_medication_entry_child", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:24:56.489712", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Stock Entry Detail", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "patient", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 69, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "po_detail", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Patient", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-09 15:52:42.093866", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry Detail-patient", + "no_copy": 0, + "non_negative": 0, + "options": "Patient", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Stock Entry Detail", + "links": [], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:25:00.832570", + "default_value": null, + "doc_type": "Stock Entry Detail", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "barcode", + "idx": 0, + "is_system_generated": 1, + "modified": "2026-05-03 20:02:03.108745", + "modified_by": "Administrator", + "module": null, + "name": "Stock Entry Detail-barcode-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "0" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/vehicle.json b/bandhu_app/bandhu_app/custom/vehicle.json new file mode 100644 index 0000000..c7921af --- /dev/null +++ b/bandhu_app/bandhu_app/custom/vehicle.json @@ -0,0 +1,619 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:26:56.027698", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Vehicle", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_project", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 7, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "company", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Project", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-17 14:45:53.223882", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-custom_project", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Projects", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:26:56.583855", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Vehicle", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_status", + "fieldtype": "Select", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 17, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "employee", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Status", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-17 14:37:41.447898", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-custom_status", + "no_copy": 0, + "non_negative": 0, + "options": "Active", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:26:55.955890", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Vehicle", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_vehicle_name__id", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 3, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "make", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Vehicle Name / ID", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-17 14:56:51.248619", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-custom_vehicle_name__id", + "no_copy": 0, + "non_negative": 0, + "options": null, + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:26:56.484044", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Vehicle", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_vehicle_type", + "fieldtype": "Select", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 15, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "vehicle_value", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Vehicle Type", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-17 14:34:16.265744", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-custom_vehicle_type", + "no_copy": 0, + "non_negative": 0, + "options": "Van\nBike", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Vehicle", + "links": [], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.640370", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "acquisition_date", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:06.957416", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-acquisition_date-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.718504", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "amended_from", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:06.980280", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-amended_from-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.688478", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "carbon_check_date", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:06.999624", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-carbon_check_date-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.662502", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "chassis_no", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.018269", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-chassis_no-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.696103", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "color", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.036905", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-color-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.654733", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "company", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.055381", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-company-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.711242", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "doors", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.075154", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-doors-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.672490", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "employee", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.094235", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-employee-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.632452", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "insurance_details", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.114344", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-insurance_details-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.680991", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "location", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.134359", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-location-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.725469", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.155294", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"license_plate\", \"make\", \"custom_vehicle_name__id\", \"column_break_3\", \"model\", \"company\", \"custom_project\", \"vehicle_details\", \"last_odometer\", \"acquisition_date\", \"location\", \"column_break_8\", \"chassis_no\", \"vehicle_value\", \"custom_vehicle_type\", \"employee\", \"custom_status\", \"insurance_details\", \"insurance_company\", \"policy_no\", \"column_break_15\", \"start_date\", \"end_date\", \"additional_details\", \"fuel_type\", \"carbon_check_date\", \"column_break_21\", \"uom\", \"color\", \"wheels\", \"doors\", \"amended_from\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.625198", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.173977", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-main-quick_entry", + "owner": "Administrator", + "property": "quick_entry", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.647555", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "vehicle_value", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.195043", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-vehicle_value-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-01 18:03:14.311689", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "vehicle_value", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.218203", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-vehicle_value-in_list_view", + "owner": "Administrator", + "property": "in_list_view", + "property_type": "Check", + "row_name": null, + "value": "0" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:27:00.703646", + "default_value": null, + "doc_type": "Vehicle", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "wheels", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:10:07.237653", + "modified_by": "Administrator", + "module": null, + "name": "Vehicle-wheels-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/custom/vital_signs.json b/bandhu_app/bandhu_app/custom/vital_signs.json new file mode 100644 index 0000000..a4fc24c --- /dev/null +++ b/bandhu_app/bandhu_app/custom/vital_signs.json @@ -0,0 +1,278 @@ +{ + "custom_fields": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-04-27 18:19:36.779404", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Vital Signs", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_clinic_session", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 2, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_clinic_visit", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Clinic Session", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-04-23 07:59:31.316760", + "modified_by": "Administrator", + "module": null, + "name": "Vital Signs-custom_clinic_session", + "no_copy": 0, + "non_negative": 0, + "options": "Bandhu Clinic Session", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "alignment": "", + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "button_color": "", + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2026-05-01 18:37:02.327262", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Vital Signs", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_clinic_visit", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 2, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "naming_series", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Clinic Visit", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2026-05-01 18:37:02.327262", + "modified_by": "Administrator", + "module": null, + "name": "Vital Signs-custom_clinic_visit", + "no_copy": 0, + "non_negative": 0, + "options": "Patient Encounter", + "owner": "Administrator", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + } + ], + "custom_perms": [], + "doctype": "Vital Signs", + "links": [ + { + "creation": "2026-05-01 18:44:37.765490", + "custom": 1, + "docstatus": 0, + "group": null, + "hidden": 0, + "idx": 0, + "is_child_table": 0, + "link_doctype": "Test Result", + "link_fieldname": "patient", + "modified": "2026-05-03 20:01:41.572638", + "modified_by": "Administrator", + "name": "239vetgof5", + "owner": "Administrator", + "parent": "Vital Signs", + "parent_doctype": null, + "parentfield": "links", + "parenttype": "Customize Form", + "table_fieldname": null + } + ], + "property_setters": [ + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:19:33.504987", + "default_value": null, + "doc_type": "Vital Signs", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "appointment", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:00:01.488194", + "modified_by": "Administrator", + "module": null, + "name": "Vital Signs-appointment-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:19:33.512364", + "default_value": null, + "doc_type": "Vital Signs", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "company", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:00:01.592469", + "modified_by": "Administrator", + "module": null, + "name": "Vital Signs-company-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-04-27 18:19:33.497714", + "default_value": null, + "doc_type": "Vital Signs", + "docstatus": 0, + "doctype_or_field": "DocField", + "field_name": "inpatient_record", + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:00:01.613290", + "modified_by": "Administrator", + "module": null, + "name": "Vital Signs-inpatient_record-hidden", + "owner": "Administrator", + "property": "hidden", + "property_type": "Check", + "row_name": null, + "value": "1" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-03 20:01:41.361753", + "default_value": null, + "doc_type": "Vital Signs", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:01:41.361753", + "modified_by": "Administrator", + "module": null, + "name": "Vital Signs-main-field_order", + "owner": "Administrator", + "property": "field_order", + "property_type": "Data", + "row_name": null, + "value": "[\"naming_series\", \"custom_clinic_visit\", \"custom_clinic_session\", \"title\", \"patient\", \"patient_name\", \"inpatient_record\", \"appointment\", \"encounter\", \"column_break_2\", \"company\", \"signs_date\", \"signs_time\", \"sb_vs\", \"temperature\", \"pulse\", \"respiratory_rate\", \"tongue\", \"abdomen\", \"column_break_8\", \"reflexes\", \"bp_systolic\", \"bp_diastolic\", \"bp\", \"vital_signs_note\", \"sb_nutrition_values\", \"height\", \"weight\", \"bmi\", \"column_break_14\", \"nutrition_note\", \"sb_references\", \"amended_from\"]" + }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "creation": "2026-05-03 20:01:41.591489", + "default_value": null, + "doc_type": "Vital Signs", + "docstatus": 0, + "doctype_or_field": "DocType", + "field_name": null, + "idx": 0, + "is_system_generated": 0, + "modified": "2026-05-03 20:01:41.591489", + "modified_by": "Administrator", + "module": null, + "name": "Vital Signs-main-links_order", + "owner": "Administrator", + "property": "links_order", + "property_type": "Small Text", + "row_name": null, + "value": "[\"239vetgof5\"]" + } + ], + "sync_on_migrate": 1 +} \ No newline at end of file diff --git a/bandhu_app/bandhu_app/doctype/bandhu_clinic_session/test_bandhu_clinic_session.py b/bandhu_app/bandhu_app/doctype/bandhu_clinic_session/test_bandhu_clinic_session.py index 7fd9f71..440f6b2 100644 --- a/bandhu_app/bandhu_app/doctype/bandhu_clinic_session/test_bandhu_clinic_session.py +++ b/bandhu_app/bandhu_app/doctype/bandhu_clinic_session/test_bandhu_clinic_session.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestBandhuClinicSession(IntegrationTestCase): - """ - Integration tests for BandhuClinicSession. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestBandhuClinicSession(IntegrationTestCase): + """ + Integration tests for BandhuClinicSession. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/bandhu_location/test_bandhu_location.py b/bandhu_app/bandhu_app/doctype/bandhu_location/test_bandhu_location.py index 711a939..784fa4c 100644 --- a/bandhu_app/bandhu_app/doctype/bandhu_location/test_bandhu_location.py +++ b/bandhu_app/bandhu_app/doctype/bandhu_location/test_bandhu_location.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestBandhuLocation(IntegrationTestCase): - """ - Integration tests for BandhuLocation. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestBandhuLocation(IntegrationTestCase): + """ + Integration tests for BandhuLocation. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.json b/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.json index 8d12d90..04fa29f 100644 --- a/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.json +++ b/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.json @@ -1,150 +1,164 @@ -{ - "actions": [], - "allow_rename": 1, - "creation": "2026-04-13 08:03:40.914449", - "doctype": "DocType", - "engine": "InnoDB", - "field_order": [ - "patient", - "prescription_ref", - "project", - "clinic_session", - "column_break_awfc", - "encounter", - "instructions", - "section_break_fngu", - "table_pbtr", - "section_break_oivd", - "medicine", - "source", - "column_break_jtih", - "quantity", - "dispensed_by", - "section_break_iork", - "status" - ], - "fields": [ - { - "fieldname": "patient", - "fieldtype": "Link", - "label": "Patient", - "options": "Patient" - }, - { - "fieldname": "prescription_ref", - "fieldtype": "Link", - "hidden": 1, - "label": "Bandhu Prescription", - "options": "Prescription" - }, - { - "fieldname": "column_break_awfc", - "fieldtype": "Column Break" - }, - { - "fieldname": "encounter", - "fieldtype": "Link", - "label": "Clinic Visit", - "options": "Patient Encounter" - }, - { - "fieldname": "section_break_oivd", - "fieldtype": "Section Break" - }, - { - "fieldname": "medicine", - "fieldtype": "Link", - "label": "Medicine", - "options": "Item" - }, - { - "fieldname": "column_break_jtih", - "fieldtype": "Column Break" - }, - { - "fieldname": "quantity", - "fieldtype": "Float", - "label": "Quantity" - }, - { - "fieldname": "source", - "fieldtype": "Select", - "label": "Source", - "options": "In-house\nExternal" - }, - { - "fieldname": "section_break_iork", - "fieldtype": "Section Break" - }, - { - "fieldname": "status", - "fieldtype": "Select", - "label": "Status", - "options": "Pending\nDispensed" - }, - { - "fieldname": "dispensed_by", - "fieldtype": "Link", - "label": "Dispensed By", - "link_filters": "[[\"Healthcare Practitioner\",\"custom_role\",\"=\",\"Nurse\"]]", - "options": "Healthcare Practitioner" - }, - { - "fieldname": "instructions", - "fieldtype": "Small Text", - "label": "Instructions" - }, - { - "fetch_from": "encounter.custom_project", - "fieldname": "project", - "fieldtype": "Link", - "label": "Project", - "options": "Bandhu Projects" - }, - { - "fieldname": "clinic_session", - "fieldtype": "Link", - "label": "Clinic Session", - "options": "Bandhu Clinic Session" - }, - { - "fieldname": "section_break_fngu", - "fieldtype": "Section Break" - }, - { - "fieldname": "table_pbtr", - "fieldtype": "Table", - "label": "Medication", - "options": "Prescription" - } - ], - "grid_page_length": 50, - "index_web_pages_for_search": 1, - "links": [], - "modified": "2026-04-22 15:12:36.443236", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Bandhu Medication Dispense", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "row_format": "Dynamic", - "rows_threshold_for_grid_search": 20, - "show_title_field_in_link": 1, - "sort_field": "creation", - "sort_order": "DESC", - "states": [], - "title_field": "patient" -} +{ + "actions": [], + "allow_rename": 1, + "creation": "2026-04-13 08:03:40.914449", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "encounter", + "project", + "instructions", + "column_break_awfc", + "patient", + "prescription_ref", + "clinic_session", + "section_break_fngu", + "table_pbtr", + "section_break_oivd", + "medicine", + "source", + "column_break_jtih", + "quantity", + "dispensed_by", + "column_break_bdcj", + "nurse_name", + "section_break_iork", + "status" + ], + "fields": [ + { + "fetch_from": "encounter.patient", + "fieldname": "patient", + "fieldtype": "Data", + "label": "Patient" + }, + { + "fieldname": "prescription_ref", + "fieldtype": "Link", + "hidden": 1, + "label": "Bandhu Prescription", + "options": "Prescription" + }, + { + "fieldname": "column_break_awfc", + "fieldtype": "Column Break" + }, + { + "fieldname": "encounter", + "fieldtype": "Link", + "label": "Clinic Visit", + "options": "Patient Encounter" + }, + { + "fieldname": "section_break_oivd", + "fieldtype": "Section Break" + }, + { + "fieldname": "medicine", + "fieldtype": "Link", + "label": "Medicine", + "options": "Item" + }, + { + "fieldname": "column_break_jtih", + "fieldtype": "Column Break" + }, + { + "fieldname": "quantity", + "fieldtype": "Float", + "label": "Quantity" + }, + { + "fieldname": "source", + "fieldtype": "Select", + "label": "Source", + "options": "In-house\nExternal" + }, + { + "fieldname": "section_break_iork", + "fieldtype": "Section Break" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "Pending\nDispensed" + }, + { + "fieldname": "dispensed_by", + "fieldtype": "Link", + "label": "Dispensed By", + "link_filters": "[[\"Healthcare Practitioner\",\"custom_role\",\"=\",\"Nurse\"]]", + "options": "Healthcare Practitioner" + }, + { + "fieldname": "instructions", + "fieldtype": "Small Text", + "label": "Instructions" + }, + { + "fetch_from": "encounter.custom_project", + "fieldname": "project", + "fieldtype": "Link", + "label": "Project", + "options": "Bandhu Projects" + }, + { + "fetch_from": "encounter.custom_clinic_session", + "fieldname": "clinic_session", + "fieldtype": "Link", + "label": "Clinic Session", + "options": "Bandhu Clinic Session" + }, + { + "fieldname": "section_break_fngu", + "fieldtype": "Section Break" + }, + { + "fieldname": "table_pbtr", + "fieldtype": "Table", + "label": "Medication", + "options": "Prescription" + }, + { + "fetch_from": "dispensed_by.practitioner_name", + "fieldname": "nurse_name", + "fieldtype": "Data", + "label": "Nurse Name", + "read_only": 1 + }, + { + "fieldname": "column_break_bdcj", + "fieldtype": "Column Break" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "links": [], + "modified": "2026-05-01 18:26:15.369384", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Bandhu Medication Dispense", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "row_format": "Dynamic", + "rows_threshold_for_grid_search": 20, + "show_title_field_in_link": 1, + "sort_field": "creation", + "sort_order": "DESC", + "states": [], + "title_field": "patient" +} diff --git a/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.py b/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.py index 65fc82b..9bcea85 100644 --- a/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.py +++ b/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/bandhu_medication_dispense.py @@ -1,32 +1,33 @@ -# Copyright (c) 2026, CMID and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - - -class BandhuMedicationDispense(Document): - # begin: auto-generated types - # This code is auto-generated. Do not modify anything in this block. - - from typing import TYPE_CHECKING - - if TYPE_CHECKING: - from frappe.model.document import Document - from frappe.types import DF - - clinic_session: DF.Link | None - dispensed_by: DF.Link | None - encounter: DF.Link | None - instructions: DF.SmallText | None - medicine: DF.Link | None - patient: DF.Link | None - prescription_ref: DF.Link | None - project: DF.Link | None - quantity: DF.Float - source: DF.Literal["In-house", "External"] - status: DF.Literal["Pending", "Dispensed"] - table_pbtr: DF.Table[Document] - # end: auto-generated types - - pass +# Copyright (c) 2026, CMID and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class BandhuMedicationDispense(Document): + # begin: auto-generated types + # This code is auto-generated. Do not modify anything in this block. + + from typing import TYPE_CHECKING + + if TYPE_CHECKING: + from frappe.model.document import Document + from frappe.types import DF + + clinic_session: DF.Link | None + dispensed_by: DF.Link | None + encounter: DF.Link | None + instructions: DF.SmallText | None + medicine: DF.Link | None + nurse_name: DF.Data | None + patient: DF.Data | None + prescription_ref: DF.Link | None + project: DF.Link | None + quantity: DF.Float + source: DF.Literal["In-house", "External"] + status: DF.Literal["Pending", "Dispensed"] + table_pbtr: DF.Table[Document] + # end: auto-generated types + + pass diff --git a/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/test_bandhu_medication_dispense.py b/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/test_bandhu_medication_dispense.py index 2e66821..ec9f256 100644 --- a/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/test_bandhu_medication_dispense.py +++ b/bandhu_app/bandhu_app/doctype/bandhu_medication_dispense/test_bandhu_medication_dispense.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestBandhuMedicationDispense(IntegrationTestCase): - """ - Integration tests for BandhuMedicationDispense. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestBandhuMedicationDispense(IntegrationTestCase): + """ + Integration tests for BandhuMedicationDispense. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/bandhu_projects/test_bandhu_projects.py b/bandhu_app/bandhu_app/doctype/bandhu_projects/test_bandhu_projects.py index fd85db1..fd227be 100644 --- a/bandhu_app/bandhu_app/doctype/bandhu_projects/test_bandhu_projects.py +++ b/bandhu_app/bandhu_app/doctype/bandhu_projects/test_bandhu_projects.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestBandhuProjects(IntegrationTestCase): - """ - Integration tests for BandhuProjects. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestBandhuProjects(IntegrationTestCase): + """ + Integration tests for BandhuProjects. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/clinic/test_clinic.py b/bandhu_app/bandhu_app/doctype/clinic/test_clinic.py index 02a9e61..abb4b7e 100644 --- a/bandhu_app/bandhu_app/doctype/clinic/test_clinic.py +++ b/bandhu_app/bandhu_app/doctype/clinic/test_clinic.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestClinic(IntegrationTestCase): - """ - Integration tests for Clinic. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestClinic(IntegrationTestCase): + """ + Integration tests for Clinic. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/patient_queue/patient_queue.py b/bandhu_app/bandhu_app/doctype/patient_queue/patient_queue.py index 2d79bab..2104814 100644 --- a/bandhu_app/bandhu_app/doctype/patient_queue/patient_queue.py +++ b/bandhu_app/bandhu_app/doctype/patient_queue/patient_queue.py @@ -1,28 +1,30 @@ -# Copyright (c) 2026, CMID and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - - -class PatientQueue(Document): - # begin: auto-generated types - # This code is auto-generated. Do not modify anything in this block. - - from typing import TYPE_CHECKING - - if TYPE_CHECKING: - from frappe.types import DF - - clinic_session: DF.Data | None - completed_on: DF.Datetime | None - created_on: DF.Autocomplete | None - current_stage: DF.Literal["Waiting", "With Doctor", "With Nurse (Test)", "With Nurse (Medicine)", "Completed"] - encounter: DF.Link | None - handled_by: DF.Link | None - last_updated: DF.Autocomplete | None - patient: DF.Data | None - status: DF.Literal["Active", "Done"] - # end: auto-generated types - - pass +# Copyright (c) 2026, CMID and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class PatientQueue(Document): + # begin: auto-generated types + # This code is auto-generated. Do not modify anything in this block. + + from typing import TYPE_CHECKING + + if TYPE_CHECKING: + from frappe.types import DF + + clinic_session: DF.Data | None + completed_on: DF.Datetime | None + created_on: DF.Autocomplete | None + current_stage: DF.Literal[ + "Waiting", "With Doctor", "With Nurse (Test)", "With Nurse (Medicine)", "Completed" + ] + encounter: DF.Link | None + handled_by: DF.Link | None + last_updated: DF.Autocomplete | None + patient: DF.Data | None + status: DF.Literal["Active", "Done"] + # end: auto-generated types + + pass diff --git a/bandhu_app/bandhu_app/doctype/patient_queue/test_patient_queue.py b/bandhu_app/bandhu_app/doctype/patient_queue/test_patient_queue.py index a110cba..24789c7 100644 --- a/bandhu_app/bandhu_app/doctype/patient_queue/test_patient_queue.py +++ b/bandhu_app/bandhu_app/doctype/patient_queue/test_patient_queue.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestPatientQueue(IntegrationTestCase): - """ - Integration tests for PatientQueue. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestPatientQueue(IntegrationTestCase): + """ + Integration tests for PatientQueue. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/referral/test_referral.py b/bandhu_app/bandhu_app/doctype/referral/test_referral.py index 870977d..71a9a2f 100644 --- a/bandhu_app/bandhu_app/doctype/referral/test_referral.py +++ b/bandhu_app/bandhu_app/doctype/referral/test_referral.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestReferral(IntegrationTestCase): - """ - Integration tests for Referral. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestReferral(IntegrationTestCase): + """ + Integration tests for Referral. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/site/test_site.py b/bandhu_app/bandhu_app/doctype/site/test_site.py index 5ff4556..1218996 100644 --- a/bandhu_app/bandhu_app/doctype/site/test_site.py +++ b/bandhu_app/bandhu_app/doctype/site/test_site.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestSite(IntegrationTestCase): - """ - Integration tests for Site. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestSite(IntegrationTestCase): + """ + Integration tests for Site. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/staff_log/test_staff_log.py b/bandhu_app/bandhu_app/doctype/staff_log/test_staff_log.py index 801162c..5793802 100644 --- a/bandhu_app/bandhu_app/doctype/staff_log/test_staff_log.py +++ b/bandhu_app/bandhu_app/doctype/staff_log/test_staff_log.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestStaffLog(IntegrationTestCase): - """ - Integration tests for StaffLog. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestStaffLog(IntegrationTestCase): + """ + Integration tests for StaffLog. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/test_instructions/test_instructions.py b/bandhu_app/bandhu_app/doctype/test_instructions/test_instructions.py index 7d18d4e..cba3af7 100644 --- a/bandhu_app/bandhu_app/doctype/test_instructions/test_instructions.py +++ b/bandhu_app/bandhu_app/doctype/test_instructions/test_instructions.py @@ -1,23 +1,23 @@ -# Copyright (c) 2026, CMID and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - - -class TestInstructions(Document): - # begin: auto-generated types - # This code is auto-generated. Do not modify anything in this block. - - from typing import TYPE_CHECKING - - if TYPE_CHECKING: - from frappe.types import DF - - notes: DF.SmallText | None - parent: DF.Data - parentfield: DF.Data - parenttype: DF.Data - # end: auto-generated types - - pass +# Copyright (c) 2026, CMID and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class TestInstructions(Document): + # begin: auto-generated types + # This code is auto-generated. Do not modify anything in this block. + + from typing import TYPE_CHECKING + + if TYPE_CHECKING: + from frappe.types import DF + + notes: DF.SmallText | None + parent: DF.Data + parentfield: DF.Data + parenttype: DF.Data + # end: auto-generated types + + pass diff --git a/bandhu_app/bandhu_app/doctype/test_result/test_result.py b/bandhu_app/bandhu_app/doctype/test_result/test_result.py index c996c1d..76ba000 100644 --- a/bandhu_app/bandhu_app/doctype/test_result/test_result.py +++ b/bandhu_app/bandhu_app/doctype/test_result/test_result.py @@ -1,27 +1,27 @@ -# Copyright (c) 2026, CMID and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - - -class TestResult(Document): - # begin: auto-generated types - # This code is auto-generated. Do not modify anything in this block. - - from typing import TYPE_CHECKING - - if TYPE_CHECKING: - from frappe.types import DF - - encounter: DF.Link | None - patient: DF.Link | None - recorded_by: DF.Link | None - remarks: DF.SmallText | None - result_type: DF.Literal["Positive", "Negative", "Value"] - result_value: DF.Data | None - status: DF.Literal["Pending", "Completed"] - test_name: DF.Data | None - # end: auto-generated types - - pass +# Copyright (c) 2026, CMID and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class TestResult(Document): + # begin: auto-generated types + # This code is auto-generated. Do not modify anything in this block. + + from typing import TYPE_CHECKING + + if TYPE_CHECKING: + from frappe.types import DF + + encounter: DF.Link | None + patient: DF.Link | None + recorded_by: DF.Link | None + remarks: DF.SmallText | None + result_type: DF.Literal["Positive", "Negative", "Value"] + result_value: DF.Data | None + status: DF.Literal["Pending", "Completed"] + test_name: DF.Data | None + # end: auto-generated types + + pass diff --git a/bandhu_app/bandhu_app/doctype/test_result/test_test_result.py b/bandhu_app/bandhu_app/doctype/test_result/test_test_result.py index 6595bec..31c10bf 100644 --- a/bandhu_app/bandhu_app/doctype/test_result/test_test_result.py +++ b/bandhu_app/bandhu_app/doctype/test_result/test_test_result.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestTestResult(IntegrationTestCase): - """ - Integration tests for TestResult. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestTestResult(IntegrationTestCase): + """ + Integration tests for TestResult. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/testing_fetch_from/test_testing_fetch_from.py b/bandhu_app/bandhu_app/doctype/testing_fetch_from/test_testing_fetch_from.py deleted file mode 100644 index 1906d1b..0000000 --- a/bandhu_app/bandhu_app/doctype/testing_fetch_from/test_testing_fetch_from.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestTestingFetchfrom(IntegrationTestCase): - """ - Integration tests for TestingFetchfrom. - Use this class for testing interactions between multiple components. - """ - - pass diff --git a/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.js b/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.js deleted file mode 100644 index b6214bf..0000000 --- a/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2026, CMID and contributors -// For license information, please see license.txt - -// frappe.ui.form.on("Testing Fetch from", { -// refresh(frm) { - -// }, -// }); diff --git a/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.json b/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.json deleted file mode 100644 index 7bf5a73..0000000 --- a/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "actions": [], - "allow_rename": 1, - "creation": "2026-04-22 13:30:08.615706", - "doctype": "DocType", - "engine": "InnoDB", - "field_order": [ - "location", - "lsg", - "distr", - "state" - ], - "fields": [ - { - "fieldname": "location", - "fieldtype": "Link", - "label": "location", - "options": "Bandhu Location" - }, - { - "fetch_from": "location.lsg", - "fieldname": "lsg", - "fieldtype": "Data", - "label": "lsg" - }, - { - "fetch_from": "location.district", - "fieldname": "distr", - "fieldtype": "Data", - "label": "distr" - }, - { - "fetch_from": "location.state", - "fieldname": "state", - "fieldtype": "Data", - "label": "state" - } - ], - "grid_page_length": 50, - "index_web_pages_for_search": 1, - "links": [], - "modified": "2026-04-22 13:32:24.341730", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Testing Fetch from", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "row_format": "Dynamic", - "rows_threshold_for_grid_search": 20, - "sort_field": "creation", - "sort_order": "DESC", - "states": [] -} diff --git a/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.py b/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.py deleted file mode 100644 index 7883155..0000000 --- a/bandhu_app/bandhu_app/doctype/testing_fetch_from/testing_fetch_from.py +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (c) 2026, CMID and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - - -class TestingFetchfrom(Document): - # begin: auto-generated types - # This code is auto-generated. Do not modify anything in this block. - - from typing import TYPE_CHECKING - - if TYPE_CHECKING: - from frappe.types import DF - - distr: DF.Data | None - location: DF.Link | None - lsg: DF.Data | None - state: DF.Data | None - # end: auto-generated types - - pass diff --git a/bandhu_app/bandhu_app/doctype/unit/test_unit.py b/bandhu_app/bandhu_app/doctype/unit/test_unit.py index 381d43b..b6e34b7 100644 --- a/bandhu_app/bandhu_app/doctype/unit/test_unit.py +++ b/bandhu_app/bandhu_app/doctype/unit/test_unit.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestUnit(IntegrationTestCase): - """ - Integration tests for Unit. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestUnit(IntegrationTestCase): + """ + Integration tests for Unit. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/test_vehicle_refuel_log.py b/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/test_vehicle_refuel_log.py index b392864..8b4e787 100644 --- a/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/test_vehicle_refuel_log.py +++ b/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/test_vehicle_refuel_log.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestVehicleRefuelLog(IntegrationTestCase): - """ - Integration tests for VehicleRefuelLog. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestVehicleRefuelLog(IntegrationTestCase): + """ + Integration tests for VehicleRefuelLog. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/vehicle_refuel_log.json b/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/vehicle_refuel_log.json index 3c8a5fa..d2bc1ab 100644 --- a/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/vehicle_refuel_log.json +++ b/bandhu_app/bandhu_app/doctype/vehicle_refuel_log/vehicle_refuel_log.json @@ -1,153 +1,167 @@ -{ - "actions": [], - "allow_rename": 1, - "creation": "2026-04-17 19:01:44.141849", - "doctype": "DocType", - "engine": "InnoDB", - "field_order": [ - "core_details_section", - "vehicle", - "odometer_reading", - "column_break_okrm", - "date", - "time", - "section_break_hjiy", - "fuel_station", - "fuel_type", - "column_break_zytu", - "bill_number", - "fill_type", - "money_section", - "quantity", - "column_break_eulq", - "rate", - "column_break_jqti", - "amount" - ], - "fields": [ - { - "fieldname": "vehicle", - "fieldtype": "Link", - "in_list_view": 1, - "label": "Vehicle", - "options": "Vehicle", - "reqd": 1 - }, - { - "fieldname": "date", - "fieldtype": "Date", - "label": "Date", - "reqd": 1 - }, - { - "fieldname": "odometer_reading", - "fieldtype": "Int", - "label": "Odometer Reading", - "reqd": 1 - }, - { - "fieldname": "column_break_okrm", - "fieldtype": "Column Break" - }, - { - "fieldname": "section_break_hjiy", - "fieldtype": "Section Break", - "label": "Fuel Details" - }, - { - "fieldname": "fuel_type", - "fieldtype": "Select", - "label": "Fuel Type", - "options": "Petrol\nDiesel\nCNG\nElectric" - }, - { - "fieldname": "core_details_section", - "fieldtype": "Section Break", - "label": "Core Details" - }, - { - "fieldname": "column_break_zytu", - "fieldtype": "Column Break" - }, - { - "fieldname": "rate", - "fieldtype": "Currency", - "label": "Rate per Litre", - "reqd": 1 - }, - { - "fieldname": "quantity", - "fieldtype": "Float", - "label": "Quantity (Litres)", - "reqd": 1 - }, - { - "fieldname": "money_section", - "fieldtype": "Section Break", - "label": "Money" - }, - { - "fieldname": "amount", - "fieldtype": "Currency", - "label": "Total Amount", - "read_only": 1 - }, - { - "fieldname": "bill_number", - "fieldtype": "Data", - "label": "Bill Number" - }, - { - "fieldname": "fuel_station", - "fieldtype": "Data", - "label": "Fuel Station", - "reqd": 1 - }, - { - "fieldname": "fill_type", - "fieldtype": "Select", - "label": "Fill Type", - "options": "Full Tank\nPartial" - }, - { - "fieldname": "time", - "fieldtype": "Time", - "label": "Time" - }, - { - "fieldname": "column_break_eulq", - "fieldtype": "Column Break" - }, - { - "fieldname": "column_break_jqti", - "fieldtype": "Column Break" - } - ], - "grid_page_length": 50, - "index_web_pages_for_search": 1, - "links": [], - "modified": "2026-04-17 19:20:29.839793", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Vehicle Refuel Log", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "row_format": "Dynamic", - "rows_threshold_for_grid_search": 20, - "sort_field": "creation", - "sort_order": "DESC", - "states": [] -} +{ + "actions": [], + "allow_rename": 1, + "creation": "2026-04-17 19:01:44.141849", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "core_details_section", + "vehicle", + "odometer_reading", + "column_break_okrm", + "date", + "time", + "section_break_hjiy", + "fuel_station", + "fuel_type", + "column_break_zytu", + "bill_number", + "fill_type", + "money_section", + "quantity", + "column_break_eulq", + "rate", + "column_break_jqti", + "amount" + ], + "fields": [ + { + "fieldname": "vehicle", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Vehicle", + "options": "Vehicle", + "reqd": 1 + }, + { + "fieldname": "date", + "fieldtype": "Date", + "in_list_view": 1, + "label": "Date", + "reqd": 1 + }, + { + "fieldname": "odometer_reading", + "fieldtype": "Int", + "in_list_view": 1, + "label": "Odometer Reading", + "reqd": 1 + }, + { + "fieldname": "column_break_okrm", + "fieldtype": "Column Break" + }, + { + "fieldname": "section_break_hjiy", + "fieldtype": "Section Break", + "label": "Fuel Details" + }, + { + "fieldname": "fuel_type", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Fuel Type", + "options": "Petrol\nDiesel\nCNG\nElectric" + }, + { + "fieldname": "core_details_section", + "fieldtype": "Section Break", + "label": "Core Details" + }, + { + "fieldname": "column_break_zytu", + "fieldtype": "Column Break" + }, + { + "fieldname": "rate", + "fieldtype": "Currency", + "label": "Rate per Litre", + "reqd": 1 + }, + { + "fieldname": "quantity", + "fieldtype": "Float", + "label": "Quantity (Litres)", + "reqd": 1 + }, + { + "fieldname": "money_section", + "fieldtype": "Section Break", + "label": "Money" + }, + { + "fieldname": "amount", + "fieldtype": "Currency", + "label": "Total Amount", + "read_only": 1 + }, + { + "fieldname": "bill_number", + "fieldtype": "Data", + "label": "Bill Number" + }, + { + "fieldname": "fuel_station", + "fieldtype": "Data", + "label": "Fuel Station", + "reqd": 1 + }, + { + "fieldname": "fill_type", + "fieldtype": "Select", + "label": "Fill Type", + "options": "Full Tank\nPartial" + }, + { + "fieldname": "time", + "fieldtype": "Time", + "label": "Time" + }, + { + "fieldname": "column_break_eulq", + "fieldtype": "Column Break" + }, + { + "fieldname": "column_break_jqti", + "fieldtype": "Column Break" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "links": [ + { + "link_doctype": "Vehicle", + "link_fieldname": "custom_vehicle_name__id" + }, + { + "link_doctype": "Vehicle Usage Log", + "link_fieldname": "vehicle" + } + ], + "modified": "2026-05-01 11:55:55.797495", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Vehicle Refuel Log", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "row_format": "Dynamic", + "rows_threshold_for_grid_search": 20, + "show_title_field_in_link": 1, + "sort_field": "creation", + "sort_order": "DESC", + "states": [], + "title_field": "vehicle" +} diff --git a/bandhu_app/bandhu_app/doctype/vehicle_usage_log/test_vehicle_usage_log.py b/bandhu_app/bandhu_app/doctype/vehicle_usage_log/test_vehicle_usage_log.py index b898475..8b4dea6 100644 --- a/bandhu_app/bandhu_app/doctype/vehicle_usage_log/test_vehicle_usage_log.py +++ b/bandhu_app/bandhu_app/doctype/vehicle_usage_log/test_vehicle_usage_log.py @@ -1,22 +1,20 @@ -# Copyright (c) 2026, CMID and Contributors -# See license.txt - -# import frappe -from frappe.tests import IntegrationTestCase - - -# On IntegrationTestCase, the doctype test records and all -# link-field test record dependencies are recursively loaded -# Use these module variables to add/remove to/from that list -EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - - - -class IntegrationTestVehicleUsageLog(IntegrationTestCase): - """ - Integration tests for VehicleUsageLog. - Use this class for testing interactions between multiple components. - """ - - pass +# Copyright (c) 2026, CMID and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + +class IntegrationTestVehicleUsageLog(IntegrationTestCase): + """ + Integration tests for VehicleUsageLog. + Use this class for testing interactions between multiple components. + """ + + pass diff --git a/bandhu_app/bandhu_app/doctype/testing_fetch_from/__init__.py b/bandhu_app/bandhu_app/utils/__init__.py similarity index 100% rename from bandhu_app/bandhu_app/doctype/testing_fetch_from/__init__.py rename to bandhu_app/bandhu_app/utils/__init__.py diff --git a/bandhu_app/bandhu_app/utils/custom_bandhu_id.py b/bandhu_app/bandhu_app/utils/custom_bandhu_id.py new file mode 100644 index 0000000..0221826 --- /dev/null +++ b/bandhu_app/bandhu_app/utils/custom_bandhu_id.py @@ -0,0 +1,9 @@ +# bandhu_app/bandhu_app/utils/custom_bandhu_id.py + +import frappe + + +def set_bandhu_id(doc, method): + # only set if empty + if not doc.custom_bandhu_id: + doc.custom_bandhu_id = frappe.model.naming.make_autoname("BMC-.#####") diff --git a/bandhu_app/bandhu_app/utils/custom_qr_code.py b/bandhu_app/bandhu_app/utils/custom_qr_code.py new file mode 100644 index 0000000..4aea88d --- /dev/null +++ b/bandhu_app/bandhu_app/utils/custom_qr_code.py @@ -0,0 +1,37 @@ +import io + +import frappe +import qrcode +from qrcode.image.styledpil import StyledPilImage +from qrcode.image.styles.moduledrawers.pil import HorizontalBarsDrawer + + +def make_qr_image(data: str) -> bytes: + qr = qrcode.QRCode( + version=1, + error_correction=qrcode.constants.ERROR_CORRECT_H, + box_size=10, + border=4, + ) + qr.add_data(data) + qr.make(fit=True) + + img = qr.make_image(image_factory=StyledPilImage, module_drawer=HorizontalBarsDrawer()) + + output = io.BytesIO() + img.save(output, format="PNG") + return output.getvalue() + + +def generate_qr_code_file(doc, data: str, field_name="custom_qr_code"): + qr_data = make_qr_image(data) + + file_doc = frappe.new_doc("File") + file_doc.content = qr_data + file_doc.attached_to_doctype = doc.doctype + file_doc.attached_to_name = doc.name + file_doc.attached_to_field = field_name + file_doc.file_name = f"{doc.custom_bandhu_id}.png" + file_doc.insert() + + return file_doc.file_url diff --git a/bandhu_app/bandhu_app/utils/patient_qr.py b/bandhu_app/bandhu_app/utils/patient_qr.py new file mode 100644 index 0000000..bd4f625 --- /dev/null +++ b/bandhu_app/bandhu_app/utils/patient_qr.py @@ -0,0 +1,21 @@ +import frappe + +from bandhu_app.bandhu_app.utils.custom_qr_code import generate_qr_code_file + + +def create_patient_qr(doc, method): + # avoid duplicate generation + if doc.custom_qr_code: + return + + if not doc.custom_bandhu_id: + return + + file_url = generate_qr_code_file( + doc=doc, + data=f"{frappe.utils.get_url()}/api/method/bandhu_app.api.get_patient_by_uid?uid={doc.custom_bandhu_id}", + field_name="custom_qr_code", + ) + + # update field + frappe.db.set_value(doc.doctype, doc.name, "custom_qr_code", file_url) diff --git a/bandhu_app/bandhu_app/workspace/bandhu/bandhu.json b/bandhu_app/bandhu_app/workspace/bandhu/bandhu.json index bcc3535..6fecc33 100644 --- a/bandhu_app/bandhu_app/workspace/bandhu/bandhu.json +++ b/bandhu_app/bandhu_app/workspace/bandhu/bandhu.json @@ -1,113 +1,113 @@ -{ - "app": "bandhu_app", - "charts": [], - "content": "[{\"id\":\"OUoNwjaC2h\",\"type\":\"header\",\"data\":{\"text\":\"Bandhu Clinic Operations\",\"col\":12}},{\"id\":\"W9E_i2W2pw\",\"type\":\"paragraph\",\"data\":{\"text\":\"Hi, welcome. Let's start the clinic session: \",\"col\":12}},{\"id\":\"7wIG3PkFpW\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83e\uddd1\ud83c\udffb\u200d\u2695\ufe0fClinic\",\"col\":6}},{\"id\":\"uhR29saJao\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udcdd Start Clinic Session \",\"col\":6}},{\"id\":\"WHiIVWTp-B\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83e\ude7a Start Consultation\",\"col\":6}},{\"id\":\"lSR0h04UX3\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\u2795 Register Patient\",\"col\":6}},{\"id\":\"6lAS5pb0vk\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udccb Patient Queue\",\"col\":4}},{\"id\":\"hxK2X54IX2\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Staff Log \u26d1\ufe0f\",\"col\":4}},{\"id\":\"od5KkK2DdZ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Assign Units\",\"col\":4}},{\"id\":\"DVlJ5DWGV9\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"p2SVoIVsnN\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Vehicle log\",\"col\":4}},{\"id\":\"DB49k0jxHD\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Vehicle Refuel Log\",\"col\":4}},{\"id\":\"Sn7-BmiRM2\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Vehicle Usage Log\",\"col\":4}}]", - "creation": "2026-04-15 12:39:03.722813", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "healthcare", - "idx": 0, - "indicator_color": "green", - "is_hidden": 0, - "label": "Bandhu Clinic", - "link_type": "DocType", - "links": [], - "modified": "2026-04-22 12:29:18.469152", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Bandhu", - "number_cards": [], - "owner": "Administrator", - "parent_page": "", - "public": 1, - "quick_lists": [], - "roles": [], - "sequence_id": 23.0, - "shortcuts": [ - { - "color": "Grey", - "doc_view": "New", - "label": "\u2795 Register Patient", - "link_to": "Patient", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83e\ude7a Start Consultation", - "link_to": "Patient Encounter", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "\ud83d\udccb Patient Queue", - "link_to": "Patient Queue", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "\ud83e\uddd1\ud83c\udffb\u200d\u2695\ufe0fClinic", - "link_to": "Clinic", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Staff Log \u26d1\ufe0f", - "link_to": "Staff Log", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Vehicle log", - "link_to": "Vehicle", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "\ud83d\udcdd Start Clinic Session ", - "link_to": "Bandhu Clinic Session", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Vehicle Refuel Log", - "link_to": "Vehicle Refuel Log", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Vehicle Usage Log", - "link_to": "Vehicle Usage Log", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Assign Units", - "link_to": "Unit", - "stats_filter": "[]", - "type": "DocType" - } - ], - "title": "Bandhu", - "type": "Workspace" -} +{ + "app": "bandhu_app", + "charts": [], + "content": "[{\"id\":\"OUoNwjaC2h\",\"type\":\"header\",\"data\":{\"text\":\"Bandhu Clinic Operations\",\"col\":12}},{\"id\":\"W9E_i2W2pw\",\"type\":\"paragraph\",\"data\":{\"text\":\"Hi, welcome. Let's start the clinic session: \",\"col\":12}},{\"id\":\"7wIG3PkFpW\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83e\uddd1\ud83c\udffb\u200d\u2695\ufe0fClinic\",\"col\":6}},{\"id\":\"uhR29saJao\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udcdd Start Clinic Session \",\"col\":6}},{\"id\":\"WHiIVWTp-B\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83e\ude7a Start Consultation\",\"col\":6}},{\"id\":\"lSR0h04UX3\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\u2795 Register Patient\",\"col\":6}},{\"id\":\"6lAS5pb0vk\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udccb Patient Queue\",\"col\":4}},{\"id\":\"hxK2X54IX2\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Staff Log \u26d1\ufe0f\",\"col\":4}},{\"id\":\"od5KkK2DdZ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Assign Units\",\"col\":4}},{\"id\":\"DVlJ5DWGV9\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"p2SVoIVsnN\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Vehicle log\",\"col\":4}},{\"id\":\"DB49k0jxHD\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Vehicle Refuel Log\",\"col\":4}},{\"id\":\"Sn7-BmiRM2\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Vehicle Usage Log\",\"col\":4}}]", + "creation": "2026-04-15 12:39:03.722813", + "custom_blocks": [], + "docstatus": 0, + "doctype": "Workspace", + "for_user": "", + "hide_custom": 0, + "icon": "healthcare", + "idx": 0, + "indicator_color": "green", + "is_hidden": 0, + "label": "Bandhu", + "link_type": "DocType", + "links": [], + "modified": "2026-04-27 17:14:35.054817", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Bandhu", + "number_cards": [], + "owner": "Administrator", + "parent_page": "", + "public": 1, + "quick_lists": [], + "roles": [], + "sequence_id": 23.0, + "shortcuts": [ + { + "color": "Grey", + "doc_view": "New", + "label": "\u2795 Register Patient", + "link_to": "Patient", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "New", + "label": "\ud83e\ude7a Start Consultation", + "link_to": "Patient Encounter", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "\ud83d\udccb Patient Queue", + "link_to": "Patient Queue", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "\ud83e\uddd1\ud83c\udffb\u200d\u2695\ufe0fClinic", + "link_to": "Clinic", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Staff Log \u26d1\ufe0f", + "link_to": "Staff Log", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Vehicle log", + "link_to": "Vehicle", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "\ud83d\udcdd Start Clinic Session ", + "link_to": "Bandhu Clinic Session", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Vehicle Refuel Log", + "link_to": "Vehicle Refuel Log", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Vehicle Usage Log", + "link_to": "Vehicle Usage Log", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Assign Units", + "link_to": "Unit", + "stats_filter": "[]", + "type": "DocType" + } + ], + "title": "Bandhu", + "type": "Workspace" +} diff --git a/bandhu_app/bandhu_app/workspace/bandhu_clinic/bandhu_clinic.json b/bandhu_app/bandhu_app/workspace/bandhu_clinic/bandhu_clinic.json deleted file mode 100644 index 07e14a1..0000000 --- a/bandhu_app/bandhu_app/workspace/bandhu_clinic/bandhu_clinic.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "app": "bandhu_app", - "charts": [], - "content": "[{\"id\":\"OUoNwjaC2h\",\"type\":\"header\",\"data\":{\"text\":\"Bandhu Clinic\",\"col\":12}},{\"id\":\"W9E_i2W2pw\",\"type\":\"paragraph\",\"data\":{\"text\":\"Hi, welcome. Let's start the clinic session: \",\"col\":12}},{\"id\":\"uhR29saJao\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83c\udfe5 Start Clinic and Log Details \",\"col\":12}},{\"id\":\"lSR0h04UX3\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\u2795 Register Patient\",\"col\":4}},{\"id\":\"WHiIVWTp-B\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83e\ude7a Start Consultation\",\"col\":4}},{\"id\":\"6lAS5pb0vk\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udccb Patient Queue\",\"col\":4}},{\"id\":\"exsxe92iDx\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"QJDG5vtSCF\",\"type\":\"header\",\"data\":{\"text\":\"Nurse Module\",\"col\":12}},{\"id\":\"MuPzURqtkr\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\u2764\ufe0f Record Vitals\",\"col\":4}},{\"id\":\"WPA_Mt9a1W\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83e\uddea Record Test\",\"col\":4}},{\"id\":\"uhbQvhmgOW\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udc8a Dispense Medicine\",\"col\":4}},{\"id\":\"0qFCYaJnuz\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udce4 Create Referral\",\"col\":4}},{\"id\":\"w6OG4uOk7H\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"vvWdB0fh9b\",\"type\":\"paragraph\",\"data\":{\"text\":\"Programme Officer \",\"col\":12}},{\"id\":\"05CSGVE28o\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\" \ud83e\udd1d Add a Team\",\"col\":4}},{\"id\":\"hxK2X54IX2\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Staff Log \u26d1\ufe0f\",\"col\":3}},{\"id\":\"aCrO0HEEII\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"yLCUaezdwk\",\"type\":\"header\",\"data\":{\"text\":\"Pharmacist\",\"col\":12}},{\"id\":\"dO7T7yZCux\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Medicine Movement\",\"col\":6}},{\"id\":\"u4Q5VYUCdO\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Medicines\",\"col\":6}},{\"id\":\"T-nMrbUywK\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udc69\ud83c\udffb\u200d\u2695\ufe0f Medication Dispense\",\"col\":6}},{\"id\":\"VjseLZyqWa\",\"type\":\"header\",\"data\":{\"text\":\"Admin\",\"col\":12}},{\"id\":\"jVAaNbXHow\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Users\",\"col\":3}},{\"id\":\"8HUhSKdkx-\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Roles\",\"col\":3}},{\"id\":\"LJDoVG9U6B\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Healthcare Practitioner\",\"col\":3}},{\"id\":\"od5KkK2DdZ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Assign Units\",\"col\":3}},{\"id\":\"0Aw7wlaVaM\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Vehicle\",\"col\":3}}]", - "creation": "2026-04-15 12:39:03.722813", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "healthcare", - "idx": 0, - "indicator_color": "green", - "is_hidden": 0, - "label": "Bandhu Clinic", - "link_type": "DocType", - "links": [], - "modified": "2026-04-16 10:40:44.120134", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Bandhu Clinic", - "number_cards": [], - "owner": "Administrator", - "parent_page": "", - "public": 1, - "quick_lists": [], - "roles": [], - "sequence_id": 23.0, - "shortcuts": [ - { - "color": "Yellow", - "doc_view": "New", - "label": " \ud83e\udd1d Add a Team", - "link_to": "Bandhu Unit", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\u2795 Register Patient", - "link_to": "Patient", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83e\ude7a Start Consultation", - "link_to": "Patient Encounter", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "\ud83d\udccb Patient Queue", - "link_to": "Bandhu Patient Queue", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Medicine Movement", - "link_to": "Stock Entry", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "\ud83c\udfe5 Start Clinic and Log Details ", - "link_to": "Bandhu Clinic Session", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Roles", - "link_to": "Role", - "stats_filter": "[[\"Role\",\"role_name\",\"in\",[\"Doctor\",\"Nurse\",\"Helpline Staff\",\"Clinic Assistant cum Driver\"]]]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Users", - "link_to": "User", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Vehicle", - "link_to": "Vehicle", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Staff Log \u26d1\ufe0f", - "link_to": "Bandhu Staff Log", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "\ud83d\udc69\ud83c\udffb\u200d\u2695\ufe0f Medication Dispense", - "link_to": "Bandhu Medication Dispense", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Medicines", - "link_to": "Item", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\u2764\ufe0f Record Vitals", - "link_to": "Vital Signs", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Healthcare Practitioner", - "link_to": "Healthcare Practitioner", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83e\uddea Record Test", - "link_to": "Bandhu Test Result", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Assign Units", - "link_to": "Bandhu Unit", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83d\udc8a Dispense Medicine", - "link_to": "Bandhu Medication Dispense", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83d\udce4 Create Referral", - "link_to": "Bandhu Referral", - "stats_filter": "[]", - "type": "DocType" - } - ], - "title": "Bandhu Clinic", - "type": "Workspace" -} diff --git a/bandhu_app/bandhu_app/workspace/doctor/doctor.json b/bandhu_app/bandhu_app/workspace/doctor/doctor.json index 098ad74..78242c4 100644 --- a/bandhu_app/bandhu_app/workspace/doctor/doctor.json +++ b/bandhu_app/bandhu_app/workspace/doctor/doctor.json @@ -1,65 +1,57 @@ -{ - "app": "frappe", - "charts": [], - "content": "[{\"id\":\"grZMA4YJzB\",\"type\":\"header\",\"data\":{\"text\":\"Doctor\",\"col\":12}},{\"id\":\"knKIJUXN8H\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"Mvu2SsraTF\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Patient\",\"col\":12}},{\"id\":\"toUtJQCE6-\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Patient Queue\",\"col\":6}},{\"id\":\"ti00prfKhd\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Referral\",\"col\":6}},{\"id\":\"Lu7rZWxhEC\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Referral Followup\",\"col\":6}}]", - "creation": "2026-04-20 17:44:47.583251", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "grid", - "idx": 0, - "indicator_color": "green", - "is_hidden": 0, - "label": "Doctor", - "link_type": "DocType", - "links": [], - "modified": "2026-04-20 17:51:07.857911", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Doctor", - "number_cards": [], - "owner": "Administrator", - "parent_page": "", - "public": 1, - "quick_lists": [], - "roles": [], - "sequence_id": 27.0, - "shortcuts": [ - { - "color": "Grey", - "doc_view": "List", - "label": "Referral Followup", - "link_to": "Referral Followup", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Patient Queue", - "link_to": "Patient Queue", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Patient", - "link_to": "Patient", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Referral", - "link_to": "Referral", - "stats_filter": "[]", - "type": "DocType" - } - ], - "title": "Doctor", - "type": "Workspace" -} +{ + "app": "frappe", + "charts": [], + "content": "[{\"id\":\"grZMA4YJzB\",\"type\":\"header\",\"data\":{\"text\":\"Doctor\",\"col\":12}},{\"id\":\"knKIJUXN8H\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"8UoS4UNe0S\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"Mvu2SsraTF\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Patient\",\"col\":12}},{\"id\":\"nINvG-PmTJ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Patient Queue\",\"col\":12}},{\"id\":\"ti00prfKhd\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Referral\",\"col\":12}}]", + "creation": "2026-04-20 17:44:47.583251", + "custom_blocks": [], + "docstatus": 0, + "doctype": "Workspace", + "for_user": "", + "hide_custom": 0, + "icon": "grid", + "idx": 0, + "indicator_color": "green", + "is_hidden": 0, + "label": "Doctor", + "link_type": "DocType", + "links": [], + "modified": "2026-05-01 17:11:54.110077", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Doctor", + "number_cards": [], + "owner": "Administrator", + "parent_page": "", + "public": 1, + "quick_lists": [], + "roles": [], + "sequence_id": 27.0, + "shortcuts": [ + { + "color": "Grey", + "doc_view": "List", + "label": "Patient Queue", + "link_to": "Patient Encounter", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Patient", + "link_to": "Patient", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Referral", + "link_to": "Referral", + "stats_filter": "[]", + "type": "DocType" + } + ], + "title": "Doctor", + "type": "Workspace" +} diff --git a/bandhu_app/bandhu_app/workspace/nurse/nurse.json b/bandhu_app/bandhu_app/workspace/nurse/nurse.json index bcb2318..a2028da 100644 --- a/bandhu_app/bandhu_app/workspace/nurse/nurse.json +++ b/bandhu_app/bandhu_app/workspace/nurse/nurse.json @@ -1,65 +1,49 @@ -{ - "app": "frappe", - "charts": [], - "content": "[{\"id\":\"j5y68ez5as\",\"type\":\"header\",\"data\":{\"text\":\"Nurse\",\"col\":12}},{\"id\":\"OuslvuI9ZL\",\"type\":\"paragraph\",\"data\":{\"text\":\"This will cover all the stuff of Nurse module\",\"col\":12}},{\"id\":\"ux7j99r9IX\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\u2764\ufe0f Record Vitals\",\"col\":6}},{\"id\":\"W2QCxAJ5wd\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udce4 Create Referral\",\"col\":6}},{\"id\":\"PqV-CcPx_j\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udc8a Dispense Medicine\",\"col\":6}},{\"id\":\"9p8yZGUauQ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83e\uddea Record Test\",\"col\":6}}]", - "creation": "2026-04-16 13:09:45.189940", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "grid", - "idx": 1, - "indicator_color": "green", - "is_hidden": 0, - "label": "Nurse", - "link_type": "DocType", - "links": [], - "modified": "2026-04-22 12:36:37.018192", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Nurse", - "number_cards": [], - "owner": "Administrator", - "parent_page": "", - "public": 1, - "quick_lists": [], - "roles": [], - "sequence_id": 24.0, - "shortcuts": [ - { - "color": "Grey", - "doc_view": "New", - "label": "\u2764\ufe0f Record Vitals", - "link_to": "Vital Signs", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83d\udce4 Create Referral", - "link_to": "Referral", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83e\uddea Record Test", - "link_to": "Test Result", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "New", - "label": "\ud83d\udc8a Dispense Medicine", - "link_to": "Bandhu Medication Dispense", - "stats_filter": "[]", - "type": "DocType" - } - ], - "title": "Nurse", - "type": "Workspace" -} +{ + "app": "frappe", + "charts": [], + "content": "[{\"id\":\"2OiP63Lh2T\",\"type\":\"header\",\"data\":{\"text\":\"Nurse\",\"col\":12}},{\"id\":\"41QkXylKHI\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"WqSFn7qNu4\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udc8a Medication Dispense\",\"col\":6}},{\"id\":\"s78Ti0SWr4\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"\ud83d\udcc3 Test Result\",\"col\":6}}]", + "creation": "2026-04-27 17:58:16.212862", + "custom_blocks": [], + "docstatus": 0, + "doctype": "Workspace", + "for_user": "", + "hide_custom": 0, + "icon": "grid", + "idx": 0, + "indicator_color": "green", + "is_hidden": 0, + "label": "Nurse", + "link_type": "DocType", + "links": [], + "modified": "2026-04-27 18:04:17.188902", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Nurse", + "number_cards": [], + "owner": "Administrator", + "parent_page": "", + "public": 1, + "quick_lists": [], + "roles": [], + "sequence_id": 31.0, + "shortcuts": [ + { + "color": "Grey", + "doc_view": "List", + "label": "\ud83d\udc8a Medication Dispense", + "link_to": "Bandhu Medication Dispense", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "\ud83d\udcc3 Test Result", + "link_to": "Test Result", + "stats_filter": "[]", + "type": "DocType" + } + ], + "title": "Nurse", + "type": "Workspace" +} diff --git a/bandhu_app/bandhu_app/workspace/nurse_workspace/nurse_workspace.json b/bandhu_app/bandhu_app/workspace/nurse_workspace/nurse_workspace.json deleted file mode 100644 index 7d2abcb..0000000 --- a/bandhu_app/bandhu_app/workspace/nurse_workspace/nurse_workspace.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "app": "frappe", - "charts": [], - "content": "[{\"id\":\"j5y68ez5as\",\"type\":\"header\",\"data\":{\"text\":\"Nurse Workspace\",\"col\":12}},{\"id\":\"OuslvuI9ZL\",\"type\":\"paragraph\",\"data\":{\"text\":\"This will cover all the stuff of Nurse module\",\"col\":12}}]", - "creation": "2026-04-16 13:09:45.189940", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "grid", - "idx": 1, - "indicator_color": "green", - "is_hidden": 0, - "label": "Nurse", - "link_type": "DocType", - "links": [], - "modified": "2026-04-16 13:23:40.264166", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Nurse Workspace", - "number_cards": [], - "owner": "Administrator", - "parent_page": "", - "public": 1, - "quick_lists": [], - "roles": [], - "sequence_id": 24.0, - "shortcuts": [], - "title": "Nurse Workspace", - "type": "Workspace" -} diff --git a/bandhu_app/bandhu_app/workspace/pharmacist/pharmacist.json b/bandhu_app/bandhu_app/workspace/pharmacist/pharmacist.json index 4a456a6..2a9206a 100644 --- a/bandhu_app/bandhu_app/workspace/pharmacist/pharmacist.json +++ b/bandhu_app/bandhu_app/workspace/pharmacist/pharmacist.json @@ -1,57 +1,49 @@ -{ - "app": "frappe", - "charts": [], - "content": "[{\"id\":\"Pxr9eadgR1\",\"type\":\"header\",\"data\":{\"text\":\"Pharmacist Module\",\"col\":12}},{\"id\":\"ntNpvi8M-i\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"-YhD3nJcxq\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"JjYg_YcpqR\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Medicine Movement\",\"col\":12}},{\"id\":\"PH4weaJJrZ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Medicines\",\"col\":12}},{\"id\":\"Q7hG0VruUt\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Medication Dispense\",\"col\":12}}]", - "creation": "2026-04-16 23:13:47.807606", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "healthcare", - "idx": 0, - "indicator_color": "green", - "is_hidden": 0, - "label": "Pharmacist", - "link_type": "DocType", - "links": [], - "modified": "2026-04-20 17:35:03.466955", - "modified_by": "Administrator", - "module": "Bandhu App", - "name": "Pharmacist", - "number_cards": [], - "owner": "Administrator", - "parent_page": "", - "public": 1, - "quick_lists": [], - "roles": [], - "sequence_id": 25.0, - "shortcuts": [ - { - "color": "Grey", - "doc_view": "List", - "label": "Medicine Movement", - "link_to": "Stock Entry", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Medicines", - "link_to": "Item", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Medication Dispense", - "link_to": "Bandhu Medication Dispense", - "stats_filter": "[]", - "type": "DocType" - } - ], - "title": "Pharmacist", - "type": "Workspace" -} +{ + "app": "frappe", + "charts": [], + "content": "[{\"id\":\"Pxr9eadgR1\",\"type\":\"header\",\"data\":{\"text\":\"Pharmacist Module\",\"col\":12}},{\"id\":\"ntNpvi8M-i\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"-YhD3nJcxq\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"JjYg_YcpqR\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Medicine Movement\",\"col\":12}},{\"id\":\"PH4weaJJrZ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Medicines\",\"col\":12}}]", + "creation": "2026-04-16 23:13:47.807606", + "custom_blocks": [], + "docstatus": 0, + "doctype": "Workspace", + "for_user": "", + "hide_custom": 0, + "icon": "healthcare", + "idx": 0, + "indicator_color": "green", + "is_hidden": 0, + "label": "Pharmacist", + "link_type": "DocType", + "links": [], + "modified": "2026-05-01 17:12:29.772823", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Pharmacist", + "number_cards": [], + "owner": "Administrator", + "parent_page": "", + "public": 1, + "quick_lists": [], + "roles": [], + "sequence_id": 25.0, + "shortcuts": [ + { + "color": "Grey", + "doc_view": "List", + "label": "Medicine Movement", + "link_to": "Stock Entry", + "stats_filter": "[]", + "type": "DocType" + }, + { + "color": "Grey", + "doc_view": "List", + "label": "Medicines", + "link_to": "Item", + "stats_filter": "[]", + "type": "DocType" + } + ], + "title": "Pharmacist", + "type": "Workspace" +} diff --git a/bandhu_app/hooks.py b/bandhu_app/hooks.py index be99a30..660f4eb 100644 --- a/bandhu_app/hooks.py +++ b/bandhu_app/hooks.py @@ -1,255 +1,267 @@ -app_name = "bandhu_app" -app_title = "Bandhu App" -app_publisher = "CMID" -app_description = "CMID" -app_email = "adypatanwar07@gmail.com" -app_license = "mit" - -# Apps -# ------------------ - -# required_apps = [] - -# Each item in the list will be shown as an app in the apps page -# add_to_apps_screen = [ -# { -# "name": "bandhu_app", -# "logo": "/assets/bandhu_app/logo.png", -# "title": "Bandhu App", -# "route": "/bandhu_app", -# "has_permission": "bandhu_app.api.permission.has_app_permission" -# } -# ] - -# Includes in -# ------------------ - -# include js, css files in header of desk.html -# app_include_css = "/assets/bandhu_app/css/bandhu_app.css" -# app_include_js = "/assets/bandhu_app/js/bandhu_app.js" - -# include js, css files in header of web template -# web_include_css = "/assets/bandhu_app/css/bandhu_app.css" -# web_include_js = "/assets/bandhu_app/js/bandhu_app.js" - -# include custom scss in every website theme (without file extension ".scss") -# website_theme_scss = "bandhu_app/public/scss/website" - -# include js, css files in header of web form -# webform_include_js = {"doctype": "public/js/doctype.js"} -# webform_include_css = {"doctype": "public/css/doctype.css"} - -# include js in page -# page_js = {"page" : "public/js/file.js"} - -# include js in doctype views -# doctype_js = {"doctype" : "public/js/doctype.js"} -# doctype_list_js = {"doctype" : "public/js/doctype_list.js"} -# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"} -# doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"} - -# Svg Icons -# ------------------ -# include app icons in desk -# app_include_icons = "bandhu_app/public/icons.svg" - -# Home Pages -# ---------- - -# application home page (will override Website Settings) -# home_page = "login" - -# website user home page (by Role) -# role_home_page = { -# "Role": "home_page" -# } - -# Generators -# ---------- - -# automatically create page for each record of this doctype -# website_generators = ["Web Page"] - -# automatically load and sync documents of this doctype from downstream apps -# importable_doctypes = [doctype_1] - -# Jinja -# ---------- - -# add methods and filters to jinja environment -# jinja = { -# "methods": "bandhu_app.utils.jinja_methods", -# "filters": "bandhu_app.utils.jinja_filters" -# } - -# Installation -# ------------ - -# before_install = "bandhu_app.install.before_install" -# after_install = "bandhu_app.install.after_install" - -# Uninstallation -# ------------ - -# before_uninstall = "bandhu_app.uninstall.before_uninstall" -# after_uninstall = "bandhu_app.uninstall.after_uninstall" - -# Integration Setup -# ------------------ -# To set up dependencies/integrations with other apps -# Name of the app being installed is passed as an argument - -# before_app_install = "bandhu_app.utils.before_app_install" -# after_app_install = "bandhu_app.utils.after_app_install" - -# Integration Cleanup -# ------------------- -# To clean up dependencies/integrations with other apps -# Name of the app being uninstalled is passed as an argument - -# before_app_uninstall = "bandhu_app.utils.before_app_uninstall" -# after_app_uninstall = "bandhu_app.utils.after_app_uninstall" - -# Desk Notifications -# ------------------ -# See frappe.core.notifications.get_notification_config - -# notification_config = "bandhu_app.notifications.get_notification_config" - -# Permissions -# ----------- -# Permissions evaluated in scripted ways - -# permission_query_conditions = { -# "Event": "frappe.desk.doctype.event.event.get_permission_query_conditions", -# } -# -# has_permission = { -# "Event": "frappe.desk.doctype.event.event.has_permission", -# } - -# Document Events -# --------------- -# Hook on document methods and events - -# doc_events = { -# "*": { -# "on_update": "method", -# "on_cancel": "method", -# "on_trash": "method" -# } -# } - -# Scheduled Tasks -# --------------- - -# scheduler_events = { -# "all": [ -# "bandhu_app.tasks.all" -# ], -# "daily": [ -# "bandhu_app.tasks.daily" -# ], -# "hourly": [ -# "bandhu_app.tasks.hourly" -# ], -# "weekly": [ -# "bandhu_app.tasks.weekly" -# ], -# "monthly": [ -# "bandhu_app.tasks.monthly" -# ], -# } - -# Testing -# ------- - -# before_tests = "bandhu_app.install.before_tests" - -# Extend DocType Class -# ------------------------------ -# -# Specify custom mixins to extend the standard doctype controller. -# extend_doctype_class = { -# "Task": "bandhu_app.custom.task.CustomTaskMixin" -# } - -# Overriding Methods -# ------------------------------ -# -# override_whitelisted_methods = { -# "frappe.desk.doctype.event.event.get_events": "bandhu_app.event.get_events" -# } -# -# each overriding function accepts a `data` argument; -# generated from the base implementation of the doctype dashboard, -# along with any modifications made in other Frappe apps -# override_doctype_dashboards = { -# "Task": "bandhu_app.task.get_dashboard_data" -# } - -# exempt linked doctypes from being automatically cancelled -# -# auto_cancel_exempted_doctypes = ["Auto Repeat"] - -# Ignore links to specified DocTypes when deleting documents -# ----------------------------------------------------------- - -# ignore_links_on_delete = ["Communication", "ToDo"] - -# Request Events -# ---------------- -# before_request = ["bandhu_app.utils.before_request"] -# after_request = ["bandhu_app.utils.after_request"] - -# Job Events -# ---------- -# before_job = ["bandhu_app.utils.before_job"] -# after_job = ["bandhu_app.utils.after_job"] - -# User Data Protection -# -------------------- - -# user_data_fields = [ -# { -# "doctype": "{doctype_1}", -# "filter_by": "{filter_by}", -# "redact_fields": ["{field_1}", "{field_2}"], -# "partial": 1, -# }, -# { -# "doctype": "{doctype_2}", -# "filter_by": "{filter_by}", -# "partial": 1, -# }, -# { -# "doctype": "{doctype_3}", -# "strict": False, -# }, -# { -# "doctype": "{doctype_4}" -# } -# ] - -# Authentication and authorization -# -------------------------------- - -# auth_hooks = [ -# "bandhu_app.auth.validate" -# ] - -# Automatically update python controller files with type annotations for this app. -export_python_type_annotations = True - -# Require all whitelisted methods to have type annotations -require_type_annotated_api_methods = True - -# default_log_clearing_doctypes = { -# "Logging DocType Name": 30 # days to retain logs -# } - -# Translation -# ------------ -# List of apps whose translatable strings should be excluded from this app's translations. -# ignore_translatable_strings_from = [] - +app_name = "bandhu_app" +app_title = "Bandhu App" +app_publisher = "CMID" +app_description = "CMID" +app_email = "adypatanwar07@gmail.com" +app_license = "mit" + +# Apps +# ------------------ + +# required_apps = [] + +# Each item in the list will be shown as an app in the apps page +# add_to_apps_screen = [ +# { +# "name": "bandhu_app", +# "logo": "/assets/bandhu_app/logo.png", +# "title": "Bandhu App", +# "route": "/bandhu_app", +# "has_permission": "bandhu_app.api.permission.has_app_permission" +# } +# ] + +# Includes in +# ------------------ + +# include js, css files in header of desk.html +# app_include_css = "/assets/bandhu_app/css/bandhu_app.css" +# app_include_js = "/assets/bandhu_app/js/bandhu_app.js" + +# include js, css files in header of web template +# web_include_css = "/assets/bandhu_app/css/bandhu_app.css" +# web_include_js = "/assets/bandhu_app/js/bandhu_app.js" + +# include custom scss in every website theme (without file extension ".scss") +# website_theme_scss = "bandhu_app/public/scss/website" + +# include js, css files in header of web form +# webform_include_js = {"doctype": "public/js/doctype.js"} +# webform_include_css = {"doctype": "public/css/doctype.css"} + +# include js in page +# page_js = {"page" : "public/js/file.js"} + +# include js in doctype views +# doctype_js = {"doctype" : "public/js/doctype.js"} +# doctype_list_js = {"doctype" : "public/js/doctype_list.js"} +# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"} +# doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"} + +# Svg Icons +# ------------------ +# include app icons in desk +# app_include_icons = "bandhu_app/public/icons.svg" + +# Home Pages +# ---------- + +# application home page (will override Website Settings) +# home_page = "login" + +# website user home page (by Role) +# role_home_page = { +# "Role": "home_page" +# } + +# Generators +# ---------- + +# automatically create page for each record of this doctype +# website_generators = ["Web Page"] + +# automatically load and sync documents of this doctype from downstream apps +# importable_doctypes = [doctype_1] + +# Jinja +# ---------- + +# add methods and filters to jinja environment +# jinja = { +# "methods": "bandhu_app.utils.jinja_methods", +# "filters": "bandhu_app.utils.jinja_filters" +# } + +# Installation +# ------------ + +# before_install = "bandhu_app.install.before_install" +# after_install = "bandhu_app.install.after_install" + +# Uninstallation +# ------------ + +# before_uninstall = "bandhu_app.uninstall.before_uninstall" +# after_uninstall = "bandhu_app.uninstall.after_uninstall" + +# Integration Setup +# ------------------ +# To set up dependencies/integrations with other apps +# Name of the app being installed is passed as an argument + +# before_app_install = "bandhu_app.utils.before_app_install" +# after_app_install = "bandhu_app.utils.after_app_install" + +# Integration Cleanup +# ------------------- +# To clean up dependencies/integrations with other apps +# Name of the app being uninstalled is passed as an argument + +# before_app_uninstall = "bandhu_app.utils.before_app_uninstall" +# after_app_uninstall = "bandhu_app.utils.after_app_uninstall" + +# Desk Notifications +# ------------------ +# See frappe.core.notifications.get_notification_config + +# notification_config = "bandhu_app.notifications.get_notification_config" + +# Permissions +# ----------- +# Permissions evaluated in scripted ways + +# permission_query_conditions = { +# "Event": "frappe.desk.doctype.event.event.get_permission_query_conditions", +# } +# +# has_permission = { +# "Event": "frappe.desk.doctype.event.event.has_permission", +# } + +# Document Events +# --------------- +# Hook on document methods and events + +# doc_events = { +# "*": { +# "on_update": "method", +# "on_cancel": "method", +# "on_trash": "method" +# } +# } + +# Scheduled Tasks +# --------------- + +# scheduler_events = { +# "all": [ +# "bandhu_app.tasks.all" +# ], +# "daily": [ +# "bandhu_app.tasks.daily" +# ], +# "hourly": [ +# "bandhu_app.tasks.hourly" +# ], +# "weekly": [ +# "bandhu_app.tasks.weekly" +# ], +# "monthly": [ +# "bandhu_app.tasks.monthly" +# ], +# } + +# Testing +# ------- + +# before_tests = "bandhu_app.install.before_tests" + +# Extend DocType Class +# ------------------------------ +# +# Specify custom mixins to extend the standard doctype controller. +# extend_doctype_class = { +# "Task": "bandhu_app.custom.task.CustomTaskMixin" +# } + +# Overriding Methods +# ------------------------------ +# +# override_whitelisted_methods = { +# "frappe.desk.doctype.event.event.get_events": "bandhu_app.event.get_events" +# } +# +# each overriding function accepts a `data` argument; +# generated from the base implementation of the doctype dashboard, +# along with any modifications made in other Frappe apps +# override_doctype_dashboards = { +# "Task": "bandhu_app.task.get_dashboard_data" +# } + +# exempt linked doctypes from being automatically cancelled +# +# auto_cancel_exempted_doctypes = ["Auto Repeat"] + +# Ignore links to specified DocTypes when deleting documents +# ----------------------------------------------------------- + +# ignore_links_on_delete = ["Communication", "ToDo"] + +# Request Events +# ---------------- +# before_request = ["bandhu_app.utils.before_request"] +# after_request = ["bandhu_app.utils.after_request"] + +# Job Events +# ---------- +# before_job = ["bandhu_app.utils.before_job"] +# after_job = ["bandhu_app.utils.after_job"] + +# User Data Protection +# -------------------- + +# user_data_fields = [ +# { +# "doctype": "{doctype_1}", +# "filter_by": "{filter_by}", +# "redact_fields": ["{field_1}", "{field_2}"], +# "partial": 1, +# }, +# { +# "doctype": "{doctype_2}", +# "filter_by": "{filter_by}", +# "partial": 1, +# }, +# { +# "doctype": "{doctype_3}", +# "strict": False, +# }, +# { +# "doctype": "{doctype_4}" +# } +# ] + +# Authentication and authorization +# -------------------------------- + +# auth_hooks = [ +# "bandhu_app.auth.validate" +# ] + +# Automatically update python controller files with type annotations for this app. +export_python_type_annotations = True + +# Require all whitelisted methods to have type annotations +require_type_annotated_api_methods = True + +# default_log_clearing_doctypes = { +# "Logging DocType Name": 30 # days to retain logs +# } + +# Translation +# ------------ +# List of apps whose translatable strings should be excluded from this app's translations. +# ignore_translatable_strings_from = [] + +# fixtures = [ +# {"doctype": "Client Script"}, +# {"doctype": "Server Script"}, +# {"doctype": "Workflow"} +# ] + +doc_events = { + "Patient": { + "before_insert": "bandhu_app.bandhu_app.utils.custom_bandhu_id.set_bandhu_id", + "after_insert": "bandhu_app.bandhu_app.utils.patient_qr.create_patient_qr", + } +} diff --git a/bandhu_app/workspace_sidebar/admin.json b/bandhu_app/workspace_sidebar/admin.json new file mode 100644 index 0000000..1b2f219 --- /dev/null +++ b/bandhu_app/workspace_sidebar/admin.json @@ -0,0 +1,27 @@ +{ + "app": "bandhu_app", + "creation": "2026-04-17 12:44:18.952870", + "docstatus": 0, + "doctype": "Workspace Sidebar", + "idx": 0, + "items": [ + { + "child": 0, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Admin", + "link_to": "Admin", + "link_type": "Workspace", + "show_arrow": 0, + "type": "Link" + } + ], + "modified": "2026-04-27 17:54:23.360795", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Admin", + "owner": "Administrator", + "standard": 1, + "title": "Admin" +} diff --git a/bandhu_app/workspace_sidebar/bandhu.json b/bandhu_app/workspace_sidebar/bandhu.json new file mode 100644 index 0000000..1281df4 --- /dev/null +++ b/bandhu_app/workspace_sidebar/bandhu.json @@ -0,0 +1,27 @@ +{ + "app": "bandhu_app", + "creation": "2026-04-17 13:21:34.326485", + "docstatus": 0, + "doctype": "Workspace Sidebar", + "idx": 0, + "items": [ + { + "child": 0, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Bandhu", + "link_to": "Bandhu", + "link_type": "Workspace", + "show_arrow": 0, + "type": "Link" + } + ], + "modified": "2026-04-27 17:02:33.766362", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Bandhu", + "owner": "Administrator", + "standard": 1, + "title": "Bandhu" +} diff --git a/bandhu_app/workspace_sidebar/doctor.json b/bandhu_app/workspace_sidebar/doctor.json new file mode 100644 index 0000000..87d5ef7 --- /dev/null +++ b/bandhu_app/workspace_sidebar/doctor.json @@ -0,0 +1,27 @@ +{ + "app": "bandhu_app", + "creation": "2026-04-20 17:50:11.474973", + "docstatus": 0, + "doctype": "Workspace Sidebar", + "idx": 0, + "items": [ + { + "child": 0, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Doctor", + "link_to": "Doctor", + "link_type": "Workspace", + "show_arrow": 0, + "type": "Link" + } + ], + "modified": "2026-04-27 17:54:11.667267", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Doctor", + "owner": "Administrator", + "standard": 1, + "title": "Doctor" +} diff --git a/bandhu_app/workspace_sidebar/inventory.json b/bandhu_app/workspace_sidebar/inventory.json new file mode 100644 index 0000000..c89923e --- /dev/null +++ b/bandhu_app/workspace_sidebar/inventory.json @@ -0,0 +1,27 @@ +{ + "app": "bandhu_app", + "creation": "2026-04-22 07:25:20.072688", + "docstatus": 0, + "doctype": "Workspace Sidebar", + "idx": 0, + "items": [ + { + "child": 0, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Inventory", + "link_to": "Inventory", + "link_type": "Workspace", + "show_arrow": 0, + "type": "Link" + } + ], + "modified": "2026-04-27 17:52:18.756718", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Inventory", + "owner": "Administrator", + "standard": 1, + "title": "Inventory" +} diff --git a/bandhu_app/workspace_sidebar/nurse.json b/bandhu_app/workspace_sidebar/nurse.json new file mode 100644 index 0000000..cf6caea --- /dev/null +++ b/bandhu_app/workspace_sidebar/nurse.json @@ -0,0 +1,26 @@ +{ + "app": "bandhu_app", + "creation": "2026-04-27 17:58:58.384585", + "docstatus": 0, + "doctype": "Workspace Sidebar", + "idx": 0, + "items": [ + { + "child": 0, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Nurse", + "link_to": "Nurse", + "link_type": "Workspace", + "show_arrow": 0, + "type": "Link" + } + ], + "modified": "2026-04-27 17:59:39.447743", + "modified_by": "Administrator", + "name": "Nurse", + "owner": "Administrator", + "standard": 1, + "title": "Nurse" +} diff --git a/bandhu_app/workspace_sidebar/pharmacist.json b/bandhu_app/workspace_sidebar/pharmacist.json new file mode 100644 index 0000000..7af5a85 --- /dev/null +++ b/bandhu_app/workspace_sidebar/pharmacist.json @@ -0,0 +1,27 @@ +{ + "app": "bandhu_app", + "creation": "2026-04-17 12:44:11.038788", + "docstatus": 0, + "doctype": "Workspace Sidebar", + "idx": 0, + "items": [ + { + "child": 0, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Pharmacist", + "link_to": "Pharmacist", + "link_type": "Workspace", + "show_arrow": 0, + "type": "Link" + } + ], + "modified": "2026-04-27 17:54:39.235033", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Pharmacist", + "owner": "Administrator", + "standard": 1, + "title": "Pharmacist" +} diff --git a/bandhu_app/workspace_sidebar/referrals.json b/bandhu_app/workspace_sidebar/referrals.json new file mode 100644 index 0000000..753ea35 --- /dev/null +++ b/bandhu_app/workspace_sidebar/referrals.json @@ -0,0 +1,27 @@ +{ + "app": "bandhu_app", + "creation": "2026-04-22 07:25:06.944193", + "docstatus": 0, + "doctype": "Workspace Sidebar", + "idx": 0, + "items": [ + { + "child": 0, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Referrals", + "link_to": "Referrals", + "link_type": "Workspace", + "show_arrow": 0, + "type": "Link" + } + ], + "modified": "2026-04-27 17:54:00.816931", + "modified_by": "Administrator", + "module": "Bandhu App", + "name": "Referrals", + "owner": "Administrator", + "standard": 1, + "title": "Referrals" +} diff --git a/pyproject.toml b/pyproject.toml index 3edd0d6..391dd20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,61 +1,62 @@ -[project] -name = "bandhu_app" -authors = [ - { name = "CMID", email = "adypatanwar07@gmail.com"} -] -description = "CMID" -requires-python = ">=3.14" -readme = "README.md" -dynamic = ["version"] -dependencies = [ - # "frappe~=16.0.0" # Installed and managed by bench. -] - -[build-system] -requires = ["flit_core >=3.4,<4"] -build-backend = "flit_core.buildapi" - -# These dependencies are only installed when developer mode is enabled -[tool.bench.dev-dependencies] -# package_name = "~=1.1.0" - -[tool.ruff] -line-length = 110 -target-version = "py314" - -[tool.ruff.lint] -select = [ - "F", - "E", - "W", - "I", - "UP", - "B", - "RUF", -] -ignore = [ - "B017", # assertRaises(Exception) - should be more specific - "B018", # useless expression, not assigned to anything - "B023", # function doesn't bind loop variable - will have last iteration's value - "B904", # raise inside except without from - "E101", # indentation contains mixed spaces and tabs - "E402", # module level import not at top of file - "E501", # line too long - "E741", # ambiguous variable name - "F401", # "unused" imports - "F403", # can't detect undefined names from * import - "F405", # can't detect undefined names from * import - "F722", # syntax error in forward type annotation - "W191", # indentation contains tabs - "UP030", # Use implicit references for positional format fields (translations) - "UP031", # Use format specifiers instead of percent format - "UP032", # Use f-string instead of `format` call (translations) - "UP037", # quoted annotations - "UP040", # Use type aliases instead of type annotations -] -typing-modules = ["frappe.types.DF"] - -[tool.ruff.format] -quote-style = "double" -indent-style = "tab" -docstring-code-format = true +[project] +name = "bandhu_app" +authors = [ + { name = "CMID", email = "adypatanwar07@gmail.com"} +] +description = "CMID" +requires-python = ">=3.14" +readme = "README.md" +dynamic = ["version"] +dependencies = [ + # "frappe~=16.0.0" # Installed and managed by bench. + "qrcode[pil]==8.2" +] + +[build-system] +requires = ["flit_core >=3.4,<4"] +build-backend = "flit_core.buildapi" + +# These dependencies are only installed when developer mode is enabled +[tool.bench.dev-dependencies] +# package_name = "~=1.1.0" + +[tool.ruff] +line-length = 110 +target-version = "py314" + +[tool.ruff.lint] +select = [ + "F", + "E", + "W", + "I", + "UP", + "B", + "RUF", +] +ignore = [ + "B017", # assertRaises(Exception) - should be more specific + "B018", # useless expression, not assigned to anything + "B023", # function doesn't bind loop variable - will have last iteration's value + "B904", # raise inside except without from + "E101", # indentation contains mixed spaces and tabs + "E402", # module level import not at top of file + "E501", # line too long + "E741", # ambiguous variable name + "F401", # "unused" imports + "F403", # can't detect undefined names from * import + "F405", # can't detect undefined names from * import + "F722", # syntax error in forward type annotation + "W191", # indentation contains tabs + "UP030", # Use implicit references for positional format fields (translations) + "UP031", # Use format specifiers instead of percent format + "UP032", # Use f-string instead of `format` call (translations) + "UP037", # quoted annotations + "UP040", # Use type aliases instead of type annotations +] +typing-modules = ["frappe.types.DF"] + +[tool.ruff.format] +quote-style = "double" +indent-style = "tab" +docstring-code-format = true