Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 1 | data = { |
| 2 | 'desktop_icons': [ |
| 3 | 'Patient', |
| 4 | 'Patient Appointment', |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 5 | 'Patient Encounter', |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 6 | 'Lab Test', |
| 7 | 'Healthcare', |
Jamsheer | 14c6ab0 | 2018-10-10 14:44:36 +0530 | [diff] [blame] | 8 | 'Vital Signs', |
| 9 | 'Clinical Procedure', |
| 10 | 'Inpatient Record', |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 11 | 'Accounts', |
| 12 | 'Buying', |
| 13 | 'Stock', |
| 14 | 'HR', |
| 15 | 'ToDo' |
| 16 | ], |
| 17 | 'default_portal_role': 'Patient', |
| 18 | 'restricted_roles': [ |
| 19 | 'Healthcare Administrator', |
| 20 | 'LabTest Approver', |
| 21 | 'Laboratory User', |
| 22 | 'Nursing User', |
| 23 | 'Physician', |
| 24 | 'Patient' |
| 25 | ], |
| 26 | 'custom_fields': { |
Jamsheer | ba11972 | 2018-07-06 15:58:13 +0530 | [diff] [blame] | 27 | 'Sales Invoice': [ |
| 28 | { |
| 29 | 'fieldname': 'patient', 'label': 'Patient', 'fieldtype': 'Link', 'options': 'Patient', |
| 30 | 'insert_after': 'naming_series' |
| 31 | }, |
| 32 | { |
| 33 | 'fieldname': 'patient_name', 'label': 'Patient Name', 'fieldtype': 'Data', 'fetch_from': 'patient.patient_name', |
| 34 | 'insert_after': 'patient', 'read_only': True |
| 35 | }, |
| 36 | { |
Jamsheer | 54ae74e | 2018-07-13 21:10:14 +0530 | [diff] [blame] | 37 | 'fieldname': 'ref_practitioner', 'label': 'Referring Practitioner', 'fieldtype': 'Link', 'options': 'Healthcare Practitioner', |
Jamsheer | ba11972 | 2018-07-06 15:58:13 +0530 | [diff] [blame] | 38 | 'insert_after': 'customer' |
| 39 | } |
| 40 | ], |
| 41 | 'Sales Invoice Item': [ |
| 42 | { |
| 43 | 'fieldname': 'reference_dt', 'label': 'Reference DocType', 'fieldtype': 'Link', 'options': 'DocType', |
| 44 | 'insert_after': 'edit_references' |
| 45 | }, |
| 46 | { |
| 47 | 'fieldname': 'reference_dn', 'label': 'Reference Name', 'fieldtype': 'Dynamic Link', 'options': 'reference_dt', |
| 48 | 'insert_after': 'reference_dt' |
| 49 | } |
| 50 | ] |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 51 | }, |
| 52 | 'on_setup': 'erpnext.healthcare.setup.setup_healthcare' |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 53 | } |