{
 "actions": [],
 "allow_copy": 1,
 "allow_import": 1,
 "autoname": "naming_series:",
 "beta": 1,
 "creation": "2016-06-09 11:30:44.972056",
 "doctype": "DocType",
 "document_type": "Setup",
 "engine": "InnoDB",
 "field_order": [
  "naming_series",
  "patient",
  "status",
  "column_break_2",
  "attach",
  "section_break_4",
  "subject",
  "section_break_8",
  "communication_date",
  "reference_doctype",
  "reference_name",
  "column_break_9",
  "reference_owner",
  "user"
 ],
 "fields": [
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Series",
   "options": "HLC-PMR-.YYYY.-",
   "print_hide": 1,
   "report_hide": 1
  },
  {
   "fieldname": "patient",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "in_list_view": 1,
   "label": "Patient",
   "options": "Patient",
   "search_index": 1
  },
  {
   "fieldname": "column_break_2",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "attach",
   "fieldtype": "Attach",
   "label": "Attach Medical Record"
  },
  {
   "fieldname": "section_break_4",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "subject",
   "fieldtype": "Text Editor",
   "ignore_xss_filter": 1,
   "label": "Subject"
  },
  {
   "fieldname": "status",
   "fieldtype": "Select",
   "label": "Status",
   "options": "Open\nClose",
   "read_only": 1
  },
  {
   "default": "Today",
   "fieldname": "communication_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "label": "Datetime",
   "read_only": 1
  },
  {
   "fieldname": "reference_doctype",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Reference DocType",
   "options": "DocType",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fieldname": "reference_name",
   "fieldtype": "Dynamic Link",
   "in_list_view": 1,
   "label": "Reference Name",
   "options": "reference_doctype",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fetch_from": "reference_name.owner",
   "fieldname": "reference_owner",
   "fieldtype": "Data",
   "label": "Reference Owner",
   "no_copy": 1,
   "print_hide": 1,
   "read_only": 1,
   "report_hide": 1
  },
  {
   "default": "__user",
   "fieldname": "user",
   "fieldtype": "Link",
   "label": "User",
   "options": "User",
   "print_hide": 1,
   "read_only": 1,
   "report_hide": 1
  },
  {
   "fieldname": "column_break_9",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "section_break_8",
   "fieldtype": "Section Break"
  }
 ],
 "in_create": 1,
 "links": [],
 "modified": "2020-04-29 12:26:57.679402",
 "modified_by": "Administrator",
 "module": "Healthcare",
 "name": "Patient Medical Record",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Physician",
   "share": 1,
   "write": 1
  }
 ],
 "restrict_to_domain": "Healthcare",
 "search_fields": "patient, subject, communication_date, reference_doctype, reference_name",
 "show_name_in_global_search": 1,
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "patient",
 "track_changes": 1,
 "track_seen": 1
}