235 lines
4.6 KiB
JSON
235 lines
4.6 KiB
JSON
|
{
|
||
|
"accept_payment": 0,
|
||
|
"allow_comments": 0,
|
||
|
"allow_delete": 0,
|
||
|
"allow_edit": 1,
|
||
|
"allow_incomplete": 0,
|
||
|
"allow_multiple": 1,
|
||
|
"allow_print": 1,
|
||
|
"amount": 0.0,
|
||
|
"amount_based_on_field": 0,
|
||
|
"creation": "2017-06-06 16:12:33.052258",
|
||
|
"currency": "INR",
|
||
|
"doc_type": "Lab Test",
|
||
|
"docstatus": 0,
|
||
|
"doctype": "Web Form",
|
||
|
"idx": 0,
|
||
|
"introduction_text": "Lab Test",
|
||
|
"is_standard": 1,
|
||
|
"login_required": 1,
|
||
|
"max_attachment_size": 0,
|
||
|
"modified": "2017-06-07 16:03:06.781364",
|
||
|
"modified_by": "Administrator",
|
||
|
"module": "Healthcare",
|
||
|
"name": "lab-test",
|
||
|
"owner": "Administrator",
|
||
|
"payment_button_label": "Buy Now",
|
||
|
"print_format": "Lab Test Print",
|
||
|
"published": 1,
|
||
|
"route": "lab-test",
|
||
|
"show_sidebar": 1,
|
||
|
"sidebar_items": [],
|
||
|
"success_url": "/lab-test",
|
||
|
"title": "Lab Test",
|
||
|
"web_form_fields": [
|
||
|
{
|
||
|
"fieldname": "naming_series",
|
||
|
"fieldtype": "Select",
|
||
|
"hidden": 0,
|
||
|
"label": "Series",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "LP-",
|
||
|
"read_only": 0,
|
||
|
"reqd": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "invoice",
|
||
|
"fieldtype": "Link",
|
||
|
"hidden": 0,
|
||
|
"label": "Invoice",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Sales Invoice",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "patient",
|
||
|
"fieldtype": "Link",
|
||
|
"hidden": 0,
|
||
|
"label": "Patient",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Patient",
|
||
|
"read_only": 0,
|
||
|
"reqd": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "patient_name",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Patient Name",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "patient.patient_name",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "physician",
|
||
|
"fieldtype": "Link",
|
||
|
"hidden": 0,
|
||
|
"label": "Doctor",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Physician",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "status",
|
||
|
"fieldtype": "Select",
|
||
|
"hidden": 0,
|
||
|
"label": "Status",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Draft\nCompleted\nApproved\nRejected\nCancelled",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "department",
|
||
|
"fieldtype": "Link",
|
||
|
"hidden": 0,
|
||
|
"label": "Department",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Medical Department",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "sample",
|
||
|
"fieldtype": "Link",
|
||
|
"hidden": 0,
|
||
|
"label": "Sample ID",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Sample Collection",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"default": "",
|
||
|
"fieldname": "result_date",
|
||
|
"fieldtype": "Date",
|
||
|
"hidden": 0,
|
||
|
"label": "Result Date",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "report_preference",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Report Preference",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "test_name",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Test Name",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "normal_test_items",
|
||
|
"fieldtype": "Table",
|
||
|
"hidden": 0,
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Normal Test Items",
|
||
|
"read_only": 1,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "special_test_items",
|
||
|
"fieldtype": "Table",
|
||
|
"hidden": 0,
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Special Test Items",
|
||
|
"read_only": 1,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "sensitivity_test_items",
|
||
|
"fieldtype": "Table",
|
||
|
"hidden": 0,
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"options": "Sensitivity Test Items",
|
||
|
"read_only": 1,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "test_comment",
|
||
|
"fieldtype": "Text",
|
||
|
"hidden": 0,
|
||
|
"label": "Comments",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 1,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "custom_result",
|
||
|
"fieldtype": "Text Editor",
|
||
|
"hidden": 0,
|
||
|
"label": "Custom Result",
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 1,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"default": "0",
|
||
|
"fieldname": "sensitivity_toggle",
|
||
|
"fieldtype": "Check",
|
||
|
"hidden": 1,
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"default": "0",
|
||
|
"fieldname": "special_toggle",
|
||
|
"fieldtype": "Check",
|
||
|
"hidden": 1,
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"default": "0",
|
||
|
"fieldname": "normal_toggle",
|
||
|
"fieldtype": "Check",
|
||
|
"hidden": 1,
|
||
|
"max_length": 0,
|
||
|
"max_value": 0,
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
}
|
||
|
]
|
||
|
}
|