{
 "actions": [],
 "allow_copy": 1,
 "allow_import": 1,
 "autoname": "naming_series:",
 "beta": 1,
 "creation": "2016-04-21 10:53:44.637684",
 "doctype": "DocType",
 "document_type": "Document",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "naming_series",
  "title",
  "appointment",
  "appointment_type",
  "patient",
  "patient_name",
  "patient_sex",
  "patient_age",
  "inpatient_record",
  "inpatient_status",
  "column_break_6",
  "company",
  "encounter_date",
  "encounter_time",
  "practitioner",
  "practitioner_name",
  "medical_department",
  "invoiced",
  "sb_symptoms",
  "symptoms",
  "symptoms_in_print",
  "get_applicable_treatment_plans",
  "physical_examination",
  "diagnosis",
  "diagnosis_in_print",
  "codification",
  "codification_table",
  "sb_drug_prescription",
  "drug_prescription",
  "sb_test_prescription",
  "lab_test_prescription",
  "sb_procedures",
  "procedure_prescription",
  "rehabilitation_section",
  "therapy_plan",
  "therapies",
  "section_break_33",
  "encounter_comment",
  "sb_refs",
  "amended_from"
 ],
 "fields": [
  {
   "allow_on_submit": 1,
   "fieldname": "inpatient_record",
   "fieldtype": "Link",
   "label": "Inpatient Record",
   "options": "Inpatient Record",
   "read_only": 1
  },
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Series",
   "no_copy": 1,
   "options": "HLC-ENC-.YYYY.-",
   "set_only_once": 1
  },
  {
   "fieldname": "appointment",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "label": "Appointment",
   "options": "Patient Appointment",
   "search_index": 1,
   "set_only_once": 1
  },
  {
   "fieldname": "patient",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "in_standard_filter": 1,
   "label": "Patient",
   "options": "Patient",
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "patient_name",
   "fieldtype": "Data",
   "label": "Patient Name",
   "read_only": 1
  },
  {
   "fieldname": "patient_age",
   "fieldtype": "Data",
   "label": "Age",
   "read_only": 1
  },
  {
   "fieldname": "patient_sex",
   "fieldtype": "Link",
   "label": "Gender",
   "options": "Gender",
   "read_only": 1
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "options": "Company"
  },
  {
   "fieldname": "column_break_6",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "practitioner",
   "fieldtype": "Link",
   "in_standard_filter": 1,
   "label": "Healthcare Practitioner",
   "options": "Healthcare Practitioner",
   "reqd": 1
  },
  {
   "default": "Today",
   "fieldname": "encounter_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "label": "Encounter Date",
   "reqd": 1
  },
  {
   "fieldname": "encounter_time",
   "fieldtype": "Time",
   "label": "Encounter Time",
   "reqd": 1
  },
  {
   "default": "0",
   "fieldname": "invoiced",
   "fieldtype": "Check",
   "label": "Invoiced",
   "no_copy": 1,
   "read_only": 1
  },
  {
   "fieldname": "sb_symptoms",
   "fieldtype": "Section Break",
   "label": "Encounter Impression"
  },
  {
   "fieldname": "symptoms",
   "fieldtype": "Table MultiSelect",
   "ignore_xss_filter": 1,
   "label": "Symptoms",
   "no_copy": 1,
   "options": "Patient Encounter Symptom"
  },
  {
   "default": "0",
   "depends_on": "eval: doc.symptoms != ''",
   "fieldname": "symptoms_in_print",
   "fieldtype": "Check",
   "label": "In print",
   "no_copy": 1,
   "print_hide": 1,
   "report_hide": 1
  },
  {
   "fieldname": "physical_examination",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "diagnosis",
   "fieldtype": "Table MultiSelect",
   "ignore_xss_filter": 1,
   "label": "Diagnosis",
   "no_copy": 1,
   "options": "Patient Encounter Diagnosis"
  },
  {
   "default": "1",
   "depends_on": "eval: doc.diagnosis != ''",
   "fieldname": "diagnosis_in_print",
   "fieldtype": "Check",
   "label": "In print",
   "no_copy": 1,
   "print_hide": 1,
   "report_hide": 1
  },
  {
   "collapsible": 1,
   "fieldname": "codification",
   "fieldtype": "Section Break",
   "label": "Medical Coding"
  },
  {
   "fieldname": "codification_table",
   "fieldtype": "Table",
   "label": "Medical Codes",
   "options": "Codification Table"
  },
  {
   "fieldname": "sb_drug_prescription",
   "fieldtype": "Section Break",
   "label": "Medications"
  },
  {
   "fieldname": "drug_prescription",
   "fieldtype": "Table",
   "label": "Drug Prescription",
   "options": "Drug Prescription"
  },
  {
   "fieldname": "sb_test_prescription",
   "fieldtype": "Section Break",
   "label": "Investigations"
  },
  {
   "fieldname": "lab_test_prescription",
   "fieldtype": "Table",
   "label": "Lab Tests",
   "options": "Lab Prescription"
  },
  {
   "fieldname": "sb_procedures",
   "fieldtype": "Section Break",
   "label": "Procedures"
  },
  {
   "fieldname": "procedure_prescription",
   "fieldtype": "Table",
   "label": "Clinical Procedures",
   "no_copy": 1,
   "options": "Procedure Prescription"
  },
  {
   "fieldname": "encounter_comment",
   "fieldtype": "Small Text",
   "ignore_xss_filter": 1,
   "label": "Review Details",
   "no_copy": 1
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Patient Encounter",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "rehabilitation_section",
   "fieldtype": "Section Break",
   "label": "Rehabilitation"
  },
  {
   "fieldname": "therapies",
   "fieldtype": "Table",
   "label": "Therapies",
   "options": "Therapy Plan Detail"
  },
  {
   "fieldname": "section_break_33",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "therapy_plan",
   "fieldtype": "Link",
   "hidden": 1,
   "label": "Therapy Plan",
   "options": "Therapy Plan",
   "read_only": 1
  },
  {
   "fieldname": "appointment_type",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "label": "Appointment Type",
   "no_copy": 1,
   "options": "Appointment Type",
   "print_hide": 1,
   "read_only": 1,
   "report_hide": 1
  },
  {
   "fetch_from": "practitioner.department",
   "fieldname": "medical_department",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "in_standard_filter": 1,
   "label": "Department",
   "options": "Medical Department",
   "read_only": 1
  },
  {
   "allow_on_submit": 1,
   "fieldname": "inpatient_status",
   "fieldtype": "Data",
   "label": "Inpatient Status",
   "read_only": 1
  },
  {
   "fieldname": "sb_refs",
   "fieldtype": "Section Break"
  },
  {
   "fetch_from": "practitioner.practitioner_name",
   "fieldname": "practitioner_name",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Practitioner Name",
   "read_only": 1
  },
  {
   "allow_on_submit": 1,
   "fieldname": "title",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Title",
   "no_copy": 1,
   "print_hide": 1,
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.patient",
   "fieldname": "get_applicable_treatment_plans",
   "fieldtype": "Button",
   "label": "Get Applicable Treatment Plans"
  }
 ],
 "is_submittable": 1,
 "links": [],
 "modified": "2021-07-27 11:39:12.347704",
 "modified_by": "Administrator",
 "module": "Healthcare",
 "name": "Patient Encounter",
 "owner": "Administrator",
 "permissions": [
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Physician",
   "share": 1,
   "submit": 1,
   "write": 1
  }
 ],
 "restrict_to_domain": "Healthcare",
 "search_fields": "patient, practitioner, medical_department, encounter_date, encounter_time",
 "show_name_in_global_search": 1,
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "title",
 "track_changes": 1,
 "track_seen": 1
}
