mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
fix: codacy
This commit is contained in:
@@ -40,8 +40,7 @@
|
|||||||
"charts": [
|
"charts": [
|
||||||
{
|
{
|
||||||
"chart_name": "Patient Appointments",
|
"chart_name": "Patient Appointments",
|
||||||
"label": "Patient Appointments",
|
"label": "Patient Appointments"
|
||||||
"size": "Full"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"charts_label": "",
|
"charts_label": "",
|
||||||
@@ -54,7 +53,7 @@
|
|||||||
"idx": 0,
|
"idx": 0,
|
||||||
"is_standard": 1,
|
"is_standard": 1,
|
||||||
"label": "Healthcare",
|
"label": "Healthcare",
|
||||||
"modified": "2020-03-12 16:30:36.952979",
|
"modified": "2020-03-26 16:10:44.629795",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Healthcare",
|
"module": "Healthcare",
|
||||||
"name": "Healthcare",
|
"name": "Healthcare",
|
||||||
@@ -81,7 +80,7 @@
|
|||||||
"format": "{} Vacant",
|
"format": "{} Vacant",
|
||||||
"is_query_report": 0,
|
"is_query_report": 0,
|
||||||
"link_to": "Healthcare Service Unit",
|
"link_to": "Healthcare Service Unit",
|
||||||
"stats_filter": "{\n \"occupancy_status\": \"Vacant\"\n}",
|
"stats_filter": "{\n \"occupancy_status\": \"Vacant\",\n \"is_group\": 0\n}",
|
||||||
"type": "DocType"
|
"type": "DocType"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ frappe.ui.form.on('Clinical Procedure', {
|
|||||||
if (r.message) {
|
if (r.message) {
|
||||||
frappe.show_alert({
|
frappe.show_alert({
|
||||||
message: __('Stock Entry {0} created',
|
message: __('Stock Entry {0} created',
|
||||||
['<a class="bold" href="#Form/Stock Entry/'+ r.message + '">' + r.message + '</a>']),
|
['<a class="bold" href="#Form/Stock Entry/'+ r.message + '">' + r.message + '</a>']),
|
||||||
indicator: 'green'
|
indicator: 'green'
|
||||||
});
|
});
|
||||||
frm.reload_doc();
|
frm.reload_doc();
|
||||||
@@ -261,7 +261,7 @@ frappe.ui.form.on('Clinical Procedure', {
|
|||||||
},
|
},
|
||||||
callback: function(data) {
|
callback: function(data) {
|
||||||
if (data.message) {
|
if (data.message) {
|
||||||
frm.doc.items = []
|
frm.doc.items = [];
|
||||||
$.each(data.message, function(i, v) {
|
$.each(data.message, function(i, v) {
|
||||||
let item = frm.add_child('items');
|
let item = frm.add_child('items');
|
||||||
item.item_code = v.item_code;
|
item.item_code = v.item_code;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe.utils import cint, flt, nowdate, nowtime, cstr
|
from frappe.utils import flt, nowdate, nowtime, cstr
|
||||||
from erpnext.healthcare.doctype.healthcare_settings.healthcare_settings import get_account
|
from erpnext.healthcare.doctype.healthcare_settings.healthcare_settings import get_account
|
||||||
from erpnext.healthcare.doctype.lab_test.lab_test import create_sample_doc
|
from erpnext.healthcare.doctype.lab_test.lab_test import create_sample_doc
|
||||||
from erpnext.stock.stock_ledger import get_previous_sle
|
from erpnext.stock.stock_ledger import get_previous_sle
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ frappe.listview_settings['Clinical Procedure'] = {
|
|||||||
get_indicator: function(doc) {
|
get_indicator: function(doc) {
|
||||||
var colors = {
|
var colors = {
|
||||||
'Completed': 'green',
|
'Completed': 'green',
|
||||||
'In Progress': 'orange',
|
'In Progress': 'orange',
|
||||||
'Pending': 'orange',
|
'Pending': 'orange',
|
||||||
'Cancelled': 'grey'
|
'Cancelled': 'grey'
|
||||||
};
|
};
|
||||||
return [__(doc.status), colors[doc.status], 'status,=,' + doc.status];
|
return [__(doc.status), colors[doc.status], 'status,=,' + doc.status];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
import frappe
|
import frappe
|
||||||
from frappe.utils import nowdate
|
|
||||||
from erpnext.healthcare.doctype.patient_appointment.test_patient_appointment import create_healthcare_docs, create_clinical_procedure_template
|
from erpnext.healthcare.doctype.patient_appointment.test_patient_appointment import create_healthcare_docs, create_clinical_procedure_template
|
||||||
|
|
||||||
class TestClinicalProcedure(unittest.TestCase):
|
class TestClinicalProcedure(unittest.TestCase):
|
||||||
@@ -33,7 +32,7 @@ class TestClinicalProcedure(unittest.TestCase):
|
|||||||
procedure = create_procedure(procedure_template, patient, practitioner)
|
procedure = create_procedure(procedure_template, patient, practitioner)
|
||||||
result = procedure.start_procedure()
|
result = procedure.start_procedure()
|
||||||
if result == 'insufficient stock':
|
if result == 'insufficient stock':
|
||||||
material_receipt = procedure.make_material_receipt(submit=True)
|
procedure.make_material_receipt(submit=True)
|
||||||
result = procedure.start_procedure()
|
result = procedure.start_procedure()
|
||||||
self.assertEqual(procedure.status, 'In Progress')
|
self.assertEqual(procedure.status, 'In Progress')
|
||||||
result = procedure.complete_procedure()
|
result = procedure.complete_procedure()
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import frappe, json
|
|||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe.model.rename_doc import rename_doc
|
from frappe.model.rename_doc import rename_doc
|
||||||
from frappe.utils import nowdate
|
|
||||||
|
|
||||||
class ClinicalProcedureTemplate(Document):
|
class ClinicalProcedureTemplate(Document):
|
||||||
def validate(self):
|
def validate(self):
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ class FeeValidity(Document):
|
|||||||
self.set_start_date()
|
self.set_start_date()
|
||||||
|
|
||||||
def update_status(self):
|
def update_status(self):
|
||||||
valid_till = getdate(self.valid_till)
|
|
||||||
start_date = getdate(self.start_date)
|
|
||||||
if self.visited >= self.max_visits:
|
if self.visited >= self.max_visits:
|
||||||
self.status = 'Completed'
|
self.status = 'Completed'
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
import frappe
|
import frappe
|
||||||
import unittest
|
import unittest
|
||||||
from frappe.utils.make_random import get_random
|
from frappe.utils import nowdate, add_days
|
||||||
from frappe.utils import nowdate, add_days, getdate
|
|
||||||
from erpnext.healthcare.doctype.patient_appointment.test_patient_appointment import create_healthcare_docs, create_appointment
|
from erpnext.healthcare.doctype.patient_appointment.test_patient_appointment import create_healthcare_docs, create_appointment
|
||||||
|
|
||||||
test_dependencies = ["Company"]
|
test_dependencies = ["Company"]
|
||||||
|
|||||||
@@ -5,8 +5,7 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import frappe
|
import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe import throw, _
|
from frappe import _
|
||||||
from frappe.utils import cstr
|
|
||||||
from erpnext.accounts.party import validate_party_accounts
|
from erpnext.accounts.party import validate_party_accounts
|
||||||
from frappe.contacts.address_and_contact import load_address_and_contact, delete_contact_and_address
|
from frappe.contacts.address_and_contact import load_address_and_contact, delete_contact_and_address
|
||||||
from frappe.model.naming import append_number_if_name_exists
|
from frappe.model.naming import append_number_if_name_exists
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
"document_type": "Setup",
|
"document_type": "Setup",
|
||||||
"editable_grid": 1,
|
"editable_grid": 1,
|
||||||
|
"engine": "InnoDB",
|
||||||
"field_order": [
|
"field_order": [
|
||||||
"healthcare_service_unit_name",
|
"healthcare_service_unit_name",
|
||||||
"parent_healthcare_service_unit",
|
"parent_healthcare_service_unit",
|
||||||
@@ -100,7 +101,7 @@
|
|||||||
"fieldtype": "Select",
|
"fieldtype": "Select",
|
||||||
"label": "Occupancy Status",
|
"label": "Occupancy Status",
|
||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"options": "Vacant\nOccupied",
|
"options": "\nVacant\nOccupied",
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -158,13 +159,11 @@
|
|||||||
"report_hide": 1
|
"report_hide": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"is_tree": 1,
|
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2020-01-30 18:03:29.031351",
|
"modified": "2020-03-26 16:13:08.675952",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Healthcare",
|
"module": "Healthcare",
|
||||||
"name": "Healthcare Service Unit",
|
"name": "Healthcare Service Unit",
|
||||||
"nsm_parent_field": "parent_healthcare_service_unit",
|
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -49,7 +49,8 @@ class HealthcareServiceUnitType(Document):
|
|||||||
|
|
||||||
|
|
||||||
def item_price_exists(doc):
|
def item_price_exists(doc):
|
||||||
if frappe.db.exists({'doctype': 'Item Price', 'item_code': doc.item_code}):
|
item_price = frappe.db.exists({'doctype': 'Item Price', 'item_code': doc.item_code})
|
||||||
|
if len(item_price):
|
||||||
return item_price[0][0]
|
return item_price[0][0]
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe.utils import cint, cstr, getdate, flt
|
from frappe.utils import cint, cstr, getdate
|
||||||
import dateutil
|
import dateutil
|
||||||
from frappe.model.naming import set_name_by_naming_series
|
from frappe.model.naming import set_name_by_naming_series
|
||||||
from erpnext.healthcare.doctype.healthcare_settings.healthcare_settings import get_receivable_account, get_income_account, send_registration_sms
|
from erpnext.healthcare.doctype.healthcare_settings.healthcare_settings import get_receivable_account, get_income_account, send_registration_sms
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
import json
|
import json
|
||||||
from frappe.utils import getdate, add_days, get_time
|
from frappe.utils import getdate, get_time
|
||||||
from frappe.model.mapper import get_mapped_doc
|
from frappe.model.mapper import get_mapped_doc
|
||||||
from frappe import _
|
from frappe import _
|
||||||
import datetime
|
import datetime
|
||||||
@@ -174,7 +174,7 @@ def cancel_appointment(appointment_id):
|
|||||||
if sales_invoice and cancel_sales_invoice(sales_invoice):
|
if sales_invoice and cancel_sales_invoice(sales_invoice):
|
||||||
msg = _('Appointment {0} and Sales Invoice {1} cancelled').format(appointment.name, sales_invoice.name)
|
msg = _('Appointment {0} and Sales Invoice {1} cancelled').format(appointment.name, sales_invoice.name)
|
||||||
else:
|
else:
|
||||||
msg = _('Appointment Cancelled. Please review and cancel the invoice {0}').format(fee_validity.ref_invoice)
|
msg = _('Appointment Cancelled. Please review and cancel the invoice {0}').format(sales_invoice.name)
|
||||||
else:
|
else:
|
||||||
fee_validity = manage_fee_validity(appointment)
|
fee_validity = manage_fee_validity(appointment)
|
||||||
msg = _('Appointment Cancelled.')
|
msg = _('Appointment Cancelled.')
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ from __future__ import unicode_literals
|
|||||||
import unittest
|
import unittest
|
||||||
import frappe
|
import frappe
|
||||||
from erpnext.healthcare.doctype.patient_appointment.patient_appointment import update_status
|
from erpnext.healthcare.doctype.patient_appointment.patient_appointment import update_status
|
||||||
from frappe.utils import nowdate, add_days, getdate
|
from frappe.utils import nowdate, add_days
|
||||||
from frappe.utils.make_random import get_random
|
from frappe.utils.make_random import get_random
|
||||||
|
|
||||||
class TestPatientAppointment(unittest.TestCase):
|
class TestPatientAppointment(unittest.TestCase):
|
||||||
@@ -72,13 +72,13 @@ def create_healthcare_docs():
|
|||||||
medical_department = frappe.new_doc('Medical Department')
|
medical_department = frappe.new_doc('Medical Department')
|
||||||
medical_department.department = '_Test Medical Department'
|
medical_department.department = '_Test Medical Department'
|
||||||
medical_department.save(ignore_permissions=True)
|
medical_department.save(ignore_permissions=True)
|
||||||
department = medical_department.name
|
medical_department = medical_department.name
|
||||||
|
|
||||||
if not practitioner:
|
if not practitioner:
|
||||||
practitioner = frappe.new_doc('Healthcare Practitioner')
|
practitioner = frappe.new_doc('Healthcare Practitioner')
|
||||||
practitioner.first_name = '_Test Healthcare Practitioner'
|
practitioner.first_name = '_Test Healthcare Practitioner'
|
||||||
practitioner.gender = 'Female'
|
practitioner.gender = 'Female'
|
||||||
practitioner.department = department
|
practitioner.department = medical_department
|
||||||
practitioner.op_consulting_charge = 500
|
practitioner.op_consulting_charge = 500
|
||||||
practitioner.save(ignore_permissions=True)
|
practitioner.save(ignore_permissions=True)
|
||||||
practitioner = practitioner.name
|
practitioner = practitioner.name
|
||||||
|
|||||||
@@ -14,14 +14,14 @@ class PatientEncounter(Document):
|
|||||||
update_encounter_medical_record(self)
|
update_encounter_medical_record(self)
|
||||||
|
|
||||||
def after_insert(self):
|
def after_insert(self):
|
||||||
insert_encounter_medical_record(self)
|
insert_encounter_to_medical_record(self)
|
||||||
|
|
||||||
def on_cancel(self):
|
def on_cancel(self):
|
||||||
if self.appointment:
|
if self.appointment:
|
||||||
frappe.db.set_value('Patient Appointment', self.appointment, 'status', 'Open')
|
frappe.db.set_value('Patient Appointment', self.appointment, 'status', 'Open')
|
||||||
delete_medical_record(self)
|
delete_medical_record(self)
|
||||||
|
|
||||||
def insert_encounter_medical_record(doc):
|
def insert_encounter_to_medical_record(doc):
|
||||||
subject = set_subject_field(doc)
|
subject = set_subject_field(doc)
|
||||||
medical_record = frappe.new_doc('Patient Medical Record')
|
medical_record = frappe.new_doc('Patient Medical Record')
|
||||||
medical_record.patient = doc.patient
|
medical_record.patient = doc.patient
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
// For license information, please see license.txt
|
// For license information, please see license.txt
|
||||||
|
|
||||||
frappe.ui.form.on('Vital Signs', {
|
frappe.ui.form.on('Vital Signs', {
|
||||||
refresh: function(frm) {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
height: function(frm) {
|
height: function(frm) {
|
||||||
if (frm.doc.height && frm.doc.weight) {
|
if (frm.doc.height && frm.doc.weight) {
|
||||||
calculate_bmi(frm);
|
calculate_bmi(frm);
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ def execute(filters=None):
|
|||||||
|
|
||||||
class Analytics(object):
|
class Analytics(object):
|
||||||
def __init__(self, filters=None):
|
def __init__(self, filters=None):
|
||||||
|
"""Patient Appointment Analytics Report"""
|
||||||
self.filters = frappe._dict(filters or {})
|
self.filters = frappe._dict(filters or {})
|
||||||
self.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
|
self.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
|
||||||
self.get_period_date_ranges()
|
self.get_period_date_ranges()
|
||||||
|
|||||||
@@ -4,10 +4,9 @@
|
|||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import frappe
|
import frappe
|
||||||
import datetime
|
|
||||||
from frappe import _
|
from frappe import _
|
||||||
import math
|
import math
|
||||||
from frappe.utils import time_diff_in_hours, rounded, getdate, add_days
|
from frappe.utils import time_diff_in_hours, rounded
|
||||||
from erpnext.healthcare.doctype.healthcare_settings.healthcare_settings import get_income_account
|
from erpnext.healthcare.doctype.healthcare_settings.healthcare_settings import get_income_account
|
||||||
from erpnext.healthcare.doctype.fee_validity.fee_validity import create_fee_validity
|
from erpnext.healthcare.doctype.fee_validity.fee_validity import create_fee_validity
|
||||||
from erpnext.healthcare.doctype.lab_test.lab_test import create_multiple
|
from erpnext.healthcare.doctype.lab_test.lab_test import create_multiple
|
||||||
@@ -171,7 +170,7 @@ def get_clinical_procedures_to_invoice(patient):
|
|||||||
|
|
||||||
for prescription in procedure_prescriptions:
|
for prescription in procedure_prescriptions:
|
||||||
if frappe.db.get_value('Clinical Procedure Template', prescription.procedure, 'is_billable'):
|
if frappe.db.get_value('Clinical Procedure Template', prescription.procedure, 'is_billable'):
|
||||||
items_to_invoice.append({
|
clinical_procedures_to_invoice.append({
|
||||||
'reference_type': 'Procedure Prescription',
|
'reference_type': 'Procedure Prescription',
|
||||||
'reference_name': prescription.name,
|
'reference_name': prescription.name,
|
||||||
'service': frappe.db.get_value('Clinical Procedure Template', prescription.procedure, 'item')
|
'service': frappe.db.get_value('Clinical Procedure Template', prescription.procedure, 'item')
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
frappe.ready(function() {
|
frappe.ready(function() {
|
||||||
// bind events here
|
// bind events here
|
||||||
})
|
});
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
"is_standard": 1,
|
"is_standard": 1,
|
||||||
"login_required": 0,
|
"login_required": 0,
|
||||||
"max_attachment_size": 0,
|
"max_attachment_size": 0,
|
||||||
"modified": "2020-03-03 01:07:46.147376",
|
"modified": "2020-03-26 17:25:15.361918",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Healthcare",
|
"module": "Healthcare",
|
||||||
"name": "patient-registration",
|
"name": "patient-registration",
|
||||||
@@ -306,12 +306,12 @@
|
|||||||
"allow_read_on_all_link_options": 0,
|
"allow_read_on_all_link_options": 0,
|
||||||
"default": "0",
|
"default": "0",
|
||||||
"fieldname": "tobacco_past_use",
|
"fieldname": "tobacco_past_use",
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Check",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
"label": "Do you have a history of Tobacco Consumption?",
|
"label": "Check if you have a history of Tobacco Consumption",
|
||||||
"max_length": 0,
|
"max_length": 0,
|
||||||
"max_value": 0,
|
"max_value": 0,
|
||||||
"options": "Yes\nNo",
|
"options": "",
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 0,
|
"reqd": 0,
|
||||||
"show_in_filter": 0
|
"show_in_filter": 0
|
||||||
@@ -320,12 +320,12 @@
|
|||||||
"allow_read_on_all_link_options": 0,
|
"allow_read_on_all_link_options": 0,
|
||||||
"default": "0",
|
"default": "0",
|
||||||
"fieldname": "tobacco_current_use",
|
"fieldname": "tobacco_current_use",
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Check",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
"label": "Do you consume Tobacco in the present? ",
|
"label": "Check if you consume Tobacco",
|
||||||
"max_length": 0,
|
"max_length": 0,
|
||||||
"max_value": 0,
|
"max_value": 0,
|
||||||
"options": "Yes\nNo",
|
"options": "",
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 0,
|
"reqd": 0,
|
||||||
"show_in_filter": 0
|
"show_in_filter": 0
|
||||||
@@ -334,12 +334,12 @@
|
|||||||
"allow_read_on_all_link_options": 0,
|
"allow_read_on_all_link_options": 0,
|
||||||
"default": "0",
|
"default": "0",
|
||||||
"fieldname": "alcohol_past_use",
|
"fieldname": "alcohol_past_use",
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Check",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
"label": "Do you have a history of Alcohol Consumption?",
|
"label": "Check if you have a history of Alcohol Consumption",
|
||||||
"max_length": 0,
|
"max_length": 0,
|
||||||
"max_value": 0,
|
"max_value": 0,
|
||||||
"options": "Yes\nNo",
|
"options": "",
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 0,
|
"reqd": 0,
|
||||||
"show_in_filter": 0
|
"show_in_filter": 0
|
||||||
@@ -348,12 +348,12 @@
|
|||||||
"allow_read_on_all_link_options": 0,
|
"allow_read_on_all_link_options": 0,
|
||||||
"default": "0",
|
"default": "0",
|
||||||
"fieldname": "alcohol_current_use",
|
"fieldname": "alcohol_current_use",
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Check",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
"label": "Do you consume Alcohol in the present? ",
|
"label": "Check if you consume Alcohol",
|
||||||
"max_length": 0,
|
"max_length": 0,
|
||||||
"max_value": 0,
|
"max_value": 0,
|
||||||
"options": "Yes\nNo",
|
"options": "",
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 0,
|
"reqd": 0,
|
||||||
"show_in_filter": 0
|
"show_in_filter": 0
|
||||||
|
|||||||
Reference in New Issue
Block a user