2017-10-17 07:00:34 +00:00
|
|
|
data = {
|
|
|
|
'desktop_icons': [
|
|
|
|
'Patient',
|
|
|
|
'Patient Appointment',
|
2018-07-16 12:38:53 +00:00
|
|
|
'Patient Encounter',
|
2017-10-17 07:00:34 +00:00
|
|
|
'Lab Test',
|
|
|
|
'Healthcare',
|
2018-10-10 09:14:36 +00:00
|
|
|
'Vital Signs',
|
|
|
|
'Clinical Procedure',
|
|
|
|
'Inpatient Record',
|
2017-10-17 07:00:34 +00:00
|
|
|
'Accounts',
|
|
|
|
'Buying',
|
|
|
|
'Stock',
|
|
|
|
'HR',
|
|
|
|
'ToDo'
|
|
|
|
],
|
|
|
|
'default_portal_role': 'Patient',
|
|
|
|
'restricted_roles': [
|
|
|
|
'Healthcare Administrator',
|
|
|
|
'LabTest Approver',
|
|
|
|
'Laboratory User',
|
|
|
|
'Nursing User',
|
|
|
|
'Physician',
|
|
|
|
'Patient'
|
|
|
|
],
|
|
|
|
'custom_fields': {
|
2018-07-06 10:28:13 +00:00
|
|
|
'Sales Invoice': [
|
|
|
|
{
|
|
|
|
'fieldname': 'patient', 'label': 'Patient', 'fieldtype': 'Link', 'options': 'Patient',
|
|
|
|
'insert_after': 'naming_series'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'fieldname': 'patient_name', 'label': 'Patient Name', 'fieldtype': 'Data', 'fetch_from': 'patient.patient_name',
|
|
|
|
'insert_after': 'patient', 'read_only': True
|
|
|
|
},
|
|
|
|
{
|
2018-07-13 15:40:14 +00:00
|
|
|
'fieldname': 'ref_practitioner', 'label': 'Referring Practitioner', 'fieldtype': 'Link', 'options': 'Healthcare Practitioner',
|
2018-07-06 10:28:13 +00:00
|
|
|
'insert_after': 'customer'
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'Sales Invoice Item': [
|
|
|
|
{
|
|
|
|
'fieldname': 'reference_dt', 'label': 'Reference DocType', 'fieldtype': 'Link', 'options': 'DocType',
|
|
|
|
'insert_after': 'edit_references'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'fieldname': 'reference_dn', 'label': 'Reference Name', 'fieldtype': 'Dynamic Link', 'options': 'reference_dt',
|
|
|
|
'insert_after': 'reference_dt'
|
|
|
|
}
|
|
|
|
]
|
2017-10-17 07:00:34 +00:00
|
|
|
},
|
|
|
|
'on_setup': 'erpnext.healthcare.setup.setup_healthcare'
|
2018-07-16 12:38:53 +00:00
|
|
|
}
|