<?php

/**
 * @file
 * hospital_site_all_views_collection.views_default.inc
 */

/**
 * Implements hook_views_default_views().
 */
function hospital_site_all_views_collection_views_default_views() {
  $export = array();

  $view = new view();
  $view->name = '_test_testcase_revenue_view';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'OPD Test Report';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Total Collection Report for OPD Tests';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Rows per page';
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 100, 500, 1000, 2000, 4000, 6000';
  $handler->display->display_options['style_plugin'] = 'views_aggregator';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'title' => 'title',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'field_department' => 'field_department',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_ipd_registration_n_1' => 'field_patient_ipd_registration_n_1',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_doctor_contacted' => 'field_doctor_contacted',
    'field_case_type' => 'field_case_type',
    'field_chief_complains' => 'field_chief_complains',
    'field_prefertest' => 'field_prefertest',
    'field_amount' => 'field_amount',
    'field_amount_status' => 'field_amount_status',
    'field_upload_test_report' => 'field_upload_test_report',
    'url' => 'url',
    'edit_node' => 'edit_node',
    'nothing' => 'nothing',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_doctor_contacted' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_case_type' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_chief_complains' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_prefertest' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 1,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_upload_test_report' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'url' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'edit_node' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nothing' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  $handler->display->display_options['style_options']['column_aggregation']['totals_per_page'] = '1';
  $handler->display->display_options['style_options']['column_aggregation']['totals_row_position'] = array(
    1 => '1',
    2 => '2',
  );
  $handler->display->display_options['style_options']['column_aggregation']['precision'] = '2';
  /* Header: Global: Result summary */
  $handler->display->display_options['header']['result']['id'] = 'result';
  $handler->display->display_options['header']['result']['table'] = 'views';
  $handler->display->display_options['header']['result']['field'] = 'result';
  $handler->display->display_options['header']['result']['content'] = 'Displaying @start - @end out of @total rows';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['content'] = '<br><hr><br>';
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['empty'] = TRUE;
  $handler->display->display_options['footer']['result']['content'] = 'Displaying @start - @end out of @total rows';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Relationship: Content: Test (field_preferedtest) */
  $handler->display->display_options['relationships']['field_preferedtest_value']['id'] = 'field_preferedtest_value';
  $handler->display->display_options['relationships']['field_preferedtest_value']['table'] = 'field_data_field_preferedtest';
  $handler->display->display_options['relationships']['field_preferedtest_value']['field'] = 'field_preferedtest_value';
  $handler->display->display_options['relationships']['field_preferedtest_value']['required'] = TRUE;
  $handler->display->display_options['relationships']['field_preferedtest_value']['delta'] = '-1';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Test Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field collection item: Test */
  $handler->display->display_options['fields']['field_prefertest']['id'] = 'field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['table'] = 'field_data_field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['field'] = 'field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['field_prefertest']['label'] = 'Test Prescribed';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['relationship'] = 'field_preferedtest_value';
  /* Field: Field collection item: Upload Test Report */
  $handler->display->display_options['fields']['field_upload_test_report']['id'] = 'field_upload_test_report';
  $handler->display->display_options['fields']['field_upload_test_report']['table'] = 'field_data_field_upload_test_report';
  $handler->display->display_options['fields']['field_upload_test_report']['field'] = 'field_upload_test_report';
  $handler->display->display_options['fields']['field_upload_test_report']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['field_upload_test_report']['label'] = 'Uploaded Test Report';
  $handler->display->display_options['fields']['field_upload_test_report']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_upload_test_report']['delta_offset'] = '0';
  /* Field: Field collection item: URL */
  $handler->display->display_options['fields']['url']['id'] = 'url';
  $handler->display->display_options['fields']['url']['table'] = 'views_entity_field_collection_item';
  $handler->display->display_options['fields']['url']['field'] = 'url';
  $handler->display->display_options['fields']['url']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['url']['exclude'] = TRUE;
  $handler->display->display_options['fields']['url']['display_as_link'] = FALSE;
  $handler->display->display_options['fields']['url']['link_to_entity'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit Case Details';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Edit Test Details';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'[url]/edit\' target=\'_blank\'>Edit</a> ';
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Sort criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['sorts']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['sorts']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['sorts']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['sorts']['field_patient_case_detail_value']['order'] = 'DESC';
  $handler->display->display_options['sorts']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['sorts']['field_patient_case_detail_value']['expose']['label'] = 'Test Date';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Test Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['required'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Status (field_amount_status) */
  $handler->display->display_options['filters']['field_amount_status_value']['id'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['filters']['field_amount_status_value']['field'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['filters']['field_amount_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator_id'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['identifier'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['multiple'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['filters']['field_amount_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator_id'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['label'] = 'Amount';
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['identifier'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field collection item: Test (field_prefertest) */
  $handler->display->display_options['filters']['field_prefertest_tid']['id'] = 'field_prefertest_tid';
  $handler->display->display_options['filters']['field_prefertest_tid']['table'] = 'field_data_field_prefertest';
  $handler->display->display_options['filters']['field_prefertest_tid']['field'] = 'field_prefertest_tid';
  $handler->display->display_options['filters']['field_prefertest_tid']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['filters']['field_prefertest_tid']['value'] = '';
  $handler->display->display_options['filters']['field_prefertest_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_prefertest_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_prefertest_tid']['expose']['operator_id'] = 'field_prefertest_tid_op';
  $handler->display->display_options['filters']['field_prefertest_tid']['expose']['label'] = 'Test';
  $handler->display->display_options['filters']['field_prefertest_tid']['expose']['operator'] = 'field_prefertest_tid_op';
  $handler->display->display_options['filters']['field_prefertest_tid']['expose']['identifier'] = 'field_prefertest_tid';
  $handler->display->display_options['filters']['field_prefertest_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_prefertest_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_prefertest_tid']['vocabulary'] = 'tests_lab_test_';
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department ';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Case Type (field_case_type) */
  $handler->display->display_options['filters']['field_case_type_tid']['id'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['filters']['field_case_type_tid']['field'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['value'] = '';
  $handler->display->display_options['filters']['field_case_type_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['operator_id'] = 'field_case_type_tid_op';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['label'] = 'Case Type';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['operator'] = 'field_case_type_tid_op';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['identifier'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_case_type_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_case_type_tid']['vocabulary'] = 'case_type';
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Patient Case';
  $handler->display->display_options['filters']['title']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field collection item: Test (field_prefertest) */
  $handler->display->display_options['filters']['field_prefertest_tid_1']['id'] = 'field_prefertest_tid_1';
  $handler->display->display_options['filters']['field_prefertest_tid_1']['table'] = 'field_data_field_prefertest';
  $handler->display->display_options['filters']['field_prefertest_tid_1']['field'] = 'field_prefertest_tid';
  $handler->display->display_options['filters']['field_prefertest_tid_1']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['filters']['field_prefertest_tid_1']['operator'] = 'not empty';
  $handler->display->display_options['filters']['field_prefertest_tid_1']['value'] = '';
  $handler->display->display_options['filters']['field_prefertest_tid_1']['vocabulary'] = 'tests_lab_test_';
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value_1']['id'] = 'field_amount_value_1';
  $handler->display->display_options['filters']['field_amount_value_1']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value_1']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value_1']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['filters']['field_amount_value_1']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value_1']['value']['value'] = '0';
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/opd-test-details';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Total Collection of OPD Tests';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['_test_testcase_revenue_view'] = $view;

  $view = new view();
  $view->name = 'all_bed_price_as_per_bed';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'field_collection_item';
  $view->human_name = 'All Bed Price as per bed';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'All Bed Price as per bed';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    2 => '2',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  /* Field: Field collection item: Bed Price Name */
  $handler->display->display_options['fields']['field_bed_price_name']['id'] = 'field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name']['table'] = 'field_data_field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name']['field'] = 'field_bed_price_name';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field collection item: Bed Price Status */
  $handler->display->display_options['fields']['field_bed_price_status']['id'] = 'field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['table'] = 'field_data_field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['field'] = 'field_bed_price_status';
  /* Filter criterion: Field collection item: Field name */
  $handler->display->display_options['filters']['field_name']['id'] = 'field_name';
  $handler->display->display_options['filters']['field_name']['table'] = 'field_collection_item';
  $handler->display->display_options['filters']['field_name']['field'] = 'field_name';
  $handler->display->display_options['filters']['field_name']['value'] = array(
    'field_bed_price' => 'field_bed_price',
  );
  /* Filter criterion: Field collection item: Bed Price Status (field_bed_price_status) */
  $handler->display->display_options['filters']['field_bed_price_status_value']['id'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['table'] = 'field_data_field_bed_price_status';
  $handler->display->display_options['filters']['field_bed_price_status_value']['field'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['value'] = array(
    'Active' => 'Active',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/all-bed-price-as-per-bed';

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'item_id' => 'item_id',
    'field_bed_price_name' => 0,
    'field_amount' => 0,
    'field_bed_price_status' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['label'] = '';
  $handler->display->display_options['fields']['item_id']['exclude'] = TRUE;
  $handler->display->display_options['fields']['item_id']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['item_id']['separator'] = '';
  /* Field: Field collection item: Bed Price Name */
  $handler->display->display_options['fields']['field_bed_price_name']['id'] = 'field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name']['table'] = 'field_data_field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name']['field'] = 'field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name']['label'] = '';
  $handler->display->display_options['fields']['field_bed_price_name']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['label'] = '';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $export['all_bed_price_as_per_bed'] = $view;

  $view = new view();
  $view->name = 'all_work_checklist';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'All Work Checklist';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Work Checklist';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    2 => '2',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'title' => 'title',
    'field_date' => 'field_date',
    'field_work_checklist' => 'field_work_checklist',
    'field_work_status' => 'field_work_status',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_work_checklist' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_work_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<ul class=\'action-links\'><li><a href="#">Add User Work Checklist</a></li></ul>';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: User */
  $handler->display->display_options['fields']['field_userforworkchecklist']['id'] = 'field_userforworkchecklist';
  $handler->display->display_options['fields']['field_userforworkchecklist']['table'] = 'field_data_field_userforworkchecklist';
  $handler->display->display_options['fields']['field_userforworkchecklist']['field'] = 'field_userforworkchecklist';
  $handler->display->display_options['fields']['field_userforworkchecklist']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Work Checklist */
  $handler->display->display_options['fields']['field_work_checklist']['id'] = 'field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['table'] = 'field_data_field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['field'] = 'field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['type'] = 'taxonomy_term_reference_plain';
  $handler->display->display_options['fields']['field_work_checklist']['delta_offset'] = '0';
  /* Field: Content: Work Status */
  $handler->display->display_options['fields']['field_work_status']['id'] = 'field_work_status';
  $handler->display->display_options['fields']['field_work_status']['table'] = 'field_data_field_work_status';
  $handler->display->display_options['fields']['field_work_status']['field'] = 'field_work_status';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'user_work_checklist' => 'user_work_checklist',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Date (field_date) */
  $handler->display->display_options['filters']['field_date_value']['id'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['table'] = 'field_data_field_date';
  $handler->display->display_options['filters']['field_date_value']['field'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator_id'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['label'] = 'Date';
  $handler->display->display_options['filters']['field_date_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['identifier'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_value']['year_range'] = '-10:+10';
  /* Filter criterion: Content: Work Status (field_work_status) */
  $handler->display->display_options['filters']['field_work_status_value']['id'] = 'field_work_status_value';
  $handler->display->display_options['filters']['field_work_status_value']['table'] = 'field_data_field_work_status';
  $handler->display->display_options['filters']['field_work_status_value']['field'] = 'field_work_status_value';
  $handler->display->display_options['filters']['field_work_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_work_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_work_status_value']['expose']['operator_id'] = 'field_work_status_value_op';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['label'] = 'Work Status';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['operator'] = 'field_work_status_value_op';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['identifier'] = 'field_work_status_value';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Work Checklist (field_work_checklist) */
  $handler->display->display_options['filters']['field_work_checklist_tid']['id'] = 'field_work_checklist_tid';
  $handler->display->display_options['filters']['field_work_checklist_tid']['table'] = 'field_data_field_work_checklist';
  $handler->display->display_options['filters']['field_work_checklist_tid']['field'] = 'field_work_checklist_tid';
  $handler->display->display_options['filters']['field_work_checklist_tid']['value'] = '';
  $handler->display->display_options['filters']['field_work_checklist_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_work_checklist_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['operator_id'] = 'field_work_checklist_tid_op';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['label'] = 'Work Checklist';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['operator'] = 'field_work_checklist_tid_op';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['identifier'] = 'field_work_checklist_tid';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_work_checklist_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_work_checklist_tid']['vocabulary'] = 'work_check_list';
  /* Filter criterion: Content: User (field_userforworkchecklist) */
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['id'] = 'field_userforworkchecklist_target_id';
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['table'] = 'field_data_field_userforworkchecklist';
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['field'] = 'field_userforworkchecklist_target_id';
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['expose']['operator_id'] = 'field_userforworkchecklist_target_id_op';
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['expose']['label'] = 'User';
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['expose']['operator'] = 'field_userforworkchecklist_target_id_op';
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['expose']['identifier'] = 'field_userforworkchecklist_target_id';
  $handler->display->display_options['filters']['field_userforworkchecklist_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/all-work-checklist';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Manage User Work Checklist';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['all_work_checklist'] = $view;

  $view = new view();
  $view->name = 'appointment_slider';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Appointment Slider';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '1';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['style_plugin'] = 'slideshow';
  $handler->display->display_options['style_options']['slideshow_type'] = 'views_slideshow_cycle';
  $handler->display->display_options['style_options']['slideshow_skin'] = 'default';
  $handler->display->display_options['style_options']['skin_info'] = array(
    'class' => 'default',
    'name' => 'Default',
    'module' => 'views_slideshow',
    'path' => '',
    'stylesheets' => array(),
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['timeout'] = '5000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['speed'] = '700';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['delay'] = '0';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['remember_slide_days'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['items_per_slide'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['wait_for_image_load_timeout'] = '3000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartype'] = 0;
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartypenobg'] = 0;
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = '';
  $handler->display->display_options['fields']['field_slider_image']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'small_slider',
    'image_link' => '',
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'Appointment' => 'Appointment',
  );

  /* Display: Block */
  $handler = $view->new_display('block', 'Block', 'block');
  $handler->display->display_options['block_description'] = 'Appointment / Walkin Slider';

  /* Display: Block */
  $handler = $view->new_display('block', 'Block', 'block_1');
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'Feedback' => 'Feedback',
  );
  $handler->display->display_options['block_description'] = 'Feedback Slider';

  /* Display: Block 2 */
  $handler = $view->new_display('block', 'Block 2', 'block_2');
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'Contact Us' => 'Contact Us',
  );
  $handler->display->display_options['block_description'] = 'Contact Us Slider';

  /* Display: Block 3 */
  $handler = $view->new_display('block', 'Block 3', 'block_3');
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'Login' => 'Login',
  );
  $handler->display->display_options['block_description'] = 'Login Slider';

  /* Display: Block 4 */
  $handler = $view->new_display('block', 'Block 4', 'block_4');
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'General' => 'General',
  );
  $handler->display->display_options['block_description'] = 'General Slider';
  $export['appointment_slider'] = $view;

  $view = new view();
  $view->name = 'bed_price';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Bed Price';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Bed Price';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    2 => '2',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Relationship: Content: Bed Price (field_bed_price) */
  $handler->display->display_options['relationships']['field_bed_price_value']['id'] = 'field_bed_price_value';
  $handler->display->display_options['relationships']['field_bed_price_value']['table'] = 'field_data_field_bed_price';
  $handler->display->display_options['relationships']['field_bed_price_value']['field'] = 'field_bed_price_value';
  $handler->display->display_options['relationships']['field_bed_price_value']['delta'] = '-1';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Bed No / Name';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Field collection item: Bed Price Name */
  $handler->display->display_options['fields']['field_bed_price_name_1']['id'] = 'field_bed_price_name_1';
  $handler->display->display_options['fields']['field_bed_price_name_1']['table'] = 'field_data_field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name_1']['field'] = 'field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name_1']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['field_bed_price_name_1']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['field_amount']['label'] = 'Bed Price';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field collection item: Bed Price Status */
  $handler->display->display_options['fields']['field_bed_price_status']['id'] = 'field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['table'] = 'field_data_field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['field'] = 'field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['relationship'] = 'field_bed_price_value';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  /* Filter criterion: Field collection item: Bed Price Status (field_bed_price_status) */
  $handler->display->display_options['filters']['field_bed_price_status_value']['id'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['table'] = 'field_data_field_bed_price_status';
  $handler->display->display_options['filters']['field_bed_price_status_value']['field'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['operator_id'] = 'field_bed_price_status_value_op';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['label'] = 'Bed Price Status';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['operator'] = 'field_bed_price_status_value_op';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['identifier'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['item_id']['label'] = 'ID';
  /* Field: Field collection item: Bed Price Name */
  $handler->display->display_options['fields']['field_bed_price_name_1']['id'] = 'field_bed_price_name_1';
  $handler->display->display_options['fields']['field_bed_price_name_1']['table'] = 'field_data_field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name_1']['field'] = 'field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name_1']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['field_bed_price_name_1']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['field_amount']['label'] = 'Bed Price';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field collection item: Bed Price Status */
  $handler->display->display_options['fields']['field_bed_price_status']['id'] = 'field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['table'] = 'field_data_field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['field'] = 'field_bed_price_status';
  $handler->display->display_options['fields']['field_bed_price_status']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  /* Filter criterion: Field collection item: Bed Price Status (field_bed_price_status) */
  $handler->display->display_options['filters']['field_bed_price_status_value']['id'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['table'] = 'field_data_field_bed_price_status';
  $handler->display->display_options['filters']['field_bed_price_status_value']['field'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['operator_id'] = 'field_bed_price_status_value_op';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['label'] = 'Bed Price Status';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['operator'] = 'field_bed_price_status_value_op';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['identifier'] = 'field_bed_price_status_value';
  $handler->display->display_options['filters']['field_bed_price_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field collection item: Field collection item ID */
  $handler->display->display_options['filters']['item_id']['id'] = 'item_id';
  $handler->display->display_options['filters']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['filters']['item_id']['field'] = 'item_id';
  $handler->display->display_options['filters']['item_id']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['filters']['item_id']['operator'] = '>';
  $handler->display->display_options['filters']['item_id']['value']['value'] = '0';
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Bed ID';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['path'] = 'admin/bed-price';

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'item_id' => 'item_id',
    'title' => 0,
    'field_bed_price_name_1' => 0,
    'field_amount' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['item_id']['label'] = '';
  $handler->display->display_options['fields']['item_id']['exclude'] = TRUE;
  $handler->display->display_options['fields']['item_id']['separator'] = '';
  /* Field: Field collection item: Bed Price Name */
  $handler->display->display_options['fields']['field_bed_price_name_1']['id'] = 'field_bed_price_name_1';
  $handler->display->display_options['fields']['field_bed_price_name_1']['table'] = 'field_data_field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name_1']['field'] = 'field_bed_price_name';
  $handler->display->display_options['fields']['field_bed_price_name_1']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['field_bed_price_name_1']['label'] = '';
  $handler->display->display_options['fields']['field_bed_price_name_1']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_bed_price_value';
  $handler->display->display_options['fields']['field_amount']['label'] = '';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'php';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['code'] = 'return $_GET[\'field_bed\'];';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  $export['bed_price'] = $view;

  $view = new view();
  $view->name = 'bill_detail_of_all_patients';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Bill Detail of All Patients';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Bill Detail of Patient';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    13 => '13',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_patient_login_username',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'field_patient_login_username' => 'field_patient_login_username',
    'title' => 'title',
    'type' => 'type',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_amount' => 'field_amount',
    'field_preferedtest' => 'field_preferedtest',
    'field_add_medicine_auto' => 'field_add_medicine_auto',
    'field_add_therapy_auto' => 'field_add_therapy_auto',
    'field_bill_detail' => 'field_bill_detail',
    'field_total_bill' => 'field_total_bill',
    'field_date_of_admission' => 'field_date_of_admission',
    'field_date_of_shifting' => 'field_date_of_shifting',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'nothing' => 'nothing',
    'nothing_1' => 'nothing_1',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'type' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_preferedtest' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_add_medicine_auto' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_add_therapy_auto' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_bill_detail' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_total_bill' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_admission' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_shifting' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Patient Name';
  $handler->display->display_options['fields']['field_patient_login_username']['element_wrapper_type'] = 'h1';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Unique ID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Type */
  $handler->display->display_options['fields']['type']['id'] = 'type';
  $handler->display->display_options['fields']['type']['table'] = 'node';
  $handler->display->display_options['fields']['type']['field'] = 'type';
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['label'] = 'OPD No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['label'] = 'OPD / IPD Amount';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Test */
  $handler->display->display_options['fields']['field_preferedtest']['id'] = 'field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['table'] = 'field_data_field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['field'] = 'field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_preferedtest']['settings'] = array(
    'view_mode' => 'full',
  );
  /* Field: Content: Add Medicine */
  $handler->display->display_options['fields']['field_add_medicine_auto']['id'] = 'field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['table'] = 'field_data_field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['field'] = 'field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['label'] = 'Medicine';
  $handler->display->display_options['fields']['field_add_medicine_auto']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_add_medicine_auto']['settings'] = array(
    'view_mode' => 'full',
  );
  $handler->display->display_options['fields']['field_add_medicine_auto']['delta_offset'] = '0';
  /* Field: Content: Add Therapy */
  $handler->display->display_options['fields']['field_add_therapy_auto']['id'] = 'field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['table'] = 'field_data_field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['field'] = 'field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['label'] = 'Therapy';
  $handler->display->display_options['fields']['field_add_therapy_auto']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_add_therapy_auto']['settings'] = array(
    'view_mode' => 'full',
  );
  $handler->display->display_options['fields']['field_add_therapy_auto']['delta_offset'] = '0';
  /* Field: Content: Detail */
  $handler->display->display_options['fields']['field_bill_detail']['id'] = 'field_bill_detail';
  $handler->display->display_options['fields']['field_bill_detail']['table'] = 'field_data_field_bill_detail';
  $handler->display->display_options['fields']['field_bill_detail']['field'] = 'field_bill_detail';
  $handler->display->display_options['fields']['field_bill_detail']['label'] = 'Other Payment Detail';
  $handler->display->display_options['fields']['field_bill_detail']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_bill_detail']['settings'] = array(
    'view_mode' => 'full',
  );
  $handler->display->display_options['fields']['field_bill_detail']['delta_offset'] = '0';
  /* Field: Content: Total Bill */
  $handler->display->display_options['fields']['field_total_bill']['id'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['table'] = 'field_data_field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['field'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_total_bill']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Date';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_date_of_admission] [field_date_of_shifting] [field_patient_case_detail]';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Total Bill';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[field_amount] [field_total_bill] ';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Unique ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Title';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['table'] = 'node';
  $handler->display->display_options['filters']['type_1']['field'] = 'type';
  $handler->display->display_options['filters']['type_1']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type_1']['exposed'] = TRUE;
  $handler->display->display_options['filters']['type_1']['expose']['operator_id'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['label'] = 'Type';
  $handler->display->display_options['filters']['type_1']['expose']['operator'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['identifier'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['type_1']['expose']['reduce'] = TRUE;
  /* Filter criterion: Content: Post date */
  $handler->display->display_options['filters']['created']['id'] = 'created';
  $handler->display->display_options['filters']['created']['table'] = 'node';
  $handler->display->display_options['filters']['created']['field'] = 'created';
  $handler->display->display_options['filters']['created']['operator'] = '>=';
  $handler->display->display_options['filters']['created']['value']['value'] = '2025-01-01 00:00:00';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/bill-detail-of-patients';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Bill detail';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['bill_detail_of_all_patients'] = $view;

  $view = new view();
  $view->name = 'bill_detail_of_patient';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Bill Detail of Patient';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Bill Detail of Patient';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    6 => '6',
    8 => '8',
    14 => '14',
    13 => '13',
    4 => '4',
    15 => '15',
    7 => '7',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_patient_login_username',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'field_patient_login_username' => 'field_patient_login_username',
    'title' => 'title',
    'type' => 'type',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_amount' => 'field_amount',
    'field_preferedtest' => 'field_preferedtest',
    'field_add_medicine_auto' => 'field_add_medicine_auto',
    'field_add_therapy_auto' => 'field_add_therapy_auto',
    'field_bill_detail' => 'field_bill_detail',
    'field_total_bill' => 'field_total_bill',
    'field_date_of_admission' => 'field_date_of_admission',
    'field_date_of_shifting' => 'field_date_of_shifting',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'nothing' => 'nothing',
    'nothing_1' => 'nothing_1',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'type' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_preferedtest' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_add_medicine_auto' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_add_therapy_auto' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_bill_detail' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_total_bill' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_admission' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_shifting' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Patient Name';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['element_wrapper_type'] = 'h1';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Type */
  $handler->display->display_options['fields']['type']['id'] = 'type';
  $handler->display->display_options['fields']['type']['table'] = 'node';
  $handler->display->display_options['fields']['type']['field'] = 'type';
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['label'] = 'OPD No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['label'] = 'OPD / IPD Amount';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Test */
  $handler->display->display_options['fields']['field_preferedtest']['id'] = 'field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['table'] = 'field_data_field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['field'] = 'field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_preferedtest']['settings'] = array(
    'view_mode' => 'full',
  );
  /* Field: Content: Add Medicine */
  $handler->display->display_options['fields']['field_add_medicine_auto']['id'] = 'field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['table'] = 'field_data_field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['field'] = 'field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['label'] = 'Medicine';
  $handler->display->display_options['fields']['field_add_medicine_auto']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_add_medicine_auto']['settings'] = array(
    'view_mode' => 'full',
  );
  $handler->display->display_options['fields']['field_add_medicine_auto']['delta_offset'] = '0';
  /* Field: Content: Add Therapy */
  $handler->display->display_options['fields']['field_add_therapy_auto']['id'] = 'field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['table'] = 'field_data_field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['field'] = 'field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['label'] = 'Therapy';
  $handler->display->display_options['fields']['field_add_therapy_auto']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_add_therapy_auto']['settings'] = array(
    'view_mode' => 'full',
  );
  $handler->display->display_options['fields']['field_add_therapy_auto']['delta_offset'] = '0';
  /* Field: Content: Detail */
  $handler->display->display_options['fields']['field_bill_detail']['id'] = 'field_bill_detail';
  $handler->display->display_options['fields']['field_bill_detail']['table'] = 'field_data_field_bill_detail';
  $handler->display->display_options['fields']['field_bill_detail']['field'] = 'field_bill_detail';
  $handler->display->display_options['fields']['field_bill_detail']['label'] = 'Other Payment Detail';
  $handler->display->display_options['fields']['field_bill_detail']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_bill_detail']['settings'] = array(
    'view_mode' => 'full',
  );
  $handler->display->display_options['fields']['field_bill_detail']['delta_offset'] = '0';
  /* Field: Content: Total Bill */
  $handler->display->display_options['fields']['field_total_bill']['id'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['table'] = 'field_data_field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['field'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_total_bill']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Date';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_date_of_admission] [field_date_of_shifting] [field_patient_case_detail]';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Total Bill';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[field_amount] [field_total_bill] ';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Post date */
  $handler->display->display_options['filters']['created']['id'] = 'created';
  $handler->display->display_options['filters']['created']['table'] = 'node';
  $handler->display->display_options['filters']['created']['field'] = 'created';
  $handler->display->display_options['filters']['created']['operator'] = '>=';
  $handler->display->display_options['filters']['created']['value']['value'] = '2025-01-01 00:00:00';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/bill-detail-of-patient/%';
  $export['bill_detail_of_patient'] = $view;

  $view = new view();
  $view->name = 'bill_receipt';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Bill Receipt';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    6 => '6',
    8 => '8',
    14 => '14',
    13 => '13',
    17 => '17',
    4 => '4',
    15 => '15',
    7 => '7',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '5';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Relationship: Content: Detail (field_bill_detail) */
  $handler->display->display_options['relationships']['field_bill_detail_value']['id'] = 'field_bill_detail_value';
  $handler->display->display_options['relationships']['field_bill_detail_value']['table'] = 'field_data_field_bill_detail';
  $handler->display->display_options['relationships']['field_bill_detail_value']['field'] = 'field_bill_detail_value';
  $handler->display->display_options['relationships']['field_bill_detail_value']['delta'] = '-1';
  /* Relationship: Content: Content author */
  $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  $handler->display->display_options['relationships']['uid']['table'] = 'node';
  $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Date of Warranty Expire */
  $handler->display->display_options['fields']['field_amount_date']['id'] = 'field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['table'] = 'field_data_field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['field'] = 'field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['field_amount_date']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount_date']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Field collection item: Reason */
  $handler->display->display_options['fields']['field_reason']['id'] = 'field_reason';
  $handler->display->display_options['fields']['field_reason']['table'] = 'field_data_field_reason';
  $handler->display->display_options['fields']['field_reason']['field'] = 'field_reason';
  $handler->display->display_options['fields']['field_reason']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['field_reason']['exclude'] = TRUE;
  /* Field: Content: Author uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'node';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['item_id']['exclude'] = TRUE;
  $handler->display->display_options['fields']['item_id']['separator'] = '';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['field_amount_status']['exclude'] = TRUE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name_1']['id'] = 'field_first_name_1';
  $handler->display->display_options['fields']['field_first_name_1']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name_1']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name_1']['relationship'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['fields']['field_first_name_1']['label'] = 'First Name IPD';
  $handler->display->display_options['fields']['field_first_name_1']['exclude'] = TRUE;
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address_1']['id'] = 'field_address_1';
  $handler->display->display_options['fields']['field_address_1']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_1']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address_1']['relationship'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['fields']['field_address_1']['label'] = 'Address IPD';
  $handler->display->display_options['fields']['field_address_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address_1']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address_1']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<img src="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/GVMnewbda.jpg">
<br><br> <br><br> 
<table border=\'1\' cellpadding=\'10\' cellspacing=\'0\' width=\'100%\'>
<tr><td colspan=\'2\' align=\'center\'><h2>[field_hospital_clinic]  : Bill Receipt</h2></td></tr>
<tr><td width=\'10%\'><strong>Date : </strong>  [field_amount_date] 
</td><td  width=\'10%\' align=\'right\'>
<strong>Receipt No : </strong>  [item_id]/[nid]
</td></tr>
<tr><td colspan=\'2\'>
<strong> Received From : </strong>[field_first_name] : [field_patient_login_username] 
</td></tr> <tr><td colspan=\'2\'>
<strong>Paid Amount : </strong>  [field_amount]  &nbsp; &nbsp; &nbsp; &nbsp; ( [field_amount_status] )
</td></tr> <tr><td colspan=\'2\'>
<strong>Payment Mode : </strong> Cash
</td></tr> <tr><td colspan=\'2\'>
<strong>OPD Registration No. : </strong>[field_patient_ipd_registration_n]
 <tr><td colspan=\'2\'>
<strong>IPD Registration No. : </strong>[field_patient_ipdnewregistration]
</td></tr> <tr><td colspan=\'2\'>
<strong>Purpose : </strong>  [field_reason]  
</td></tr> <tr><td colspan=\'2\'>
<strong>Address :</strong>[field_address]   [field_address_1]   <br><br><br><br>
</td></tr> <tr><td>
<strong>Received By : </strong> [name]
 </td><td align=\'right\'>
<strong>Authorized by :</strong> [name]
</td></tr>
</table>


 ';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Field collection item: Field collection item ID */
  $handler->display->display_options['arguments']['item_id']['id'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['arguments']['item_id']['field'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['arguments']['item_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['item_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['item_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['item_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['item_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['item_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/billreceipt/%/%';
  $export['bill_receipt'] = $view;

  $view = new view();
  $view->name = 'bill_receipt_ipd';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Bill Receipt IPD';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Bill Receipt IPD';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    6 => '6',
    8 => '8',
    14 => '14',
    13 => '13',
    17 => '17',
    4 => '4',
    15 => '15',
    7 => '7',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Relationship: Content: Content author */
  $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  $handler->display->display_options['relationships']['uid']['table'] = 'node';
  $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<br><br> 
<span style="float:left;"><strong>Date : </strong> [field_date_of_admission]  </span>
<span style="float:right">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <strong>Receipt No : </strong> [uid]/[nid]
<span style="clr:both"></span> <br><br>

<span style="float:left;"><strong> Received From : </strong> [field_patient_login_username] </span><br><br>
<span style="float:left;"><strong>Paid Amount : </strong> [field_amount] </span><br><br> 
<span style="float:left;"><strong>Payment Mode : </strong> Cash</span><br><br>
<span style="float:left;"><strong>Purpose : </strong>[title] OPD No. Payment</span> <br><br>
<span style="float:left"><strong>Address :</strong> [field_address]  </span> <br><br> <br><br> 

<span style="float:left;"><strong>Received By : </strong> [name]</span>
<span style="float:right">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<strong>Authorised by :</strong> [name]
<span style="clr:both"></span> <br><br>';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission';
  $handler->display->display_options['fields']['field_date_of_shifting']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<img src="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/GVMnewbda.jpg">
<br><br> <br><br> 
<table width=\'100%\' cellpadding=\'10\' cellspacing=\'0\' border=\'1\'>
<tr valign=\'top\'>
<td colspan=\'2\' align=\'center\'><h2>[field_hospital_clinic]  : IPD Bill Receipt </h2> &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\' align=\'left\'><strong>Date : </strong> [field_date_of_shifting] &nbsp;</td>
<td width=\'10%\' align=\'right\'><strong>Receipt No : </strong> [uid]/[nid]</td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\' colspan=\'2\'><strong>Received From : </strong> [field_first_name] : [field_patient_login_username] &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\' colspan=\'2\'><strong>Paid Amount : </strong> [field_amount] &nbsp; &nbsp; &nbsp; &nbsp; ( [field_amount_status] ) &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\' colspan=\'2\'><strong>Payment Mode : </strong> Cash &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\' colspan=\'2\'><strong>Purpose : </strong>[title] IPD No. Payment &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\' colspan=\'2\'><strong>Address :</strong> [field_address] &nbsp;<br><br> <br> </td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\' align=\'left\'><strong>Received By : </strong> [name] &nbsp;</td>
<td width=\'10%\' align=\'right\'><strong>Authorized By : </strong> [name] &nbsp;</td>
</tr>
</table>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  $handler->display->display_options['path'] = 'admin/bill-receipt-ipd/%';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<div style=\'text-align:center;\'><img src="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/GVMnewbda.jpg"> </div><br><br><br>
<table border=\'1\' cellspacing=\'0\' cellpadding=\'10\' width=\'100%\'>
<tr valign=\'top\'>
<td colspan=\'2\' align=\'center\'><h2> [field_hospital_clinic]  : OPD Bill Receipt </h2>  &nbsp; </td>
</tr>
<tr valign=\'top\'>
<td width=\'10%\'><strong> Date : </strong>  [field_date_of_admission]  &nbsp; </td>
<td width=\'10%\'  align=\'right\'> <strong> Receipt No : </strong> [uid]/[nid] &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong> Received From : </strong> [field_first_name] : [field_patient_login_username]   &nbsp; </td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>Paid Amount : </strong> [field_amount]   &nbsp; &nbsp; &nbsp; &nbsp; ( [field_amount_status] )</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>Payment Mode : </strong> Cash  &nbsp; </td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>Purpose : </strong>[title] OPD No. Payment &nbsp; </td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>Address :</strong> [field_address]  &nbsp; <br><br><br> </td>
</tr> 
<tr valign=\'top\'>
<td><strong><strong>Received By : </strong> [name] &nbsp; </td>
<td align=\'right\'><strong>Authorized By : </strong> [name] &nbsp; </td>
</tr>
</table>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/bill-receipt-opd/%';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Content: Content author */
  $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  $handler->display->display_options['relationships']['uid']['table'] = 'node';
  $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Total Bill */
  $handler->display->display_options['fields']['field_total_bill']['id'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['table'] = 'field_data_field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['field'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_total_bill']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['exclude'] = TRUE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<img src="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/GVMnewbda.jpg">
<br><br> <br><br> 
<table border=\'1\' cellpadding=\'10\' cellspacing=\'0\' width=\'100%\'>
<tr><td colspan=\'2\' align=\'center\'><h2>[field_hospital_clinic]  : Bill Receipt</h2></td></tr>
<tr><td width=\'10%\'><strong>Date : </strong> [field_patient_case_detail] 
</td><td  width=\'10%\' align=\'right\'>
<strong>Receipt No : </strong> [uid]/[nid]
</td></tr>
<tr><td colspan=\'2\'>
<strong> Received From : </strong>[field_first_name] : [field_patient_login_username] 
</td></tr> <tr><td colspan=\'2\'>
<strong>Paid Amount : </strong> [field_total_bill]  &nbsp; &nbsp; &nbsp; &nbsp; ( [field_amount_status] )
</td></tr> <tr><td colspan=\'2\'>
<strong>Payment Mode : </strong> Cash
</td></tr> <tr><td colspan=\'2\'>
<strong>OPD Registration No. : </strong>[field_patient_ipd_registration_n]
 <tr><td colspan=\'2\'>
<strong>IPD Registration No. : </strong>[field_patient_ipdnewregistration]
</td></tr> <tr><td colspan=\'2\'>
<strong>Purpose : </strong> (OPD : [field_patient_ipd_registration_n] , IPD : [field_patient_ipdnewregistration] , Case : [title])  Payment
</td></tr> <tr><td colspan=\'2\'>
<strong>Address :</strong>[field_address]   <br><br><br>
</td></tr> <tr><td>
<strong>Received By : </strong> [name]
 </td><td align=\'right\'>
<strong>Authorized by :</strong> [name]
</td></tr>
</table>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/bill-receipt-case/%';
  $export['bill_receipt_ipd'] = $view;

  $view = new view();
  $view->name = 'department';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Department';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    16 => '16',
    9 => '9',
    26 => '26',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'views_aggregator';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'field_hospital_clinic_1' => 'field_hospital_clinic_1',
    'nid' => 'nid',
    'field_department_id' => 'field_department_id',
    'title' => 'title',
    'field_incharge_username' => 'field_incharge_username',
    'field_no_of_rooms' => 'field_no_of_rooms',
    'field_no_of_beds' => 'field_no_of_beds',
    'status' => 'status',
    'field_status' => 'field_status',
    'nothing' => 'nothing',
    'nothing_1' => 'nothing_1',
    'edit_node' => 'edit_node',
    'nothing_2' => 'nothing_2',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_hospital_clinic_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_department_id' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'title' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_incharge_username' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_no_of_rooms' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 1,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_no_of_beds' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 1,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'status' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_status' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nothing' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nothing_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'edit_node' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nothing_2' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  $handler->display->display_options['style_options']['column_aggregation']['totals_per_page'] = '1';
  $handler->display->display_options['style_options']['column_aggregation']['totals_row_position'] = array(
    1 => 0,
    2 => '2',
  );
  $handler->display->display_options['style_options']['column_aggregation']['precision'] = '2';
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['content'] = '<b>Result Summary = Displaying @start - @end of @total | Records per page : @per_page | Current Page : @current_page </b>';
  /* No results behavior: Global: Messages */
  $handler->display->display_options['empty']['messages']['id'] = 'messages';
  $handler->display->display_options['empty']['messages']['table'] = 'views';
  $handler->display->display_options['empty']['messages']['field'] = 'messages';
  $handler->display->display_options['empty']['messages']['label'] = 'No Departments have been created.';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital/Clinic ID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Department ID */
  $handler->display->display_options['fields']['field_department_id']['id'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['table'] = 'field_data_field_department_id';
  $handler->display->display_options['fields']['field_department_id']['field'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['label'] = 'ID';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Department';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Incharge */
  $handler->display->display_options['fields']['field_incharge_username']['id'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['table'] = 'field_data_field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['field'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: No of Rooms */
  $handler->display->display_options['fields']['field_no_of_rooms']['id'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['table'] = 'field_data_field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['field'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['label'] = 'Total Rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['label'] = 'Total Beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Rooms / Ward';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/rooms-dep/[field_hospital_clinic_1]/[nid]">View</a> | <a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/room?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[nid]">Add</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Beds / IPD Patients';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds-dep/[field_hospital_clinic_1]/[nid]" target="_blank">Manage</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'OPD Patients';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patients?field_hospital_clinic_target_id=[field_hospital_clinic_1]&field_department_target_id=[nid]&nid=&title=&field_first_name_value=&field_middle_name_value=&field_last_name_value=&field_father_name_value=&field_serial_no_value=&field_year_serial_no_value=&field_gender_value=All&field_date_of_admission_value_op=%3D&field_date_of_admission_value%5Bvalue%5D%5Bdate%5D=&field_date_of_admission_value%5Bmin%5D%5Bdate%5D=&field_date_of_admission_value%5Bmax%5D%5Bdate%5D=">Manage</a>';
  /* Field: Field: Image for Mobile app */
  $handler->display->display_options['fields']['field_image_for_mobile_app']['id'] = 'field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['table'] = 'field_data_field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['field'] = 'field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['label'] = 'Icons for Mobile app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['settings'] = array(
    'image_style' => 'mobile_icon__20_20_',
    'image_link' => '',
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'department' => 'department',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department ID (field_department_id) */
  $handler->display->display_options['filters']['field_department_id_value']['id'] = 'field_department_id_value';
  $handler->display->display_options['filters']['field_department_id_value']['table'] = 'field_data_field_department_id';
  $handler->display->display_options['filters']['field_department_id_value']['field'] = 'field_department_id_value';
  $handler->display->display_options['filters']['field_department_id_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_department_id_value']['group'] = 1;
  $handler->display->display_options['filters']['field_department_id_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_id_value']['expose']['operator_id'] = 'field_department_id_value_op';
  $handler->display->display_options['filters']['field_department_id_value']['expose']['label'] = 'ID';
  $handler->display->display_options['filters']['field_department_id_value']['expose']['operator'] = 'field_department_id_value_op';
  $handler->display->display_options['filters']['field_department_id_value']['expose']['identifier'] = 'field_department_id_value';
  $handler->display->display_options['filters']['field_department_id_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Department Name';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Published';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
  );
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['value'] = array(
    'Active' => 'Active',
  );
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/departmentlist';
  $handler->display->display_options['menu']['title'] = 'Department';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['argument_input'] = array(
    'field_hospital_clinic_target_id' => array(
      'type' => 'panel',
      'context' => 'entity:field_collection_item.archived',
      'context_optional' => 0,
      'panel' => '2',
      'fixed' => '',
      'label' => 'Content: Hospital / Clinic (field_hospital_clinic)',
    ),
  );
  $handler->display->display_options['inherit_panels_path'] = '1';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['footer'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Department ID */
  $handler->display->display_options['fields']['field_department_id']['id'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['table'] = 'field_data_field_department_id';
  $handler->display->display_options['fields']['field_department_id']['field'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['label'] = 'departmentid';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'department';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Incharge */
  $handler->display->display_options['fields']['field_incharge_username']['id'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['table'] = 'field_data_field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['field'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['label'] = 'incharge';
  $handler->display->display_options['fields']['field_incharge_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: No of Rooms */
  $handler->display->display_options['fields']['field_no_of_rooms']['id'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['table'] = 'field_data_field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['field'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['label'] = 'totalrooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['label'] = 'totalbeds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'published';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['label'] = 'dstatus';
  /* Field: Field: Image for Mobile app */
  $handler->display->display_options['fields']['field_image_for_mobile_app']['id'] = 'field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['table'] = 'field_data_field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['field'] = 'field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['label'] = 'icons';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['settings'] = array(
    'image_style' => 'mobile_icon__20_20_',
    'image_link' => '',
  );
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospitalid';
  $handler->display->display_options['fields']['field_hospital_clinic']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'department' => 'department',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  $handler->display->display_options['path'] = 'department_list_mobile_view.json';
  $handler->display->display_options['menu']['title'] = 'Department';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Shri SBLD Ayurved Vishwa Bharti - Department';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Field: Image for Mobile app */
  $handler->display->display_options['fields']['field_image_for_mobile_app']['id'] = 'field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['table'] = 'field_data_field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['field'] = 'field_image_for_mobile_app';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['label'] = '#';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_image_for_mobile_app']['settings'] = array(
    'image_style' => 'mobile_icon__20_20_',
    'image_link' => '',
  );
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital/Clinic ID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Department';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Department ID */
  $handler->display->display_options['fields']['field_department_id']['id'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['table'] = 'field_data_field_department_id';
  $handler->display->display_options['fields']['field_department_id']['field'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['label'] = 'ID';
  /* Field: Content: Incharge */
  $handler->display->display_options['fields']['field_incharge_username']['id'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['table'] = 'field_data_field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['field'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: No of Rooms */
  $handler->display->display_options['fields']['field_no_of_rooms']['id'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['table'] = 'field_data_field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['field'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['label'] = 'Total Rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['label'] = 'Total Beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Rooms / Ward';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/rooms-dep/[field_hospital_clinic_1]/[nid]">View</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Beds / IPD Patients';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds-dep/[field_hospital_clinic_1]/[nid]" target="_blank">View</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'OPD Patients';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/view-opd-patients?field_hospital_clinic_target_id=[field_hospital_clinic_1]&field_department_target_id=[nid]&nid=&title=&field_first_name_value=&field_middle_name_value=&field_last_name_value=&field_father_name_value=&field_serial_no_value=&field_year_serial_no_value=&field_gender_value=All&field_date_of_admission_value_op=%3D&field_date_of_admission_value%5Bvalue%5D%5Bdate%5D=&field_date_of_admission_value%5Bmin%5D%5Bdate%5D=&field_date_of_admission_value%5Bmax%5D%5Bdate%5D=">View</a>';
  $handler->display->display_options['path'] = 'admin/sbld/%/viewdepartment';
  $handler->display->display_options['menu']['title'] = 'Department';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['department'] = $view;

  $view = new view();
  $view->name = 'doctors';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'Doctors';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Doctors';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    24 => '24',
    11 => '11',
    16 => '16',
    9 => '9',
    26 => '26',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* No results behavior: Global: Unfiltered text */
  $handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['empty']['area_text_custom']['content'] = 'No doctor is registered yet.';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Appointment Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="admin/hospital/!1/doctorappointment/[uid]">Manage</a>';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['arguments']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['arguments']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: User: E-mail */
  $handler->display->display_options['filters']['mail']['id'] = 'mail';
  $handler->display->display_options['filters']['mail']['table'] = 'users';
  $handler->display->display_options['filters']['mail']['field'] = 'mail';
  $handler->display->display_options['filters']['mail']['group'] = 1;
  $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['label'] = 'E-mail';
  $handler->display->display_options['filters']['mail']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
  );
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
  );
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    12 => '12',
    15 => '15',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  $handler->display->display_options['fields']['rid']['display_roles'] = array(
    12 => '12',
    15 => '15',
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    13 => 0,
    14 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
    26 => 0,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: User: Active status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'users';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'Status';
  $handler->display->display_options['fields']['status']['type'] = 'active-blocked';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Appointment Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="admin/hospital/!1/doctorappointment/[uid]">Manage</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="#">Manage</a>';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['path'] = 'admin/hospital/%/doctorlist';
  $handler->display->display_options['menu']['title'] = 'Patient';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Appointment Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="admin/hospital/!1/doctorappointment/[uid]">Manage</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="#">Manage</a>';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['allow']['use_pager'] = 'use_pager';
  $handler->display->display_options['allow']['items_per_page'] = 0;
  $handler->display->display_options['allow']['offset'] = 0;
  $handler->display->display_options['allow']['link_to_view'] = 0;
  $handler->display->display_options['allow']['more_link'] = 0;
  $handler->display->display_options['allow']['path_override'] = 0;
  $handler->display->display_options['allow']['title_override'] = 0;
  $handler->display->display_options['allow']['exposed_form'] = 0;
  $handler->display->display_options['allow']['fields_override'] = 0;
  $handler->display->display_options['argument_input'] = array(
    'og_user_node_target_id' => array(
      'type' => 'panel',
      'context' => 'entity:field_collection_item.archived',
      'context_optional' => 0,
      'panel' => '2',
      'fixed' => '',
      'label' => 'User: Group membership (og_user_node)',
    ),
  );
  $handler->display->display_options['inherit_panels_path'] = '1';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['label'] = 'uid';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'photo';
  $handler->display->display_options['fields']['picture']['link_photo_to_profile'] = FALSE;
  $handler->display->display_options['fields']['picture']['image_style'] = 'mobile_list_view__60_60_';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['label'] = 'email';
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'registeredon';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  $handler->display->display_options['fields']['created']['format_date_sql'] = 0;
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  $handler->display->display_options['fields']['rid']['label'] = 'roles';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['arguments']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['arguments']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
  );
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    12 => '12',
    15 => '15',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;
  $handler->display->display_options['path'] = 'doctor_list_mobile_view.json';
  $handler->display->display_options['menu']['title'] = 'Patient';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = ' Shri SBLD Ayurved Vishwa Bharti -  Doctors';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'uid' => 'uid',
    'picture' => 'picture',
    'name' => 'name',
    'mail' => 'mail',
    'created' => 'created',
    'rid' => 'rid',
  );
  $handler->display->display_options['style_options']['class'] = '';
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'uid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'picture' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'mail' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'created' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'rid' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  $handler->display->display_options['fields']['rid']['display_roles'] = array(
    12 => '12',
    15 => '15',
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    13 => 0,
    14 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
    26 => 0,
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: User: E-mail */
  $handler->display->display_options['filters']['mail']['id'] = 'mail';
  $handler->display->display_options['filters']['mail']['table'] = 'users';
  $handler->display->display_options['filters']['mail']['field'] = 'mail';
  $handler->display->display_options['filters']['mail']['operator'] = 'word';
  $handler->display->display_options['filters']['mail']['group'] = 1;
  $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['label'] = 'E-mail';
  $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
    2 => '2',
  );
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
  );
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    12 => '12',
    15 => '15',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;
  $handler->display->display_options['filters']['rid']['reduce_duplicates'] = TRUE;
  $handler->display->display_options['path'] = 'admin/sbld/%/viewdoctorlist';
  $handler->display->display_options['menu']['title'] = 'Patient';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Data export */
  $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  $handler->display->display_options['pager']['type'] = 'none';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  $handler->display->display_options['style_options']['provide_file'] = 0;
  $handler->display->display_options['style_options']['parent_sort'] = 1;
  $handler->display->display_options['style_options']['quote'] = 1;
  $handler->display->display_options['style_options']['trim'] = 0;
  $handler->display->display_options['style_options']['replace_newlines'] = 0;
  $handler->display->display_options['style_options']['newline_token'] = '1';
  $handler->display->display_options['style_options']['header'] = 1;
  $handler->display->display_options['style_options']['keep_html'] = 0;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  $handler->display->display_options['fields']['rid']['display_roles'] = array(
    12 => '12',
    15 => '15',
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    13 => 0,
    14 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
    26 => 0,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: User: Active status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'users';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Appointment Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="admin/hospital/!1/doctorappointment/[uid]">Manage</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = 'Manage';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['path'] = 'admin/hospital/%/doctorcsv';
  $handler->display->display_options['displays'] = array(
    'default' => 'default',
    'page' => 'page',
    'panel_pane_1' => 'panel_pane_1',
    'page_1' => 0,
    'page_2' => 0,
  );
  $export['doctors'] = $view;

  $view = new view();
  $view->name = 'front_slider';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Front Slider';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Slider';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add Slider';
  $handler->display->display_options['header']['area_text_custom']['content'] = '<ul class=\'action-links\'><li>
<a href="../node/add/slider" target="_blank">Add Slider</a>
</li></ul>';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Post date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'node';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Created On';
  $handler->display->display_options['fields']['created']['date_format'] = 'long';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Content: Link to delete content */
  $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['label'] = 'Delete';
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = 'Uploaded Image';
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'thumbnail',
    'image_link' => '',
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 'All';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Published';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'Front Banner' => 'Front Banner',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['access'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Bulk operations: Content */
  $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['label'] = '#';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
    'action::node_publish_action' => array(
      'selected' => 1,
      'postpone_processing' => 0,
      'skip_confirmation' => 0,
      'skip_permission_check' => 0,
      'override_label' => 0,
      'label' => '',
    ),
    'action::node_unpublish_action' => array(
      'selected' => 1,
      'postpone_processing' => 0,
      'skip_confirmation' => 0,
      'skip_permission_check' => 0,
      'override_label' => 0,
      'label' => '',
    ),
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Slider Type */
  $handler->display->display_options['fields']['field_slider_type']['id'] = 'field_slider_type';
  $handler->display->display_options['fields']['field_slider_type']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['fields']['field_slider_type']['field'] = 'field_slider_type';
  /* Field: Content: Post date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'node';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Created On';
  $handler->display->display_options['fields']['created']['date_format'] = 'long';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'Slider Status / Published';
  $handler->display->display_options['fields']['status']['type'] = 'enabled-disabled';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Content: Link to delete content */
  $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['label'] = 'Delete';
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = 'Uploaded Image';
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'thumbnail',
    'image_link' => '',
  );
  $handler->display->display_options['path'] = 'admin/manage-frontslider';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Manage Front Slider';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['front_slider'] = $view;

  $view = new view();
  $view->name = 'hospital_clinic';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Hospital / Clinic';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Hospital / Clinic';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital / Clinic ID */
  $handler->display->display_options['fields']['field_hospital_clinic_id']['id'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['table'] = 'field_data_field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['field'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['label'] = 'ID';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Name';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Type */
  $handler->display->display_options['fields']['field_otype']['id'] = 'field_otype';
  $handler->display->display_options['fields']['field_otype']['table'] = 'field_data_field_otype';
  $handler->display->display_options['fields']['field_otype']['field'] = 'field_otype';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="hospital/[nid]">Manage [field_otype]</a>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Configure Frontend Site (Add Content)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<!--<a href="../admin/configure-site/[nid]">Configure Site</a>--> Configure Site';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'hospital' => 'hospital',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Hospital';
  $handler->display->display_options['menu']['weight'] = '24';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Hospital / Clinic ID */
  $handler->display->display_options['fields']['field_hospital_clinic_id']['id'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['table'] = 'field_data_field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['field'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['label'] = 'hid';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'hname';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Type */
  $handler->display->display_options['fields']['field_otype']['id'] = 'field_otype';
  $handler->display->display_options['fields']['field_otype']['table'] = 'field_data_field_otype';
  $handler->display->display_options['fields']['field_otype']['field'] = 'field_otype';
  $handler->display->display_options['fields']['field_otype']['label'] = 'htype';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Front Image */
  $handler->display->display_options['fields']['field_front_image']['id'] = 'field_front_image';
  $handler->display->display_options['fields']['field_front_image']['table'] = 'field_data_field_front_image';
  $handler->display->display_options['fields']['field_front_image']['field'] = 'field_front_image';
  $handler->display->display_options['fields']['field_front_image']['label'] = 'images';
  $handler->display->display_options['fields']['field_front_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_front_image']['settings'] = array(
    'image_style' => 'mobile_list_view__60_60_',
    'image_link' => '',
  );
  /* Field: Content: Location */
  $handler->display->display_options['fields']['field_location']['id'] = 'field_location';
  $handler->display->display_options['fields']['field_location']['table'] = 'field_data_field_location';
  $handler->display->display_options['fields']['field_location']['field'] = 'field_location';
  $handler->display->display_options['fields']['field_location']['label'] = 'hlocation';
  $handler->display->display_options['fields']['field_location']['type'] = 'taxonomy_term_reference_plain';
  $handler->display->display_options['path'] = 'hospital_list_mobile_view.json';
  $export['hospital_clinic'] = $view;

  $view = new view();
  $view->name = 'hospital_clinic_name';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Hospital / Clinic Name';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    2 => '2',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'hospital' => 'hospital',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/department/name';
  $export['hospital_clinic_name'] = $view;

  $view = new view();
  $view->name = 'hospital_dashboard';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Hospital Dashboard';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Department';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    9 => '9',
    6 => '6',
    13 => '13',
    4 => '4',
    15 => '15',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['row_options']['inline'] = array(
    'field_otype' => 'field_otype',
    'field_hospital_clinic_id' => 'field_hospital_clinic_id',
    'field_location' => 'field_location',
    'field_url_for_site' => 'field_url_for_site',
  );
  $handler->display->display_options['row_options']['separator'] = ' : ';
  /* Field: Field: Disease Photo */
  $handler->display->display_options['fields']['field_image']['id'] = 'field_image';
  $handler->display->display_options['fields']['field_image']['table'] = 'field_data_field_image';
  $handler->display->display_options['fields']['field_image']['field'] = 'field_image';
  $handler->display->display_options['fields']['field_image']['label'] = '';
  $handler->display->display_options['fields']['field_image']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['field_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_image']['settings'] = array(
    'image_style' => '',
    'image_link' => '',
  );
  $handler->display->display_options['fields']['field_image']['delta_offset'] = '0';
  /* Field: Content: Hospital / Clinic ID */
  $handler->display->display_options['fields']['field_hospital_clinic_id']['id'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['table'] = 'field_data_field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['field'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['label'] = 'ID';
  /* Field: Content: Site Url */
  $handler->display->display_options['fields']['field_url_for_site']['id'] = 'field_url_for_site';
  $handler->display->display_options['fields']['field_url_for_site']['table'] = 'field_data_field_url_for_site';
  $handler->display->display_options['fields']['field_url_for_site']['field'] = 'field_url_for_site';
  $handler->display->display_options['fields']['field_url_for_site']['label'] = 'URL for site';
  /* Field: Content: Location */
  $handler->display->display_options['fields']['field_location']['id'] = 'field_location';
  $handler->display->display_options['fields']['field_location']['table'] = 'field_data_field_location';
  $handler->display->display_options['fields']['field_location']['field'] = 'field_location';
  $handler->display->display_options['fields']['field_location']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Body */
  $handler->display->display_options['fields']['body']['id'] = 'body';
  $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
  $handler->display->display_options['fields']['body']['field'] = 'body';
  $handler->display->display_options['fields']['body']['label'] = 'About Hospital';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'access denied';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'hospital' => 'hospital',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Manage Hospital';
  $handler->display->display_options['path'] = 'admin/hospital/%/dashboard';
  $handler->display->display_options['menu']['type'] = 'default tab';
  $handler->display->display_options['menu']['title'] = 'Dashboard';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $handler->display->display_options['tab_options']['title'] = 'Dashboard';
  $handler->display->display_options['tab_options']['weight'] = '0';

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['argument_input'] = array(
    'nid' => array(
      'type' => 'panel',
      'context' => 'entity:field_collection_item.archived',
      'context_optional' => 0,
      'panel' => '2',
      'fixed' => '',
      'label' => 'Content: Nid',
    ),
  );
  $handler->display->display_options['inherit_panels_path'] = '1';
  $export['hospital_dashboard'] = $view;

  $view = new view();
  $view->name = 'hospital_department';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Hospital Department';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Department';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    11 => '11',
    9 => '9',
    6 => '6',
    13 => '13',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add Department';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/department\'>Add Department</a> | <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/room\'>Add Room</a> | <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds\'>Add Beds</a> | <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients\'>Add OPD Patients</a> | <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/ipd-patients\'>Add IPD Patients</a> <br><br>';
  /* Relationship: Entity Reference: Referencing entity */
  $handler->display->display_options['relationships']['reverse_field_hospital_clinic_node']['id'] = 'reverse_field_hospital_clinic_node';
  $handler->display->display_options['relationships']['reverse_field_hospital_clinic_node']['table'] = 'node';
  $handler->display->display_options['relationships']['reverse_field_hospital_clinic_node']['field'] = 'reverse_field_hospital_clinic_node';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Department ID */
  $handler->display->display_options['fields']['field_department_id']['id'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['table'] = 'field_data_field_department_id';
  $handler->display->display_options['fields']['field_department_id']['field'] = 'field_department_id';
  $handler->display->display_options['fields']['field_department_id']['label'] = 'ID';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Department';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Ward /Room';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="room/[nid]">Manage</a>';
  /* Field: Content: No of Rooms */
  $handler->display->display_options['fields']['field_no_of_rooms']['id'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['table'] = 'field_data_field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['field'] = 'field_no_of_rooms';
  $handler->display->display_options['fields']['field_no_of_rooms']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'fixed';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Published';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
  );
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'department' => 'department',
  );
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['value'] = array(
    'Active' => 'Active',
  );
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'departmenthos';
  $handler->display->display_options['menu']['title'] = 'Department';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['hospital_department'] = $view;

  $view = new view();
  $view->name = 'hospital_list_mobile_view';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Hospital List Mobile View';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Hospital List Mobile View';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'views_json';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'name';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Hospital / Clinic ID */
  $handler->display->display_options['fields']['field_hospital_clinic_id']['id'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['table'] = 'field_data_field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['field'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['label'] = 'hospital_id';
  /* Field: Content: Type */
  $handler->display->display_options['fields']['field_otype']['id'] = 'field_otype';
  $handler->display->display_options['fields']['field_otype']['table'] = 'field_data_field_otype';
  $handler->display->display_options['fields']['field_otype']['field'] = 'field_otype';
  $handler->display->display_options['fields']['field_otype']['label'] = 'type';
  /* Field: Content: Location */
  $handler->display->display_options['fields']['field_location']['id'] = 'field_location';
  $handler->display->display_options['fields']['field_location']['table'] = 'field_data_field_location';
  $handler->display->display_options['fields']['field_location']['field'] = 'field_location';
  $handler->display->display_options['fields']['field_location']['label'] = 'hlocation';
  /* Field: Content: Front Image */
  $handler->display->display_options['fields']['field_front_image']['id'] = 'field_front_image';
  $handler->display->display_options['fields']['field_front_image']['table'] = 'field_data_field_front_image';
  $handler->display->display_options['fields']['field_front_image']['field'] = 'field_front_image';
  $handler->display->display_options['fields']['field_front_image']['label'] = 'images';
  $handler->display->display_options['fields']['field_front_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_front_image']['settings'] = array(
    'image_style' => 'product_thumbnail',
    'image_link' => '',
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'hospital' => 'hospital',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'hospital_list_mobile_view.json';
  $export['hospital_list_mobile_view'] = $view;

  $view = new view();
  $view->name = 'ipd_patients';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'IPD Patients';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'IPD Patients';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    20 => '20',
    13 => '13',
    26 => '26',
    4 => '4',
    19 => '19',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add IPD Patient Detail';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds">Add IPD Patient Detail</a><br><br>';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['relationships']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['relationships']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'Patient Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['year_range'] = '-2:+3';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Fieldset';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<fieldset class=\'form-wrapper container-inline\' id=\'edit-options\'><legend><span class=\'fieldset-legend\'></span></legend><div class=\'fieldset-wrapper\'>';
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['relationships']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['relationships']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (IPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'IPD';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient_1']['id'] = 'field_patient_1';
  $handler->display->display_options['fields']['field_patient_1']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient_1']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient_1']['label'] = 'OPD';
  $handler->display->display_options['fields']['field_patient_1']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient_1']['delta_offset'] = '0';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login Username ID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '[field_patient_login_username] | [field_patient_login_username_1]';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Date of Discharge */
  $handler->display->display_options['fields']['field_date_of_discharge']['id'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['field'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'Bed Status';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient (OPD Registration ID)';
  $handler->display->display_options['fields']['field_patient']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Case History';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?field_patient_ipdnewregistration_target_id=[nid]">View case</a> | <a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient]&field_patient_login_username=[field_patient_login_username_1]&field_patient_ipdnewregistration=[nid]&field_case_type=103">Add new case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient]&field_patient_login_username=[field_patient_login_username_1]&field_patient_ipdnewregistration=[nid]&field_case_type=102">Add follow up case</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Room/Ward';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date of Discharge (field_date_of_discharge) */
  $handler->display->display_options['filters']['field_date_of_discharge_value']['id'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['field'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator_id'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['label'] = 'Date of Discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['identifier'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_discharge_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized Registration No (IPD)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Bed Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  /* Filter criterion: Content: Discharged (field_discharged) */
  $handler->display->display_options['filters']['field_discharged_value']['id'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['filters']['field_discharged_value']['field'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator_id'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['label'] = 'Discharged';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['identifier'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 75';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'admin/ipd-patients';

  /* Display: Data export */
  $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Automatic (Registration No)';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = 'IP[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  $handler->display->display_options['path'] = 'ipd-patients-csv';
  $handler->display->display_options['displays'] = array(
    'default' => 'default',
    'page' => 'page',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'IPD Patients Discharge Summary';
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_department',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'nid' => 'nid',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'field_room' => 'field_room',
    'field_bed' => 'field_bed',
    'nothing_1' => 'nothing_1',
    'title' => 'title',
    'field_patient_1' => 'field_patient_1',
    'field_age' => 'field_age',
    'field_gender' => 'field_gender',
    'field_address_administrative_area' => 'field_address_administrative_area',
    'field_first_name' => 'field_first_name',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_date_of_shifting' => 'field_date_of_shifting',
    'field_date_of_discharge' => 'field_date_of_discharge',
    'field_discharged' => 'field_discharged',
    'field_room_status' => 'field_room_status',
    'field_patient' => 'field_patient',
    'field_patient_login_username_1' => 'field_patient_login_username_1',
    'nothing' => 'nothing',
    'nothing_2' => 'nothing_2',
    'edit_node' => 'edit_node',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_bed' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_age' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_gender' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_address_administrative_area' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_shifting' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_discharge' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_discharged' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_2' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Fieldset';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<fieldset class=\'form-wrapper container-inline\' id=\'edit-options\'><legend><span class=\'fieldset-legend\'></span></legend><div class=\'fieldset-wrapper\'>';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['relationships']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['relationships']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (IPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'IPD';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient_1']['id'] = 'field_patient_1';
  $handler->display->display_options['fields']['field_patient_1']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient_1']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient_1']['label'] = 'OPD';
  $handler->display->display_options['fields']['field_patient_1']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient_1']['delta_offset'] = '0';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login Username ID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '[field_patient_login_username] | [field_patient_login_username_1]';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Date of Discharge */
  $handler->display->display_options['fields']['field_date_of_discharge']['id'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['field'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'Bed Status';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient (OPD Registration ID)';
  $handler->display->display_options['fields']['field_patient']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Case History';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?field_patient_ipdnewregistration_target_id=[nid]">View case</a> | <a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient]&field_patient_login_username=[field_patient_login_username_1]&field_patient_ipdnewregistration=[nid]&field_case_type=103">Add new case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient]&field_patient_login_username=[field_patient_login_username_1]&field_patient_ipdnewregistration=[nid]&field_case_type=102">Add follow up case</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Room/Ward';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date of Discharge (field_date_of_discharge) */
  $handler->display->display_options['filters']['field_date_of_discharge_value']['id'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['field'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator_id'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['label'] = 'Date of Discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['identifier'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_discharge_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized Registration No (IPD)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Bed Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  /* Filter criterion: Content: Discharged (field_discharged) */
  $handler->display->display_options['filters']['field_discharged_value']['id'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['filters']['field_discharged_value']['field'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator_id'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['label'] = 'Discharged';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['identifier'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'admin/ipd-patients-discharge-summary';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Fieldset';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<fieldset class=\'form-wrapper container-inline\' id=\'edit-options\'><legend><span class=\'fieldset-legend\'></span></legend><div class=\'fieldset-wrapper\'>';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['relationships']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['relationships']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['label'] = 'Bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'centeripdno';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'ipd';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient_1']['id'] = 'field_patient_1';
  $handler->display->display_options['fields']['field_patient_1']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient_1']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient_1']['label'] = 'opd';
  $handler->display->display_options['fields']['field_patient_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient_1']['delta_offset'] = '0';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['label'] = 'Firstname';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'ploginusername';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'patientloginuserid';
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'login_username_id';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '[field_patient_login_username] | [field_patient_login_username_1]';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'date_admission_discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Date of Discharge */
  $handler->display->display_options['fields']['field_date_of_discharge']['id'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['field'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['label'] = 'dateofdischarge';
  $handler->display->display_options['fields']['field_date_of_discharge']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'bedstatus';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'centeropdno';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Room/Ward';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date of Discharge (field_date_of_discharge) */
  $handler->display->display_options['filters']['field_date_of_discharge_value']['id'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['field'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator_id'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['label'] = 'Date of Discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['identifier'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_discharge_value']['form_type'] = 'date_popup';
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_room_status_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Bed Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  /* Filter criterion: Content: Discharged (field_discharged) */
  $handler->display->display_options['filters']['field_discharged_value']['id'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['filters']['field_discharged_value']['field'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['group'] = 1;
  $handler->display->display_options['filters']['field_discharged_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator_id'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['label'] = 'Discharged';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['identifier'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'ipd_list_mobile_view.json';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_3');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = ' Shri SBLD Ayurved Vishwa Bharti - IPD Patients';
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Fieldset';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<fieldset class=\'form-wrapper container-inline\' id=\'edit-options\'><legend><span class=\'fieldset-legend\'></span></legend><div class=\'fieldset-wrapper\'>';
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['relationships']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['relationships']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (IPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'IPD';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient_1']['id'] = 'field_patient_1';
  $handler->display->display_options['fields']['field_patient_1']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient_1']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient_1']['label'] = 'OPD';
  $handler->display->display_options['fields']['field_patient_1']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient_1']['delta_offset'] = '0';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login Username ID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '[field_patient_login_username] | [field_patient_login_username_1]';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Date of Discharge */
  $handler->display->display_options['fields']['field_date_of_discharge']['id'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['field'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'Bed Status';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient (OPD Registration ID)';
  $handler->display->display_options['fields']['field_patient']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Case History';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/view-patient-case-detail?field_patient_ipdnewregistration_target_id=[nid]">View case</a> ';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Room/Ward';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date of Discharge (field_date_of_discharge) */
  $handler->display->display_options['filters']['field_date_of_discharge_value']['id'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['field'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator_id'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['label'] = 'Date of Discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['identifier'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_discharge_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized Registration No (IPD)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Bed Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  /* Filter criterion: Content: Discharged (field_discharged) */
  $handler->display->display_options['filters']['field_discharged_value']['id'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['filters']['field_discharged_value']['field'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator_id'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['label'] = 'Discharged';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['operator'] = 'field_discharged_value_op';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['identifier'] = 'field_discharged_value';
  $handler->display->display_options['filters']['field_discharged_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 75';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'admin/view-ipd-patients';
  $export['ipd_patients'] = $view;

  $view = new view();
  $view->name = 'ipd_patients_room_wise';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'IPD Patients Room Wise';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'IPD Patients Room Wise';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    9 => '9',
    8 => '8',
    13 => '13',
    4 => '4',
    15 => '15',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic' => 'field_hospital_clinic',
    'nid' => 'nid',
    'title' => 'title',
    'nothing_1' => 'nothing_1',
    'field_patient' => 'field_patient',
    'field_department' => 'field_department',
    'field_room' => 'field_room',
    'field_bed' => 'field_bed',
    'field_date_of_shifting' => 'field_date_of_shifting',
    'edit_node' => 'edit_node',
    'nothing' => 'nothing',
  );
  $handler->display->display_options['style_options']['class'] = '';
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_bed' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_shifting' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Department (field_department) */
  $handler->display->display_options['arguments']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['arguments']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_department_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Room (field_room) */
  $handler->display->display_options['arguments']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['arguments']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['arguments']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['arguments']['field_room_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_room_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_room_target_id']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['field_room_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_room_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_room_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Bed No (field_bed) */
  $handler->display->display_options['arguments']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['arguments']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['arguments']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['arguments']['field_bed_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_bed_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_bed_target_id']['default_argument_options']['index'] = '4';
  $handler->display->display_options['arguments']['field_bed_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_bed_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_bed_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'Patient Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'Hospital / Clinic ID';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Automatic (Registration No)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = 'IP[nid]';
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  $handler->display->display_options['path'] = 'admin/ipd-patients-room-wise';

  /* Display: Data export */
  $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Automatic (Registration No)';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = 'IP[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  $handler->display->display_options['path'] = 'ipd-patients-csv';
  $handler->display->display_options['displays'] = array(
    'default' => 'default',
    'page' => 'page',
  );
  $export['ipd_patients_room_wise'] = $view;

  $view = new view();
  $view->name = 'lab_test_report';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'field_collection_item';
  $view->human_name = 'Lab Test Report';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Lab Test Report';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'none';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'views_aggregator';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'item_id' => 'item_id',
    'field_prefertest' => 'field_prefertest',
    'field_upload_test_report' => 'field_upload_test_report',
    'field_amount' => 'field_amount',
    'field_amount_status' => 'field_amount_status',
    'field_bill_receipt' => 'field_bill_receipt',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'item_id' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_prefertest' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_upload_test_report' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 1,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_bill_receipt' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
  );
  $handler->display->display_options['style_options']['column_aggregation']['totals_per_page'] = '1';
  $handler->display->display_options['style_options']['column_aggregation']['totals_row_position'] = array(
    1 => '1',
    2 => '2',
  );
  $handler->display->display_options['style_options']['column_aggregation']['precision'] = '2';
  /* Relationship: Field collection item: Test (field_prefertest) */
  $handler->display->display_options['relationships']['field_prefertest_tid']['id'] = 'field_prefertest_tid';
  $handler->display->display_options['relationships']['field_prefertest_tid']['table'] = 'field_data_field_prefertest';
  $handler->display->display_options['relationships']['field_prefertest_tid']['field'] = 'field_prefertest_tid';
  /* Relationship: Field collection item: Entity with the Test (field_preferedtest) */
  $handler->display->display_options['relationships']['field_preferedtest_node']['id'] = 'field_preferedtest_node';
  $handler->display->display_options['relationships']['field_preferedtest_node']['table'] = 'field_collection_item';
  $handler->display->display_options['relationships']['field_preferedtest_node']['field'] = 'field_preferedtest_node';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['exclude'] = TRUE;
  /* Field: Field collection item: Test */
  $handler->display->display_options['fields']['field_prefertest']['id'] = 'field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['table'] = 'field_data_field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['field'] = 'field_prefertest';
  /* Field: Field collection item: Upload Test Report */
  $handler->display->display_options['fields']['field_upload_test_report']['id'] = 'field_upload_test_report';
  $handler->display->display_options['fields']['field_upload_test_report']['table'] = 'field_data_field_upload_test_report';
  $handler->display->display_options['fields']['field_upload_test_report']['field'] = 'field_upload_test_report';
  $handler->display->display_options['fields']['field_upload_test_report']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_upload_test_report']['delta_offset'] = '0';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  /* Field: Field: Bill Receipt */
  $handler->display->display_options['fields']['field_bill_receipt']['id'] = 'field_bill_receipt';
  $handler->display->display_options['fields']['field_bill_receipt']['table'] = 'field_data_field_bill_receipt';
  $handler->display->display_options['fields']['field_bill_receipt']['field'] = 'field_bill_receipt';
  $handler->display->display_options['fields']['field_bill_receipt']['click_sort_column'] = 'url';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['relationship'] = 'field_preferedtest_node';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Case Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Filter criterion: Field collection item: Field name */
  $handler->display->display_options['filters']['field_name']['id'] = 'field_name';
  $handler->display->display_options['filters']['field_name']['table'] = 'field_collection_item';
  $handler->display->display_options['filters']['field_name']['field'] = 'field_name';
  $handler->display->display_options['filters']['field_name']['value'] = array(
    'field_preferedtest' => 'field_preferedtest',
  );
  $handler->display->display_options['filters']['field_name']['group'] = 1;
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value']['value']['value'] = '0';
  $handler->display->display_options['filters']['field_amount_value']['group'] = 1;
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['relationship'] = 'field_preferedtest_node';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/lab-test-report';
  $export['lab_test_report'] = $view;

  $view = new view();
  $view->name = 'lab_test_report_full';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Lab Test Report Full';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Lab Test Report (Payment Done)';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    18 => '18',
    9 => '9',
    13 => '13',
    4 => '4',
    15 => '15',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'title',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'nid' => 'nid',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'title' => 'title',
    'nothing_1' => 'nothing_1',
    'field_chief_complains' => 'field_chief_complains',
    'field_first_name' => 'field_first_name',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_patient_login_username_1' => 'field_patient_login_username_1',
    'field_case_type' => 'field_case_type',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'nothing' => 'nothing',
    'field_preferedtest' => 'field_preferedtest',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_chief_complains' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_case_type' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_preferedtest' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Relationship: Content: Test (field_preferedtest) */
  $handler->display->display_options['relationships']['field_preferedtest_value']['id'] = 'field_preferedtest_value';
  $handler->display->display_options['relationships']['field_preferedtest_value']['table'] = 'field_data_field_preferedtest';
  $handler->display->display_options['relationships']['field_preferedtest_value']['field'] = 'field_preferedtest_value';
  $handler->display->display_options['relationships']['field_preferedtest_value']['delta'] = '-1';
  /* Relationship: Field collection item: Entity with the Test (field_preferedtest) */
  $handler->display->display_options['relationships']['field_preferedtest_node']['id'] = 'field_preferedtest_node';
  $handler->display->display_options['relationships']['field_preferedtest_node']['table'] = 'field_collection_item';
  $handler->display->display_options['relationships']['field_preferedtest_node']['field'] = 'field_preferedtest_node';
  $handler->display->display_options['relationships']['field_preferedtest_node']['relationship'] = 'field_preferedtest_value';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Case Title';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Case Title';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[title]  ([nid])';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login Username ID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_case_type']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<b>[field_hospital_clinic] </b><br><br>
<b>Name : </b>[field_first_name]  <br> 
<b>Login Username | ID : </b> [field_patient_login_username]  |  [field_patient_login_username_1] <br> 
<b>OPD Registration No. : </b> [field_patient_ipd_registration_n]  <br>
<b>IPD Registration No. : </b> [field_patient_ipdnewregistration]  <br>
<b>Case Type : </b> [field_case_type] <br>
<b>Case Date : </b> [field_patient_case_detail]  <br>';
  /* Field: Content: Test */
  $handler->display->display_options['fields']['field_preferedtest']['id'] = 'field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['table'] = 'field_data_field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['field'] = 'field_preferedtest';
  $handler->display->display_options['fields']['field_preferedtest']['label'] = 'Lab Test';
  $handler->display->display_options['fields']['field_preferedtest']['type'] = 'field_collection_table_view';
  $handler->display->display_options['fields']['field_preferedtest']['settings'] = array(
    'add' => 'Add',
    'edit' => 'Edit',
    'translate' => '',
    'delete' => '',
    'description' => 1,
    'view_mode' => 'full',
    'hide_empty' => 1,
    'empty' => 1,
  );
  $handler->display->display_options['fields']['field_preferedtest']['group_rows'] = FALSE;
  $handler->display->display_options['fields']['field_preferedtest']['delta_offset'] = '0';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['filters']['field_amount_value']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value']['value']['value'] = '0';
  $handler->display->display_options['filters']['field_amount_value']['group'] = 1;
  /* Filter criterion: Field: Status (field_amount_status) */
  $handler->display->display_options['filters']['field_amount_status_value']['id'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['filters']['field_amount_status_value']['field'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['filters']['field_amount_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator_id'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['label'] = 'Lab Test Payment Status';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['identifier'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'Patient IPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'Patient OPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Case Title';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Chief Complains (field_chief_complains) */
  $handler->display->display_options['filters']['field_chief_complains_value']['id'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['filters']['field_chief_complains_value']['field'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_chief_complains_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['operator_id'] = 'field_chief_complains_value_op';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['label'] = 'Chief Complains';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['operator'] = 'field_chief_complains_value_op';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['identifier'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital/Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Patient Case Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['year_range'] = '-10:+1';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/lab-test-report-full';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Paid Lab Tests';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['lab_test_report_full'] = $view;

  $view = new view();
  $view->name = 'list_of_doctors';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'List of doctors';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'List of doctors';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    2 => '2',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    12 => '12',
    15 => '15',
  );
  /* Filter criterion: User: The user ID */
  $handler->display->display_options['filters']['uid_raw']['id'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['table'] = 'users';
  $handler->display->display_options['filters']['uid_raw']['field'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['operator'] = '>';
  $handler->display->display_options['filters']['uid_raw']['value']['value'] = '4';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/list-of-doctors';

  /* Display: Entity Reference View Widget */
  $handler = $view->new_display('entityreference_view_widget', 'Entity Reference View Widget', 'entityreference_view_widget_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['use_ajax'] = FALSE;
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '40';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'name' => 'name',
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $export['list_of_doctors'] = $view;

  $view = new view();
  $view->name = 'list_of_incharge';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'List of incharge';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'List of incharge';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    2 => '2',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    16 => '16',
  );
  /* Filter criterion: User: The user ID */
  $handler->display->display_options['filters']['uid_raw']['id'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['table'] = 'users';
  $handler->display->display_options['filters']['uid_raw']['field'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['operator'] = '>';
  $handler->display->display_options['filters']['uid_raw']['value']['value'] = '4';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/list-of-incharge';

  /* Display: Entity Reference View Widget */
  $handler = $view->new_display('entityreference_view_widget', 'Entity Reference View Widget', 'entityreference_view_widget_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['use_ajax'] = FALSE;
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '40';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'name' => 'name',
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $export['list_of_incharge'] = $view;

  $view = new view();
  $view->name = 'list_of_patients_username';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'List of patients username';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'List of patients';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
    6 => '6',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: User: Hospital / Clinic (membership) */
  $handler->display->display_options['fields']['og_user_node']['id'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['table'] = 'og_membership';
  $handler->display->display_options['fields']['og_user_node']['field'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['fields']['og_user_node']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['og_user_node']['delta_offset'] = '0';
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['link_photo_to_profile'] = FALSE;
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Sort criterion: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['sorts']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['sorts']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['sorts']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  /* Sort criterion: User: Name */
  $handler->display->display_options['sorts']['name']['id'] = 'name';
  $handler->display->display_options['sorts']['name']['table'] = 'users';
  $handler->display->display_options['sorts']['name']['field'] = 'name';
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    7 => '7',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;
  $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['label'] = 'Role';
  $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );
  $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  /* Filter criterion: User: The user ID */
  $handler->display->display_options['filters']['uid_raw']['id'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['table'] = 'users';
  $handler->display->display_options['filters']['uid_raw']['field'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['operator'] = '>';
  $handler->display->display_options['filters']['uid_raw']['value']['value'] = '4';
  $handler->display->display_options['filters']['uid_raw']['group'] = 1;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'list-of-patients';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Patients (login username)';
  $handler->display->display_options['menu']['weight'] = '90';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['group_by'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'none';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'name' => 'name',
    'mail' => 'mail',
    'og_user_node' => 0,
    'nothing' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: User: Hospital / Clinic (membership) */
  $handler->display->display_options['fields']['og_user_node']['id'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['table'] = 'og_membership';
  $handler->display->display_options['fields']['og_user_node']['field'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['fields']['og_user_node']['exclude'] = TRUE;
  $handler->display->display_options['fields']['og_user_node']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['og_user_node']['delta_offset'] = '0';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[mail]  ::  [name] => ([og_user_node])';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['arguments']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['arguments']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['exception']['value'] = '';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_options']['index'] = '4';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['arguments']['og_user_node_target_id']['specify_validation'] = TRUE;
  $handler->display->display_options['arguments']['og_user_node_target_id']['validate']['type'] = 'php';
  $handler->display->display_options['arguments']['og_user_node_target_id']['validate_options']['code'] = '<?php
if($_GET[\'field_hospital_clinic\']){
return $_GET[\'field_hospital_clinic\'];
}else{
return \'\';
}
?>';
  $handler->display->display_options['arguments']['og_user_node_target_id']['validate']['fail'] = 'ignore';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    7 => '7',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;
  $handler->display->display_options['filters']['rid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['label'] = 'Role';
  $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );
  $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  /* Filter criterion: User: The user ID */
  $handler->display->display_options['filters']['uid_raw']['id'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['table'] = 'users';
  $handler->display->display_options['filters']['uid_raw']['field'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['operator'] = '>';
  $handler->display->display_options['filters']['uid_raw']['value']['value'] = '4';
  $handler->display->display_options['filters']['uid_raw']['group'] = 1;
  $export['list_of_patients_username'] = $view;

  $view = new view();
  $view->name = 'list_of_staff_members';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'List of staff members';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'List of staff members';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
    6 => '6',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: User: Hospital / Clinic (membership) */
  $handler->display->display_options['fields']['og_user_node']['id'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['table'] = 'og_membership';
  $handler->display->display_options['fields']['og_user_node']['field'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['fields']['og_user_node']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['og_user_node']['delta_offset'] = '0';
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['link_photo_to_profile'] = FALSE;
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Sort criterion: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['sorts']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['sorts']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['sorts']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  /* Sort criterion: User: Name */
  $handler->display->display_options['sorts']['name']['id'] = 'name';
  $handler->display->display_options['sorts']['name']['table'] = 'users';
  $handler->display->display_options['sorts']['name']['field'] = 'name';
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    13 => '13',
    10 => '10',
    14 => '14',
    15 => '15',
    11 => '11',
    6 => '6',
    9 => '9',
    8 => '8',
    5 => '5',
    12 => '12',
  );
  $handler->display->display_options['filters']['rid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['label'] = 'Role';
  $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    13 => 0,
    10 => 0,
    14 => 0,
    15 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  /* Filter criterion: User: The user ID */
  $handler->display->display_options['filters']['uid_raw']['id'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['table'] = 'users';
  $handler->display->display_options['filters']['uid_raw']['field'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['operator'] = '>';
  $handler->display->display_options['filters']['uid_raw']['value']['value'] = '4';
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
  $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid_1']['field'] = 'rid';
  $handler->display->display_options['filters']['rid_1']['operator'] = 'not';
  $handler->display->display_options['filters']['rid_1']['value'] = array(
    7 => '7',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'list-of-staff-members';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Staff members';
  $handler->display->display_options['menu']['weight'] = '90';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['group_by'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'none';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'name' => 'name',
    'mail' => 'mail',
    'og_user_node' => 0,
    'nothing' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: User: Hospital / Clinic (membership) */
  $handler->display->display_options['fields']['og_user_node']['id'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['table'] = 'og_membership';
  $handler->display->display_options['fields']['og_user_node']['field'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['fields']['og_user_node']['exclude'] = TRUE;
  $handler->display->display_options['fields']['og_user_node']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['og_user_node']['delta_offset'] = '0';
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  $handler->display->display_options['fields']['rid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[mail]  ::  [name] => ([rid] == [og_user_node])';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['arguments']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['arguments']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['exception']['value'] = '';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_options']['index'] = '4';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['arguments']['og_user_node_target_id']['specify_validation'] = TRUE;
  $handler->display->display_options['arguments']['og_user_node_target_id']['validate']['type'] = 'php';
  $handler->display->display_options['arguments']['og_user_node_target_id']['validate_options']['code'] = '<?php
if($_GET[\'field_hospital_clinic\']){
return $_GET[\'field_hospital_clinic\'];
}else{
return \'\';
}
?>';
  $handler->display->display_options['arguments']['og_user_node_target_id']['validate']['fail'] = 'ignore';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['operator'] = 'not';
  $handler->display->display_options['filters']['rid']['value'] = array(
    3 => '3',
    4 => '4',
    7 => '7',
  );
  $handler->display->display_options['filters']['rid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['label'] = 'Role';
  $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );
  $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  /* Filter criterion: User: The user ID */
  $handler->display->display_options['filters']['uid_raw']['id'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['table'] = 'users';
  $handler->display->display_options['filters']['uid_raw']['field'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['operator'] = '>';
  $handler->display->display_options['filters']['uid_raw']['value']['value'] = '4';
  $export['list_of_staff_members'] = $view;

  $view = new view();
  $view->name = 'machine_incharge';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'Machine Incharge';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Machine Incharge';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    2 => '2',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['label'] = '';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    21 => '21',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/machine-incharge';

  /* Display: Entity Reference View Widget */
  $handler = $view->new_display('entityreference_view_widget', 'Entity Reference View Widget', 'entityreference_view_widget_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['use_ajax'] = FALSE;
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'uid' => 'uid',
    'name' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $export['machine_incharge'] = $view;

  $view = new view();
  $view->name = 'machines';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Machines';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    11 => '11',
    21 => '21',
    9 => '9',
    8 => '8',
    13 => '13',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic' => 'field_hospital_clinic',
    'nid' => 'nid',
    'title' => 'title',
    'field_ownwer_name' => 'field_ownwer_name',
    'edit_node' => 'edit_node',
    'nothing' => 'nothing',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_ownwer_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Machine Name';
  /* Field: Content: Tests */
  $handler->display->display_options['fields']['field_machine_tests']['id'] = 'field_machine_tests';
  $handler->display->display_options['fields']['field_machine_tests']['table'] = 'field_data_field_machine_tests';
  $handler->display->display_options['fields']['field_machine_tests']['field'] = 'field_machine_tests';
  $handler->display->display_options['fields']['field_machine_tests']['delta_offset'] = '0';
  /* Field: Content: Therapy */
  $handler->display->display_options['fields']['field_machine_therapy']['id'] = 'field_machine_therapy';
  $handler->display->display_options['fields']['field_machine_therapy']['table'] = 'field_data_field_machine_therapy';
  $handler->display->display_options['fields']['field_machine_therapy']['field'] = 'field_machine_therapy';
  $handler->display->display_options['fields']['field_machine_therapy']['delta_offset'] = '0';
  /* Field: Field: Person Done */
  $handler->display->display_options['fields']['field_person_incharge']['id'] = 'field_person_incharge';
  $handler->display->display_options['fields']['field_person_incharge']['table'] = 'field_data_field_person_incharge';
  $handler->display->display_options['fields']['field_person_incharge']['field'] = 'field_person_incharge';
  $handler->display->display_options['fields']['field_person_incharge']['label'] = 'Person Incharge';
  $handler->display->display_options['fields']['field_person_incharge']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_person_incharge']['delta_offset'] = '0';
  /* Field: Field: Working Status */
  $handler->display->display_options['fields']['field_working_status']['id'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['fields']['field_working_status']['field'] = 'field_working_status';
  /* Field: Content: Need maintenance in days */
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['id'] = 'field_need_maintenance_in_days';
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['table'] = 'field_data_field_need_maintenance_in_days';
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['field'] = 'field_need_maintenance_in_days';
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['label'] = 'Date of Maintenance';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Upload Invoice /Bill */
  $handler->display->display_options['fields']['field_upload_bill']['id'] = 'field_upload_bill';
  $handler->display->display_options['fields']['field_upload_bill']['table'] = 'field_data_field_upload_bill';
  $handler->display->display_options['fields']['field_upload_bill']['field'] = 'field_upload_bill';
  $handler->display->display_options['fields']['field_upload_bill']['label'] = 'Invoice /Bill';
  $handler->display->display_options['fields']['field_upload_bill']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_upload_bill']['delta_offset'] = '0';
  /* Field: Field: Any Warranty */
  $handler->display->display_options['fields']['field_any_warranty']['id'] = 'field_any_warranty';
  $handler->display->display_options['fields']['field_any_warranty']['table'] = 'field_data_field_any_warranty';
  $handler->display->display_options['fields']['field_any_warranty']['field'] = 'field_any_warranty';
  /* Field: Field: Date of Warranty Expire */
  $handler->display->display_options['fields']['field_amount_date']['id'] = 'field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['table'] = 'field_data_field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['field'] = 'field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Maintenance Detail';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'machines' => 'machines',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Working Status (field_working_status) */
  $handler->display->display_options['filters']['field_working_status_value']['id'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['filters']['field_working_status_value']['field'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_working_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator_id'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['label'] = 'Working Status';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['identifier'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Person Done (field_person_incharge) */
  $handler->display->display_options['filters']['field_person_incharge_target_id']['id'] = 'field_person_incharge_target_id';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['table'] = 'field_data_field_person_incharge';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['field'] = 'field_person_incharge_target_id';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_person_incharge_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['operator_id'] = 'field_person_incharge_target_id_op';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['label'] = 'Person Incharge';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['operator'] = 'field_person_incharge_target_id_op';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['identifier'] = 'field_person_incharge_target_id';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Date (field_date) */
  $handler->display->display_options['filters']['field_date_value']['id'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['table'] = 'field_data_field_date';
  $handler->display->display_options['filters']['field_date_value']['field'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator_id'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['label'] = 'Date of Maintenance';
  $handler->display->display_options['filters']['field_date_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['identifier'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_value']['year_range'] = '-10:+10';
  /* Filter criterion: Field: Date of Warranty Expire (field_amount_date) */
  $handler->display->display_options['filters']['field_amount_date_value']['id'] = 'field_amount_date_value';
  $handler->display->display_options['filters']['field_amount_date_value']['table'] = 'field_data_field_amount_date';
  $handler->display->display_options['filters']['field_amount_date_value']['field'] = 'field_amount_date_value';
  $handler->display->display_options['filters']['field_amount_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['operator_id'] = 'field_amount_date_value_op';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['label'] = 'Date of Warranty';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['operator'] = 'field_amount_date_value_op';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['identifier'] = 'field_amount_date_value';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_amount_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_amount_date_value']['year_range'] = '-10:+10';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/machinelist';

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['argument_input'] = array(
    'field_hospital_clinic_target_id' => array(
      'type' => 'panel',
      'context' => 'entity:comment.author',
      'context_optional' => 0,
      'panel' => '2',
      'fixed' => '',
      'label' => 'Content: Hospital/Clinic (field_hospital_clinic)',
    ),
  );
  $handler->display->display_options['inherit_panels_path'] = '1';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['label'] = 'department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'mname';
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Tests */
  $handler->display->display_options['fields']['field_machine_tests']['id'] = 'field_machine_tests';
  $handler->display->display_options['fields']['field_machine_tests']['table'] = 'field_data_field_machine_tests';
  $handler->display->display_options['fields']['field_machine_tests']['field'] = 'field_machine_tests';
  $handler->display->display_options['fields']['field_machine_tests']['label'] = 'mtests';
  $handler->display->display_options['fields']['field_machine_tests']['type'] = 'taxonomy_term_reference_plain';
  $handler->display->display_options['fields']['field_machine_tests']['delta_offset'] = '0';
  /* Field: Content: Therapy */
  $handler->display->display_options['fields']['field_machine_therapy']['id'] = 'field_machine_therapy';
  $handler->display->display_options['fields']['field_machine_therapy']['table'] = 'field_data_field_machine_therapy';
  $handler->display->display_options['fields']['field_machine_therapy']['field'] = 'field_machine_therapy';
  $handler->display->display_options['fields']['field_machine_therapy']['label'] = 'mtherapy';
  $handler->display->display_options['fields']['field_machine_therapy']['type'] = 'taxonomy_term_reference_plain';
  $handler->display->display_options['fields']['field_machine_therapy']['delta_offset'] = '0';
  /* Field: Field: Person Done */
  $handler->display->display_options['fields']['field_person_incharge']['id'] = 'field_person_incharge';
  $handler->display->display_options['fields']['field_person_incharge']['table'] = 'field_data_field_person_incharge';
  $handler->display->display_options['fields']['field_person_incharge']['field'] = 'field_person_incharge';
  $handler->display->display_options['fields']['field_person_incharge']['label'] = 'mincharge';
  $handler->display->display_options['fields']['field_person_incharge']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_person_incharge']['delta_offset'] = '0';
  /* Field: Field: Working Status */
  $handler->display->display_options['fields']['field_working_status']['id'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['fields']['field_working_status']['field'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['label'] = 'workingstatus';
  /* Field: Content: Need maintenance in days */
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['id'] = 'field_need_maintenance_in_days';
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['table'] = 'field_data_field_need_maintenance_in_days';
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['field'] = 'field_need_maintenance_in_days';
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['label'] = 'needmaintenanceindays';
  $handler->display->display_options['fields']['field_need_maintenance_in_days']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['label'] = 'maintenancedate';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Upload Invoice /Bill */
  $handler->display->display_options['fields']['field_upload_bill']['id'] = 'field_upload_bill';
  $handler->display->display_options['fields']['field_upload_bill']['table'] = 'field_data_field_upload_bill';
  $handler->display->display_options['fields']['field_upload_bill']['field'] = 'field_upload_bill';
  $handler->display->display_options['fields']['field_upload_bill']['label'] = 'mbill';
  $handler->display->display_options['fields']['field_upload_bill']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_upload_bill']['type'] = 'file_url_plain';
  $handler->display->display_options['fields']['field_upload_bill']['delta_offset'] = '0';
  /* Field: Field: Any Warranty */
  $handler->display->display_options['fields']['field_any_warranty']['id'] = 'field_any_warranty';
  $handler->display->display_options['fields']['field_any_warranty']['table'] = 'field_data_field_any_warranty';
  $handler->display->display_options['fields']['field_any_warranty']['field'] = 'field_any_warranty';
  $handler->display->display_options['fields']['field_any_warranty']['label'] = 'warranty';
  /* Field: Field: Date of Warranty Expire */
  $handler->display->display_options['fields']['field_amount_date']['id'] = 'field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['table'] = 'field_data_field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['field'] = 'field_amount_date';
  $handler->display->display_options['fields']['field_amount_date']['label'] = 'warrantyexpiredate';
  $handler->display->display_options['fields']['field_amount_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'maintenancedetail';
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'machines' => 'machines',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Working Status (field_working_status) */
  $handler->display->display_options['filters']['field_working_status_value']['id'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['filters']['field_working_status_value']['field'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_working_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator_id'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['label'] = 'Working Status';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['identifier'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Person Done (field_person_incharge) */
  $handler->display->display_options['filters']['field_person_incharge_target_id']['id'] = 'field_person_incharge_target_id';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['table'] = 'field_data_field_person_incharge';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['field'] = 'field_person_incharge_target_id';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_person_incharge_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['operator_id'] = 'field_person_incharge_target_id_op';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['label'] = 'Person Incharge';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['operator'] = 'field_person_incharge_target_id_op';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['identifier'] = 'field_person_incharge_target_id';
  $handler->display->display_options['filters']['field_person_incharge_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Date (field_date) */
  $handler->display->display_options['filters']['field_date_value']['id'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['table'] = 'field_data_field_date';
  $handler->display->display_options['filters']['field_date_value']['field'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator_id'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['label'] = 'Date of Maintenance';
  $handler->display->display_options['filters']['field_date_value']['expose']['operator'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['identifier'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['field_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_value']['year_range'] = '-10:+10';
  /* Filter criterion: Field: Date of Warranty Expire (field_amount_date) */
  $handler->display->display_options['filters']['field_amount_date_value']['id'] = 'field_amount_date_value';
  $handler->display->display_options['filters']['field_amount_date_value']['table'] = 'field_data_field_amount_date';
  $handler->display->display_options['filters']['field_amount_date_value']['field'] = 'field_amount_date_value';
  $handler->display->display_options['filters']['field_amount_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['operator_id'] = 'field_amount_date_value_op';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['label'] = 'Date of Warranty';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['operator'] = 'field_amount_date_value_op';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['identifier'] = 'field_amount_date_value';
  $handler->display->display_options['filters']['field_amount_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['field_amount_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_amount_date_value']['year_range'] = '-10:+10';
  $handler->display->display_options['path'] = 'machine_list_mobile_view.json';
  $export['machines'] = $view;

  $view = new view();
  $view->name = 'manage_beds';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Manage Beds';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Beds';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Bed Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room_1']['id'] = 'field_room_1';
  $handler->display->display_options['fields']['field_room_1']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room_1']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room_1']['label'] = 'Ward/RoomID';
  $handler->display->display_options['fields']['field_room_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_room_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_room_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add IPD Patient';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/ipd-patients?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[field_room_1]&field_bed=[nid]">Add IPD Patients</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Sort criterion: Content: Department (field_department) */
  $handler->display->display_options['sorts']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['sorts']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['sorts']['field_department_target_id']['field'] = 'field_department_target_id';
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['value'] = array(
    'Active' => 'Active',
    'In-Active' => 'In-Active',
  );
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['title']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_hospital_clinic',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
    1 => array(
      'field' => 'field_department',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'field_room' => 'field_room',
    'title' => 'title',
    'status' => 'status',
    'field_status' => 'field_status',
    'field_hospital_clinic_1' => 'field_hospital_clinic_1',
    'field_department_1' => 'field_department_1',
    'field_room_1' => 'field_room_1',
    'nid' => 'nid',
    'field_room_status_1' => 'field_room_status_1',
    'field_room_status' => 'field_room_status',
    'field_category' => 'field_category',
    'nothing' => 'nothing',
    'edit_node' => 'edit_node',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room_status_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_category' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['relationships']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['relationships']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Bed Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room_1']['id'] = 'field_room_1';
  $handler->display->display_options['fields']['field_room_1']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room_1']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room_1']['label'] = 'Ward/RoomID';
  $handler->display->display_options['fields']['field_room_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_room_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_room_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status_1']['id'] = 'field_room_status_1';
  $handler->display->display_options['fields']['field_room_status_1']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['label'] = 'Bed Status';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_room_target_id';
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['relationship'] = 'field_room_target_id';
  /* Field: Content: Bed Price (per day) */
  $handler->display->display_options['fields']['field_bed_price_per_day_']['id'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['table'] = 'field_data_field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['field'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['click_sort_column'] = 'value';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['type'] = 'number_decimal';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_bed_price_per_day_']['group_column'] = 'value';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add IPD Patient';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/ipd-patients?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[field_room_1]&field_bed=[nid]&destination=admin/manage-beds/[field_hospital_clinic_1]">Add IPD Patients</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Add Bed';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[field_room_1]\' target=\'_blank\'>Add Bed</a>';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['value'] = array(
    'Active' => 'Active',
    'In-Active' => 'In-Active',
  );
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Ward/Room';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['path'] = 'admin/manage-beds';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Manage Beds Department Wise';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['relationships']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['relationships']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Bed Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room_1']['id'] = 'field_room_1';
  $handler->display->display_options['fields']['field_room_1']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room_1']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room_1']['label'] = 'Ward/RoomID';
  $handler->display->display_options['fields']['field_room_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_room_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_room_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status_1']['id'] = 'field_room_status_1';
  $handler->display->display_options['fields']['field_room_status_1']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['label'] = 'Bed Status';
  /* Field: Content: Bed Price (per day) */
  $handler->display->display_options['fields']['field_bed_price_per_day_']['id'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['table'] = 'field_data_field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['field'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['click_sort_column'] = 'value';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['type'] = 'number_decimal';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_bed_price_per_day_']['group_column'] = 'value';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_room_target_id';
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['relationship'] = 'field_room_target_id';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add IPD Patient';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/ipd-patients?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[field_room_1]&field_bed=[nid]">Add IPD Patients</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Add Bed';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[field_room_1]\' target=\'_blank\'>Add Bed</a>';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Department (field_department) */
  $handler->display->display_options['arguments']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['arguments']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_department_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Published';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['value'] = array(
    'Active' => 'Active',
    'In-Active' => 'In-Active',
  );
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Ward/Room';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['path'] = 'admin/manage-beds-dep';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Manage Beds Room Wise';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['relationships']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['relationships']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Bed Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room_1']['id'] = 'field_room_1';
  $handler->display->display_options['fields']['field_room_1']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room_1']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room_1']['label'] = 'Ward/RoomID';
  $handler->display->display_options['fields']['field_room_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_room_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_room_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status_1']['id'] = 'field_room_status_1';
  $handler->display->display_options['fields']['field_room_status_1']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['label'] = 'Bed Status';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_room_target_id';
  /* Field: Content: Bed Price (per day) */
  $handler->display->display_options['fields']['field_bed_price_per_day_']['id'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['table'] = 'field_data_field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['field'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['click_sort_column'] = 'value';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['type'] = 'number_decimal';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_bed_price_per_day_']['group_column'] = 'value';
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['relationship'] = 'field_room_target_id';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'IPD Patient';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/ipd-patients?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[field_room_1]&field_bed=[nid]">Add IPD Patients</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/ipd-patients-room-wise/[field_department_1]/[field_room_1]/[nid]">Manage IPD Patients</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Add Bed';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[field_room_1]\' target=\'_blank\'>Add Bed</a>';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Department (field_department) */
  $handler->display->display_options['arguments']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['arguments']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_department_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Room (field_room) */
  $handler->display->display_options['arguments']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['arguments']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['arguments']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['arguments']['field_room_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_room_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_room_target_id']['default_argument_options']['index'] = '4';
  $handler->display->display_options['arguments']['field_room_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_room_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_room_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['value'] = array(
    'Active' => 'Active',
    'In-Active' => 'In-Active',
  );
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['path'] = 'admin/manage-beds-dep-room';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_3');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['relationships']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['relationships']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'bedname';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['label'] = 'bstatus';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'hospitalid';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'departmentid';
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room_1']['id'] = 'field_room_1';
  $handler->display->display_options['fields']['field_room_1']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room_1']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room_1']['label'] = 'roomid';
  $handler->display->display_options['fields']['field_room_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_room_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status_1']['id'] = 'field_room_status_1';
  $handler->display->display_options['fields']['field_room_status_1']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status_1']['label'] = 'bedstatus';
  $handler->display->display_options['fields']['field_room_status_1']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_room_target_id';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'roomstatus';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['relationship'] = 'field_room_target_id';
  $handler->display->display_options['fields']['field_category']['label'] = 'category';
  $handler->display->display_options['fields']['field_category']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Bed Price (per day) */
  $handler->display->display_options['fields']['field_bed_price_per_day_']['id'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['table'] = 'field_data_field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['field'] = 'field_bed_price_per_day_';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['label'] = 'bedpriceperday';
  $handler->display->display_options['fields']['field_bed_price_per_day_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_bed_price_per_day_']['group_column'] = 'value';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'beds' => 'beds',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['value'] = array(
    'Active' => 'Active',
    'In-Active' => 'In-Active',
  );
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Ward/Room';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['path'] = 'beds_list_mobile_view.json';
  $export['manage_beds'] = $view;

  $view = new view();
  $view->name = 'manage_hospital_content';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Manage Hospital Content';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Hospital Content';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    11 => '11',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Type */
  $handler->display->display_options['fields']['type']['id'] = 'type';
  $handler->display->display_options['fields']['type']['table'] = 'node';
  $handler->display->display_options['fields']['type']['field'] = 'type';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Content: Link to delete content */
  $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['label'] = 'Delete';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'hospital_site_basic_page' => 'hospital_site_basic_page',
    'hospital_site_gallery' => 'hospital_site_gallery',
    'hospital_site_news_events' => 'hospital_site_news_events',
    'hospital_slider' => 'hospital_slider',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/manage-content';
  $export['manage_hospital_content'] = $view;

  $view = new view();
  $view->name = 'manage_master_entry';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'taxonomy_term_data';
  $view->human_name = 'Manage Master Entry';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Master Entry';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    9 => '9',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'views_bulk_operations' => 'views_bulk_operations',
    'name' => 'name',
    'name_1' => 'name_1',
    'tid' => 'tid',
    'vid' => 'vid',
    'edit_term' => 'edit_term',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'views_bulk_operations' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name_1' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'tid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'vid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_term' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<ul class=\'action-links\'><li><a href=\'#\'>Add Master Entry</a></li></ul><br>';
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Bulk operations: Taxonomy term */
  $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_taxonomy_term';
  $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['label'] = '#';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  /* Field: Taxonomy vocabulary: Name */
  $handler->display->display_options['fields']['name_1']['id'] = 'name_1';
  $handler->display->display_options['fields']['name_1']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['fields']['name_1']['field'] = 'name';
  $handler->display->display_options['fields']['name_1']['label'] = 'Type';
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['exclude'] = TRUE;
  /* Field: Taxonomy vocabulary: Vocabulary ID */
  $handler->display->display_options['fields']['vid']['id'] = 'vid';
  $handler->display->display_options['fields']['vid']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['fields']['vid']['field'] = 'vid';
  $handler->display->display_options['fields']['vid']['exclude'] = TRUE;
  /* Field: Taxonomy term: Term edit link */
  $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['label'] = 'Edit';
  /* Sort criterion: Taxonomy term: Term ID */
  $handler->display->display_options['sorts']['tid']['id'] = 'tid';
  $handler->display->display_options['sorts']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['sorts']['tid']['field'] = 'tid';
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'product_category' => 'product_category',
    'product_collection' => 'product_collection',
    'product_brand' => 'product_brand',
    'product_color' => 'product_color',
    'product_size' => 'product_size',
    'location' => 'location',
    'blood_group' => 'blood_group',
    'marital_status' => 'marital_status',
    'patient_registration_type' => 'patient_registration_type',
    'relation_for_emergency_contacts_' => 'relation_for_emergency_contacts_',
    'valid_id_type' => 'valid_id_type',
    'ward_room_type' => 'ward_room_type',
    'ward_room_status' => 'ward_room_status',
    'bed_price_name' => 'bed_price_name',
    'speciality' => 'speciality',
    'payment_mode' => 'payment_mode',
    'unit' => 'unit',
    'institution' => 'institution',
    'department' => 'department',
    'discount' => 'discount',
    'diseases' => 'diseases',
    'hsn_code' => 'hsn_code',
    'medicine' => 'medicine',
    'medicine_type' => 'medicine_type',
    'supplier' => 'supplier',
    'tags' => 'tags',
    'tax' => 'tax',
    'tests_lab_test_' => 'tests_lab_test_',
    'therapy' => 'therapy',
    'work_check_list' => 'work_check_list',
  );
  $handler->display->display_options['filters']['machine_name']['exposed'] = TRUE;
  $handler->display->display_options['filters']['machine_name']['expose']['operator_id'] = 'machine_name_op';
  $handler->display->display_options['filters']['machine_name']['expose']['label'] = 'Type';
  $handler->display->display_options['filters']['machine_name']['expose']['operator'] = 'machine_name_op';
  $handler->display->display_options['filters']['machine_name']['expose']['identifier'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['expose']['remember_roles'] = array(
    2 => '2',
  );
  $handler->display->display_options['filters']['machine_name']['expose']['reduce'] = TRUE;
  /* Filter criterion: Taxonomy term: Name */
  $handler->display->display_options['filters']['name']['id'] = 'name';
  $handler->display->display_options['filters']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['filters']['name']['field'] = 'name';
  $handler->display->display_options['filters']['name']['operator'] = 'word';
  $handler->display->display_options['filters']['name']['exposed'] = TRUE;
  $handler->display->display_options['filters']['name']['expose']['operator_id'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['label'] = 'Name';
  $handler->display->display_options['filters']['name']['expose']['operator'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['identifier'] = 'name';
  $handler->display->display_options['filters']['name']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name_1']['id'] = 'machine_name_1';
  $handler->display->display_options['filters']['machine_name_1']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name_1']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name_1']['operator'] = 'not in';
  $handler->display->display_options['filters']['machine_name_1']['value'] = array(
    'newsletter' => 'newsletter',
    'case_type' => 'case_type',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/manage-master-entry';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Manage Master Entry';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['header'] = FALSE;
  $handler->display->display_options['defaults']['footer'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'tname';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: Taxonomy vocabulary: Name */
  $handler->display->display_options['fields']['name_1']['id'] = 'name_1';
  $handler->display->display_options['fields']['name_1']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['fields']['name_1']['field'] = 'name';
  $handler->display->display_options['fields']['name_1']['label'] = 'ttype';
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['label'] = 'tid';
  /* Field: Taxonomy vocabulary: Vocabulary ID */
  $handler->display->display_options['fields']['vid']['id'] = 'vid';
  $handler->display->display_options['fields']['vid']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['fields']['vid']['field'] = 'vid';
  $handler->display->display_options['fields']['vid']['label'] = 'vid';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'product_category' => 'product_category',
    'product_collection' => 'product_collection',
    'product_brand' => 'product_brand',
    'product_color' => 'product_color',
    'product_size' => 'product_size',
    'location' => 'location',
    'blood_group' => 'blood_group',
    'marital_status' => 'marital_status',
    'patient_registration_type' => 'patient_registration_type',
    'relation_for_emergency_contacts_' => 'relation_for_emergency_contacts_',
    'valid_id_type' => 'valid_id_type',
    'ward_room_type' => 'ward_room_type',
    'ward_room_status' => 'ward_room_status',
    'bed_price_name' => 'bed_price_name',
    'speciality' => 'speciality',
    'payment_mode' => 'payment_mode',
    'unit' => 'unit',
    'institution' => 'institution',
    'department' => 'department',
    'discount' => 'discount',
    'diseases' => 'diseases',
    'hsn_code' => 'hsn_code',
    'medicine' => 'medicine',
    'medicine_type' => 'medicine_type',
    'supplier' => 'supplier',
    'tags' => 'tags',
    'tax' => 'tax',
    'tests_lab_test_' => 'tests_lab_test_',
    'therapy' => 'therapy',
    'work_check_list' => 'work_check_list',
  );
  $handler->display->display_options['filters']['machine_name']['group'] = 1;
  $handler->display->display_options['filters']['machine_name']['exposed'] = TRUE;
  $handler->display->display_options['filters']['machine_name']['expose']['operator_id'] = 'machine_name_op';
  $handler->display->display_options['filters']['machine_name']['expose']['label'] = 'Type';
  $handler->display->display_options['filters']['machine_name']['expose']['operator'] = 'machine_name_op';
  $handler->display->display_options['filters']['machine_name']['expose']['identifier'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['expose']['remember_roles'] = array(
    2 => '2',
  );
  $handler->display->display_options['filters']['machine_name']['expose']['reduce'] = TRUE;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name_1']['id'] = 'machine_name_1';
  $handler->display->display_options['filters']['machine_name_1']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name_1']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name_1']['operator'] = 'not in';
  $handler->display->display_options['filters']['machine_name_1']['value'] = array(
    'newsletter' => 'newsletter',
    'case_type' => 'case_type',
  );
  $handler->display->display_options['filters']['machine_name_1']['group'] = 1;
  $handler->display->display_options['path'] = 'masterentry_list_mobile_view.json';
  $handler->display->display_options['menu']['title'] = 'Manage Master Entry';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['manage_master_entry'] = $view;

  $view = new view();
  $view->name = 'manage_site_content';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Manage Site Content';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Site Content';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Post date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'node';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Created On';
  $handler->display->display_options['fields']['created']['date_format'] = 'long';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Content: Link to delete content */
  $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['label'] = 'Delete';
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = 'Uploaded Image';
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'thumbnail',
    'image_link' => '',
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['access'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    11 => '11',
    4 => '4',
    10 => '10',
    6 => '6',
  );
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'title' => 'title',
    'field_slider_type' => 'field_slider_type',
    'created' => 'created',
    'status' => 'status',
    'edit_node' => 'edit_node',
    'delete_node' => 'delete_node',
    'field_slider_image' => 'field_slider_image',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'title' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_slider_type' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'created' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'status' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'delete_node' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_slider_image' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<ul class=\'action-links\'>
<li><a href="node/add/page">Add Basic Page</a></li>
<li><a href="node/add/article">Add News & Events</a></li>
<li><a href="node/add/gallery">Add Gallery</a></li>
<li><a href="node/add/slider">Add Slider</a></li>
</ul>';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Bulk operations: Content */
  $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['label'] = '#';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  /* Field: Content: Has new content */
  $handler->display->display_options['fields']['timestamp']['id'] = 'timestamp';
  $handler->display->display_options['fields']['timestamp']['table'] = 'history';
  $handler->display->display_options['fields']['timestamp']['field'] = 'timestamp';
  $handler->display->display_options['fields']['timestamp']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Title';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[title] [timestamp] ';
  /* Field: Content: Type */
  $handler->display->display_options['fields']['type']['id'] = 'type';
  $handler->display->display_options['fields']['type']['table'] = 'node';
  $handler->display->display_options['fields']['type']['field'] = 'type';
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'page' => 'page',
    'gallery' => 'gallery',
    'article' => 'article',
    'slider' => 'slider',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Slider Name';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['table'] = 'node';
  $handler->display->display_options['filters']['type_1']['field'] = 'type';
  $handler->display->display_options['filters']['type_1']['value'] = array(
    'page' => 'page',
    'gallery' => 'gallery',
    'article' => 'article',
    'slider' => 'slider',
  );
  $handler->display->display_options['filters']['type_1']['exposed'] = TRUE;
  $handler->display->display_options['filters']['type_1']['expose']['operator_id'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['label'] = 'Type';
  $handler->display->display_options['filters']['type_1']['expose']['operator'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['identifier'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['type_1']['expose']['reduce'] = TRUE;
  $handler->display->display_options['path'] = 'admin/manage-site-content';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Manage Site Content';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Block */
  $handler = $view->new_display('block', 'Block', 'block');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '4';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'slideshow';
  $handler->display->display_options['style_options']['slideshow_type'] = 'views_slideshow_cycle';
  $handler->display->display_options['style_options']['slideshow_skin'] = 'default';
  $handler->display->display_options['style_options']['skin_info'] = array(
    'class' => 'default',
    'name' => 'Default',
    'module' => 'views_slideshow',
    'path' => '',
    'stylesheets' => array(),
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 0,
    'created' => 0,
    'status' => 0,
    'edit_node' => 0,
    'delete_node' => 0,
    'field_slider_image' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 0,
    'created' => 0,
    'status' => 0,
    'edit_node' => 0,
    'delete_node' => 0,
    'field_slider_image' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['timeout'] = '5000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['speed'] = '700';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['delay'] = '0';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['remember_slide_days'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['items_per_slide'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['wait_for_image_load_timeout'] = '3000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartype'] = 0;
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartypenobg'] = 0;
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = '';
  $handler->display->display_options['fields']['field_slider_image']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'slider__main_1410_x_388_',
    'image_link' => '',
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'Front Banner' => 'Front Banner',
  );
  $handler->display->display_options['block_description'] = 'Slider Block';
  $export['manage_site_content'] = $view;

  $view = new view();
  $view->name = 'medicine_bill_receipt_new';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Medicine Bill Receipt New';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    6 => '6',
    8 => '8',
    14 => '14',
    13 => '13',
    17 => '17',
    4 => '4',
    15 => '15',
    7 => '7',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '5';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Relationship: Content: Add Medicine (field_add_medicine_auto) */
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['id'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['table'] = 'field_data_field_add_medicine_auto';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['field'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['delta'] = '-1';
  /* Relationship: Content: Content author */
  $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  $handler->display->display_options['relationships']['uid']['table'] = 'node';
  $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Author uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'node';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['fields']['item_id']['exclude'] = TRUE;
  $handler->display->display_options['fields']['item_id']['separator'] = '';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['exclude'] = TRUE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Medicine */
  $handler->display->display_options['fields']['field_medicine']['id'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['fields']['field_medicine']['field'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['fields']['field_medicine']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_medicine']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<img src="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/GVMnewbda.jpg">
<br><br> <br><br> 
<table width=\'100%\' border=\'1\' cellspacing=\'0\' cellpadding=\'10\'>
<tr valign=\'top\'><td colspan=\'2\' align=\'center\'><h2>[field_hospital_clinic]  : Medicine Bill Receipt</h2></td></tr>
<tr valign=\'top\'>
<td width=\'10%\'><strong>Date : </strong> [field_patient_case_detail] &nbsp;</td>
<td  width=\'10%\' align=\'right\'><strong>Receipt No : </strong> [item_id]/[nid]  &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong> Received From : </strong>[field_first_name] : [field_patient_login_username]  &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>Paid Amount : </strong> [field_amount] &nbsp; &nbsp; &nbsp; &nbsp; ( [field_amount_status] )  &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>Payment Mode : </strong> Cash &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>OPD Registration No. : </strong> [field_patient_ipd_registration_n] &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong>Purpose : </strong>Medicine : [field_medicine] &nbsp;</td>
</tr>
<tr>
<td colspan=\'2\'><strong>Address :</strong> [field_address]  <br><br><br></td>
</tr> 
<tr>
<td><strong>Received By : </strong> [name] </td>
<td align=\'right\'><strong>Authorized by :</strong> [name] </td>
</tr>
</table>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Field collection item: Field collection item ID */
  $handler->display->display_options['arguments']['item_id']['id'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['arguments']['item_id']['field'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['arguments']['item_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['item_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['item_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['item_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['item_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['item_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/billreceiptmedicine/%/%';
  $export['medicine_bill_receipt_new'] = $view;

  $view = new view();
  $view->name = 'medicine_in_stock';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Medicine In Stock';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Medicine In Stock';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    2 => '2',
    5 => '5',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    13 => '13',
    17 => '17',
    4 => '4',
    15 => '15',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Pharmacy */
  $handler->display->display_options['fields']['field_pharmacy']['id'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['field'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Medicine */
  $handler->display->display_options['fields']['field_medicine']['id'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['fields']['field_medicine']['field'] = 'field_medicine';
  /* Field: Content: Brand Name */
  $handler->display->display_options['fields']['field_brand_name']['id'] = 'field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['table'] = 'field_data_field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['field'] = 'field_brand_name';
  /* Field: Content: Supplier Name */
  $handler->display->display_options['fields']['field_supplier_name']['id'] = 'field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['table'] = 'field_data_field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['field'] = 'field_supplier_name';
  /* Field: Content: Purchase Date / Stock Finished Date */
  $handler->display->display_options['fields']['field_purchase_date']['id'] = 'field_purchase_date';
  $handler->display->display_options['fields']['field_purchase_date']['table'] = 'field_data_field_purchase_date';
  $handler->display->display_options['fields']['field_purchase_date']['field'] = 'field_purchase_date';
  $handler->display->display_options['fields']['field_purchase_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Manufactured On / Expiry Date */
  $handler->display->display_options['fields']['field_manufactured_on']['id'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['field'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Stock Status */
  $handler->display->display_options['fields']['field_stock_status']['id'] = 'field_stock_status';
  $handler->display->display_options['fields']['field_stock_status']['table'] = 'field_data_field_stock_status';
  $handler->display->display_options['fields']['field_stock_status']['field'] = 'field_stock_status';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'pharmacy_stock' => 'pharmacy_stock',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Item Type (field_item_type) */
  $handler->display->display_options['filters']['field_item_type_value']['id'] = 'field_item_type_value';
  $handler->display->display_options['filters']['field_item_type_value']['table'] = 'field_data_field_item_type';
  $handler->display->display_options['filters']['field_item_type_value']['field'] = 'field_item_type_value';
  $handler->display->display_options['filters']['field_item_type_value']['value'] = array(
    'Medicine' => 'Medicine',
  );
  $handler->display->display_options['filters']['field_item_type_value']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital/Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Pharmacy (field_pharmacy) */
  $handler->display->display_options['filters']['field_pharmacy_target_id']['id'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['field'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_pharmacy_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['operator_id'] = 'field_pharmacy_target_id_op';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['label'] = 'Pharmacy';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['operator'] = 'field_pharmacy_target_id_op';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['identifier'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Medicine (field_medicine) */
  $handler->display->display_options['filters']['field_medicine_tid']['id'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['filters']['field_medicine_tid']['field'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['value'] = '';
  $handler->display->display_options['filters']['field_medicine_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_medicine_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['operator_id'] = 'field_medicine_tid_op';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['label'] = 'Medicine';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['operator'] = 'field_medicine_tid_op';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['identifier'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_medicine_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_medicine_tid']['vocabulary'] = 'medicine';
  /* Filter criterion: Content: Stock Status (field_stock_status) */
  $handler->display->display_options['filters']['field_stock_status_value']['id'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['table'] = 'field_data_field_stock_status';
  $handler->display->display_options['filters']['field_stock_status_value']['field'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['value'] = array(
    'Stock is Available' => 'Stock is Available',
  );
  $handler->display->display_options['filters']['field_stock_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_stock_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['operator_id'] = 'field_stock_status_value_op';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['label'] = 'Stock Status';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['operator'] = 'field_stock_status_value_op';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['identifier'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Supplier Name (field_supplier_name) */
  $handler->display->display_options['filters']['field_supplier_name_tid']['id'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['table'] = 'field_data_field_supplier_name';
  $handler->display->display_options['filters']['field_supplier_name_tid']['field'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['value'] = '';
  $handler->display->display_options['filters']['field_supplier_name_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_supplier_name_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['operator_id'] = 'field_supplier_name_tid_op';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['label'] = 'Supplier Name';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['operator'] = 'field_supplier_name_tid_op';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['identifier'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_supplier_name_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_supplier_name_tid']['vocabulary'] = 'supplier';
  /* Filter criterion: Content: Brand Name (field_brand_name) */
  $handler->display->display_options['filters']['field_brand_name_value']['id'] = 'field_brand_name_value';
  $handler->display->display_options['filters']['field_brand_name_value']['table'] = 'field_data_field_brand_name';
  $handler->display->display_options['filters']['field_brand_name_value']['field'] = 'field_brand_name_value';
  $handler->display->display_options['filters']['field_brand_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_brand_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['operator_id'] = 'field_brand_name_value_op';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['label'] = 'Brand Name';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['operator'] = 'field_brand_name_value_op';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['identifier'] = 'field_brand_name_value';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Rack No (field_rack_no) */
  $handler->display->display_options['filters']['field_rack_no_value']['id'] = 'field_rack_no_value';
  $handler->display->display_options['filters']['field_rack_no_value']['table'] = 'field_data_field_rack_no';
  $handler->display->display_options['filters']['field_rack_no_value']['field'] = 'field_rack_no_value';
  $handler->display->display_options['filters']['field_rack_no_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_rack_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_rack_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['operator_id'] = 'field_rack_no_value_op';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['label'] = 'Rack No';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['operator'] = 'field_rack_no_value_op';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['identifier'] = 'field_rack_no_value';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Manufactured On / Expiry Date -  start date (field_manufactured_on) */
  $handler->display->display_options['filters']['field_manufactured_on_value']['id'] = 'field_manufactured_on_value';
  $handler->display->display_options['filters']['field_manufactured_on_value']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['filters']['field_manufactured_on_value']['field'] = 'field_manufactured_on_value';
  $handler->display->display_options['filters']['field_manufactured_on_value']['group'] = 1;
  $handler->display->display_options['filters']['field_manufactured_on_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['operator_id'] = 'field_manufactured_on_value_op';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['label'] = 'Manufactured On';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['operator'] = 'field_manufactured_on_value_op';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['identifier'] = 'field_manufactured_on_value';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_manufactured_on_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_manufactured_on_value']['year_range'] = '-10:+10';
  /* Filter criterion: Content: Manufactured On / Expiry Date - end date (field_manufactured_on:value2) */
  $handler->display->display_options['filters']['field_manufactured_on_value2']['id'] = 'field_manufactured_on_value2';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['field'] = 'field_manufactured_on_value2';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['group'] = 1;
  $handler->display->display_options['filters']['field_manufactured_on_value2']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['operator_id'] = 'field_manufactured_on_value2_op';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['label'] = 'Expiry Date';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['operator'] = 'field_manufactured_on_value2_op';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['identifier'] = 'field_manufactured_on_value2';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_manufactured_on_value2']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['year_range'] = '-10:+10';
  /* Filter criterion: Content: Purchase Date / Stock Finished Date -  start date (field_purchase_date) */
  $handler->display->display_options['filters']['field_purchase_date_value']['id'] = 'field_purchase_date_value';
  $handler->display->display_options['filters']['field_purchase_date_value']['table'] = 'field_data_field_purchase_date';
  $handler->display->display_options['filters']['field_purchase_date_value']['field'] = 'field_purchase_date_value';
  $handler->display->display_options['filters']['field_purchase_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_purchase_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['operator_id'] = 'field_purchase_date_value_op';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['label'] = 'Purchase Date';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['operator'] = 'field_purchase_date_value_op';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['identifier'] = 'field_purchase_date_value';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_purchase_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_purchase_date_value']['year_range'] = '-10:+10';
  /* Filter criterion: Content: Purchase Date / Stock Finished Date - end date (field_purchase_date:value2) */
  $handler->display->display_options['filters']['field_purchase_date_value2']['id'] = 'field_purchase_date_value2';
  $handler->display->display_options['filters']['field_purchase_date_value2']['table'] = 'field_data_field_purchase_date';
  $handler->display->display_options['filters']['field_purchase_date_value2']['field'] = 'field_purchase_date_value2';
  $handler->display->display_options['filters']['field_purchase_date_value2']['group'] = 1;
  $handler->display->display_options['filters']['field_purchase_date_value2']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['operator_id'] = 'field_purchase_date_value2_op';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['label'] = 'Stock Finished Date';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['operator'] = 'field_purchase_date_value2_op';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['identifier'] = 'field_purchase_date_value2';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_purchase_date_value2']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_purchase_date_value2']['year_range'] = '-10:+10';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/medicine-in-stock';

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'field_medicine' => 'field_medicine',
    'field_manufactured_on' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['row_options']['inline'] = array(
    'field_medicine' => 'field_medicine',
    'field_manufactured_on' => 'field_manufactured_on',
  );
  $handler->display->display_options['row_options']['separator'] = ' : ';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Field: Medicine */
  $handler->display->display_options['fields']['field_medicine']['id'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['fields']['field_medicine']['field'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['label'] = '';
  $handler->display->display_options['fields']['field_medicine']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Manufactured On / Expiry Date */
  $handler->display->display_options['fields']['field_manufactured_on']['id'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['field'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['label'] = 'Expiry Date : ';
  $handler->display->display_options['fields']['field_manufactured_on']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['field_manufactured_on']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'value2',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'pharmacy_stock' => 'pharmacy_stock',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Item Type (field_item_type) */
  $handler->display->display_options['filters']['field_item_type_value']['id'] = 'field_item_type_value';
  $handler->display->display_options['filters']['field_item_type_value']['table'] = 'field_data_field_item_type';
  $handler->display->display_options['filters']['field_item_type_value']['field'] = 'field_item_type_value';
  $handler->display->display_options['filters']['field_item_type_value']['value'] = array(
    'Medicine' => 'Medicine',
  );
  $handler->display->display_options['filters']['field_item_type_value']['group'] = 1;
  /* Filter criterion: Content: Stock Status (field_stock_status) */
  $handler->display->display_options['filters']['field_stock_status_value']['id'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['table'] = 'field_data_field_stock_status';
  $handler->display->display_options['filters']['field_stock_status_value']['field'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['value'] = array(
    'Stock is Available' => 'Stock is Available',
  );
  $handler->display->display_options['filters']['field_stock_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['operator_id'] = 'field_stock_status_value_op';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['label'] = 'Stock Status';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['operator'] = 'field_stock_status_value_op';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['identifier'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['path'] = 'medicine_in_stock_list_mobile_view.json';
  $export['medicine_in_stock'] = $view;

  $view = new view();
  $view->name = 'medicine_report_full';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Medicine Report Full';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Medicine Report (Payment Done)';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    9 => '9',
    20 => '20',
    13 => '13',
    4 => '4',
    15 => '15',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'title',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'nid' => 'nid',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'title' => 'title',
    'nothing_1' => 'nothing_1',
    'field_chief_complains' => 'field_chief_complains',
    'field_first_name' => 'field_first_name',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_patient_login_username_1' => 'field_patient_login_username_1',
    'field_case_type' => 'field_case_type',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'nothing' => 'nothing',
    'field_preferedtest' => 'field_preferedtest',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_chief_complains' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_case_type' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_preferedtest' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Relationship: Content: Add Medicine (field_add_medicine_auto) */
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['id'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['table'] = 'field_data_field_add_medicine_auto';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['field'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['delta'] = '-1';
  /* Relationship: Field collection item: Entity with the Add Medicine (field_add_medicine_auto) */
  $handler->display->display_options['relationships']['field_add_medicine_auto_node']['id'] = 'field_add_medicine_auto_node';
  $handler->display->display_options['relationships']['field_add_medicine_auto_node']['table'] = 'field_collection_item';
  $handler->display->display_options['relationships']['field_add_medicine_auto_node']['field'] = 'field_add_medicine_auto_node';
  $handler->display->display_options['relationships']['field_add_medicine_auto_node']['relationship'] = 'field_add_medicine_auto_value';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Case Title';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Case Title';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[title]  ([nid])';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login Username ID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_case_type']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<b>[field_hospital_clinic] </b><br><br>
<b>Name : </b>[field_first_name]  <br> 
<b>Login Username | ID : </b> [field_patient_login_username]  |  [field_patient_login_username_1] <br> 
<b>OPD Registration No. : </b> [field_patient_ipd_registration_n]  <br>
<b>IPD Registration No. : </b> [field_patient_ipdnewregistration]  <br>
<b>Case Type : </b> [field_case_type] <br>
<b>Case Date : </b> [field_patient_case_detail]  <br>';
  /* Field: Content: Add Medicine */
  $handler->display->display_options['fields']['field_add_medicine_auto']['id'] = 'field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['table'] = 'field_data_field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['field'] = 'field_add_medicine_auto';
  $handler->display->display_options['fields']['field_add_medicine_auto']['label'] = 'Medicine';
  $handler->display->display_options['fields']['field_add_medicine_auto']['type'] = 'field_collection_table_view';
  $handler->display->display_options['fields']['field_add_medicine_auto']['settings'] = array(
    'add' => 'Add',
    'edit' => 'Edit',
    'translate' => '',
    'delete' => '',
    'description' => 1,
    'view_mode' => 'full',
    'hide_empty' => 1,
    'empty' => 0,
  );
  $handler->display->display_options['fields']['field_add_medicine_auto']['group_rows'] = FALSE;
  $handler->display->display_options['fields']['field_add_medicine_auto']['delta_offset'] = '0';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'Patient IPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'Patient OPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Case Title';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Chief Complains (field_chief_complains) */
  $handler->display->display_options['filters']['field_chief_complains_value']['id'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['filters']['field_chief_complains_value']['field'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_chief_complains_value']['group'] = 1;
  $handler->display->display_options['filters']['field_chief_complains_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['operator_id'] = 'field_chief_complains_value_op';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['label'] = 'Chief Complains';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['operator'] = 'field_chief_complains_value_op';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['identifier'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital/Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Patient Case Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['year_range'] = '-10:+1';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Field: Status (field_amount_status) */
  $handler->display->display_options['filters']['field_amount_status_value']['id'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['filters']['field_amount_status_value']['field'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['filters']['field_amount_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator_id'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['label'] = 'Medicine Payment Status';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['identifier'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['filters']['field_amount_value']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value']['value']['value'] = '0';
  $handler->display->display_options['filters']['field_amount_value']['group'] = 1;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/medicine-report-full';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Paid Medicine Report';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['medicine_report_full'] = $view;

  $view = new view();
  $view->name = 'medicine_template';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Medicine Template';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Medicine Template';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '3';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Medicine Template';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Used for disease */
  $handler->display->display_options['fields']['field_used_for_disease']['id'] = 'field_used_for_disease';
  $handler->display->display_options['fields']['field_used_for_disease']['table'] = 'field_data_field_used_for_disease';
  $handler->display->display_options['fields']['field_used_for_disease']['field'] = 'field_used_for_disease';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'medicine' => 'medicine',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/medicine-template';

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['inherit_panels_path'] = '1';
  $export['medicine_template'] = $view;

  $view = new view();
  $view->name = 'my_cases';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'My Cases';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'My Cases';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    12 => '12',
    4 => '4',
    15 => '15',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Case Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'Centralized OPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['label'] = 'OPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'Centralized IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Unique Id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[field_patient_login_username_1] &field_case_type=102">Add follow up case (OPD)</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[field_patient_login_username_1] &field_patient_ipdnewregistration=[field_patient_ipdnewregistration_1]&field_case_type=102">Add follow up case (IPD)</a>
 ';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['default_argument_type'] = 'current_user';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'user/%/my-cases';
  $handler->display->display_options['menu']['type'] = 'tab';
  $handler->display->display_options['menu']['title'] = 'My Cases';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'dcase';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['label'] = 'casetype';
  $handler->display->display_options['fields']['field_case_type']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'casedate';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['label'] = 'chiefcomplains';
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'centeropdno';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['label'] = 'opdregistrationno';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'centeripdno';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'ipdregistrationno';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'patientloginusername';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'patientuid';
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[field_patient_login_username_1] &field_case_type=102">Add follow up case (OPD)</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[field_patient_login_username_1] &field_patient_ipdnewregistration=[field_patient_ipdnewregistration_1]&field_case_type=102">Add follow up case (IPD)</a>
 ';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Case Type (field_case_type) */
  $handler->display->display_options['filters']['field_case_type_tid']['id'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['filters']['field_case_type_tid']['field'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['value'] = '';
  $handler->display->display_options['filters']['field_case_type_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['operator_id'] = 'field_case_type_tid_op';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['label'] = 'Case Type';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['operator'] = 'field_case_type_tid_op';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['identifier'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['field_case_type_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_case_type_tid']['vocabulary'] = 'case_type';
  $handler->display->display_options['path'] = 'doctor_mycases_list_mobile_view.json/%';
  $handler->display->display_options['menu']['title'] = 'My Cases';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['my_cases'] = $view;

  $view = new view();
  $view->name = 'my_cases_pat';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'My Cases';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'My Cases';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    14 => '14',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Case Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['label'] = 'OPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'user/%/my-pcases';
  $handler->display->display_options['menu']['type'] = 'tab';
  $handler->display->display_options['menu']['title'] = 'My Cases';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'pcase';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['label'] = 'doctor';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['label'] = 'casetype';
  $handler->display->display_options['fields']['field_case_type']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'casedate';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['label'] = 'chiefcomplains';
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['label'] = 'opdregistrationno';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'ipdregistrationno';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'patientloginusername';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Case Type (field_case_type) */
  $handler->display->display_options['filters']['field_case_type_tid']['id'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['filters']['field_case_type_tid']['field'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['operator_id'] = 'field_case_type_tid_op';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['label'] = 'Case Type';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['operator'] = 'field_case_type_tid_op';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['identifier'] = 'field_case_type_tid';
  $handler->display->display_options['filters']['field_case_type_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['field_case_type_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_case_type_tid']['vocabulary'] = 'case_type';
  $handler->display->display_options['path'] = 'patient_mycases_list_mobile_view.json/%';
  $handler->display->display_options['menu']['title'] = 'My Cases';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['my_cases_pat'] = $view;

  $view = new view();
  $view->name = 'my_hospital_clinic';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'My Hospital / Clinic';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Hospital / Clinic';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    11 => '11',
    16 => '16',
    6 => '6',
    8 => '8',
    13 => '13',
    7 => '7',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital / Clinic ID */
  $handler->display->display_options['fields']['field_hospital_clinic_id']['id'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['table'] = 'field_data_field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['field'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['label'] = 'ID';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Name';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Type */
  $handler->display->display_options['fields']['field_otype']['id'] = 'field_otype';
  $handler->display->display_options['fields']['field_otype']['table'] = 'field_data_field_otype';
  $handler->display->display_options['fields']['field_otype']['field'] = 'field_otype';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="hospital/[nid]">Manage [field_otype]</a>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Configure Frontend Site (Add Content)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<!--<a href="../admin/configure-site/[nid]">Configure Site</a>--> Configure Site';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'hospital' => 'hospital',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital / Clinic ID */
  $handler->display->display_options['fields']['field_hospital_clinic_id']['id'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['table'] = 'field_data_field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['field'] = 'field_hospital_clinic_id';
  $handler->display->display_options['fields']['field_hospital_clinic_id']['label'] = 'ID';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Name';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Type */
  $handler->display->display_options['fields']['field_otype']['id'] = 'field_otype';
  $handler->display->display_options['fields']['field_otype']['table'] = 'field_data_field_otype';
  $handler->display->display_options['fields']['field_otype']['field'] = 'field_otype';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="hospital/[nid]">Manage [field_otype]</a>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'og_user_groups';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['path'] = 'admin/myhospital';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Hospital';
  $handler->display->display_options['menu']['weight'] = '24';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['my_hospital_clinic'] = $view;

  $view = new view();
  $view->name = 'my_opd_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'My OPD Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'My OPD / IPD details';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    12 => '12',
    15 => '15',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'type',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'title' => 'title',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_charges' => 'field_charges',
    'field_department' => 'field_department',
    'field_discharged' => 'field_discharged',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_patient' => 'field_patient',
    'type' => 'type',
    'field_amount' => 'field_amount',
    'field_amount_status' => 'field_amount_status',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_charges' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_discharged' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'type' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_amount_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Type */
  $handler->display->display_options['fields']['type']['id'] = 'type';
  $handler->display->display_options['fields']['type']['table'] = 'node';
  $handler->display->display_options['fields']['type']['field'] = 'type';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
  );
  /* Filter criterion: Content: Post date */
  $handler->display->display_options['filters']['created']['id'] = 'created';
  $handler->display->display_options['filters']['created']['table'] = 'node';
  $handler->display->display_options['filters']['created']['field'] = 'created';
  $handler->display->display_options['filters']['created']['operator'] = '>=';
  $handler->display->display_options['filters']['created']['value']['value'] = '2025-01-01 00:00:00';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'user/%/my-popdipd';
  $handler->display->display_options['menu']['type'] = 'tab';
  $handler->display->display_options['menu']['title'] = 'My OPD / IPD Detail';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Type */
  $handler->display->display_options['fields']['type']['id'] = 'type';
  $handler->display->display_options['fields']['type']['table'] = 'node';
  $handler->display->display_options['fields']['type']['field'] = 'type';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'opdipd';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'opdregistrationno';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['label'] = 'age';
  /* Field: Content: Charges */
  $handler->display->display_options['fields']['field_charges']['id'] = 'field_charges';
  $handler->display->display_options['fields']['field_charges']['table'] = 'field_data_field_charges';
  $handler->display->display_options['fields']['field_charges']['field'] = 'field_charges';
  $handler->display->display_options['fields']['field_charges']['label'] = 'charges';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['label'] = 'opddate';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'fathername';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['label'] = 'serialno';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['label'] = 'yearserialno';
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['label'] = 'address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['label'] = 'opddoctor';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['label'] = 'firstname';
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['label'] = 'gender';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
  );
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['table'] = 'node';
  $handler->display->display_options['filters']['type_1']['field'] = 'type';
  $handler->display->display_options['filters']['type_1']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type_1']['exposed'] = TRUE;
  $handler->display->display_options['filters']['type_1']['expose']['operator_id'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['label'] = 'Type';
  $handler->display->display_options['filters']['type_1']['expose']['operator'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['identifier'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['type_1']['expose']['reduce'] = TRUE;
  $handler->display->display_options['path'] = 'myopdipp_list_mobile_view.json/%';
  $handler->display->display_options['menu']['title'] = 'My OPD / IPD Detail';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Type */
  $handler->display->display_options['fields']['type']['id'] = 'type';
  $handler->display->display_options['fields']['type']['table'] = 'node';
  $handler->display->display_options['fields']['type']['field'] = 'type';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'opdipd';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'opdregistrationno';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['label'] = 'age';
  /* Field: Content: Charges */
  $handler->display->display_options['fields']['field_charges']['id'] = 'field_charges';
  $handler->display->display_options['fields']['field_charges']['table'] = 'field_data_field_charges';
  $handler->display->display_options['fields']['field_charges']['field'] = 'field_charges';
  $handler->display->display_options['fields']['field_charges']['label'] = 'charges';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['label'] = 'opddate';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'fathername';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['label'] = 'serialno';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['label'] = 'yearserialno';
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['label'] = 'address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['label'] = 'opddoctor';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['label'] = 'firstname';
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['label'] = 'gender';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_doctor_contacted_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
  );
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['table'] = 'node';
  $handler->display->display_options['filters']['type_1']['field'] = 'type';
  $handler->display->display_options['filters']['type_1']['value'] = array(
    'ipd_patients' => 'ipd_patients',
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type_1']['exposed'] = TRUE;
  $handler->display->display_options['filters']['type_1']['expose']['operator_id'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['label'] = 'Type';
  $handler->display->display_options['filters']['type_1']['expose']['operator'] = 'type_1_op';
  $handler->display->display_options['filters']['type_1']['expose']['identifier'] = 'type_1';
  $handler->display->display_options['filters']['type_1']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['type_1']['expose']['reduce'] = TRUE;
  $handler->display->display_options['path'] = 'myopdipd_doctor_list_mobile_view.json/%';
  $handler->display->display_options['menu']['title'] = 'My OPD / IPD Detail';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['my_opd_detail'] = $view;

  $view = new view();
  $view->name = 'my_work_checklist';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'My Work Checklist';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'My Work Checklist';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    16 => '16',
    18 => '18',
    21 => '21',
    9 => '9',
    20 => '20',
    6 => '6',
    8 => '8',
    13 => '13',
    17 => '17',
    22 => '22',
    4 => '4',
    15 => '15',
    7 => '7',
    19 => '19',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'title' => 'title',
    'field_date' => 'field_date',
    'field_work_checklist' => 'field_work_checklist',
    'field_work_status' => 'field_work_status',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_work_checklist' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_work_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Work Checklist */
  $handler->display->display_options['fields']['field_work_checklist']['id'] = 'field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['table'] = 'field_data_field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['field'] = 'field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['type'] = 'taxonomy_term_reference_plain';
  $handler->display->display_options['fields']['field_work_checklist']['delta_offset'] = '0';
  /* Field: Content: Work Status */
  $handler->display->display_options['fields']['field_work_status']['id'] = 'field_work_status';
  $handler->display->display_options['fields']['field_work_status']['table'] = 'field_data_field_work_status';
  $handler->display->display_options['fields']['field_work_status']['field'] = 'field_work_status';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: User (field_userforworkchecklist) */
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['id'] = 'field_userforworkchecklist_target_id';
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['table'] = 'field_data_field_userforworkchecklist';
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['field'] = 'field_userforworkchecklist_target_id';
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['default_argument_type'] = 'current_user';
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_userforworkchecklist_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'user_work_checklist' => 'user_work_checklist',
  );
  /* Filter criterion: Content: Work Status (field_work_status) */
  $handler->display->display_options['filters']['field_work_status_value']['id'] = 'field_work_status_value';
  $handler->display->display_options['filters']['field_work_status_value']['table'] = 'field_data_field_work_status';
  $handler->display->display_options['filters']['field_work_status_value']['field'] = 'field_work_status_value';
  $handler->display->display_options['filters']['field_work_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_work_status_value']['expose']['operator_id'] = 'field_work_status_value_op';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['label'] = 'Work Status';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['operator'] = 'field_work_status_value_op';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['identifier'] = 'field_work_status_value';
  $handler->display->display_options['filters']['field_work_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Date (field_date) */
  $handler->display->display_options['filters']['field_date_value']['id'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['table'] = 'field_data_field_date';
  $handler->display->display_options['filters']['field_date_value']['field'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator_id'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['label'] = 'Date';
  $handler->display->display_options['filters']['field_date_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['identifier'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_value']['year_range'] = '-10:+10';
  /* Filter criterion: Field: Work Checklist (field_work_checklist) */
  $handler->display->display_options['filters']['field_work_checklist_tid']['id'] = 'field_work_checklist_tid';
  $handler->display->display_options['filters']['field_work_checklist_tid']['table'] = 'field_data_field_work_checklist';
  $handler->display->display_options['filters']['field_work_checklist_tid']['field'] = 'field_work_checklist_tid';
  $handler->display->display_options['filters']['field_work_checklist_tid']['value'] = '';
  $handler->display->display_options['filters']['field_work_checklist_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['operator_id'] = 'field_work_checklist_tid_op';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['label'] = 'Work Checklist';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['operator'] = 'field_work_checklist_tid_op';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['identifier'] = 'field_work_checklist_tid';
  $handler->display->display_options['filters']['field_work_checklist_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_work_checklist_tid']['vocabulary'] = 'work_check_list';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'user/%/my-work-checklist';
  $handler->display->display_options['menu']['type'] = 'tab';
  $handler->display->display_options['menu']['title'] = 'My Work Checklist';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'work';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Work Checklist */
  $handler->display->display_options['fields']['field_work_checklist']['id'] = 'field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['table'] = 'field_data_field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['field'] = 'field_work_checklist';
  $handler->display->display_options['fields']['field_work_checklist']['label'] = 'workchecklist';
  $handler->display->display_options['fields']['field_work_checklist']['type'] = 'taxonomy_term_reference_plain';
  $handler->display->display_options['fields']['field_work_checklist']['delta_offset'] = '0';
  /* Field: Content: Work Status */
  $handler->display->display_options['fields']['field_work_status']['id'] = 'field_work_status';
  $handler->display->display_options['fields']['field_work_status']['table'] = 'field_data_field_work_status';
  $handler->display->display_options['fields']['field_work_status']['field'] = 'field_work_status';
  $handler->display->display_options['fields']['field_work_status']['label'] = 'workstatus';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  $handler->display->display_options['path'] = 'myworklist_list_mobile_view.json/%';
  $handler->display->display_options['menu']['title'] = 'My Work Checklist';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'user-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['my_work_checklist'] = $view;

  $view = new view();
  $view->name = 'news_events';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'News & Events';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'News & Events';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'slideshow';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Body */
  $handler->display->display_options['fields']['body']['id'] = 'body';
  $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
  $handler->display->display_options['fields']['body']['field'] = 'body';
  $handler->display->display_options['fields']['body']['label'] = '';
  $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['body']['type'] = 'text_summary_or_trimmed';
  $handler->display->display_options['fields']['body']['settings'] = array(
    'trim_length' => '600',
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'article' => 'article',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'list';
  $handler->display->display_options['style_options']['type'] = 'ol';
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['path'] = 'news';

  /* Display: Block */
  $handler = $view->new_display('block', 'Block', 'block_1');
  $handler->display->display_options['defaults']['use_more'] = FALSE;
  $handler->display->display_options['use_more'] = TRUE;
  $handler->display->display_options['defaults']['use_more_always'] = FALSE;
  $handler->display->display_options['defaults']['use_more_always'] = FALSE;
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['defaults']['use_more_text'] = FALSE;
  $handler->display->display_options['use_more_text'] = 'Read More';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'slideshow';
  $handler->display->display_options['style_options']['default_row_class'] = FALSE;
  $handler->display->display_options['style_options']['row_class_special'] = FALSE;
  $handler->display->display_options['style_options']['slideshow_type'] = 'views_slideshow_cycle';
  $handler->display->display_options['style_options']['slideshow_skin'] = 'default';
  $handler->display->display_options['style_options']['skin_info'] = array(
    'class' => 'default',
    'name' => 'Default',
    'module' => 'views_slideshow',
    'path' => '',
    'stylesheets' => array(),
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 0,
    'nothing' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 'title',
    'nothing' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['effect'] = 'scrollUp';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['timeout'] = '5000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['speed'] = '700';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['delay'] = '0';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['action_advanced'] = 1;
  $handler->display->display_options['style_options']['views_slideshow_cycle']['remember_slide_days'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['items_per_slide'] = '10';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['wait_for_image_load_timeout'] = '3000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartype'] = 0;
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartypenobg'] = 0;
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = ' 
<ul class=\'action-links\'><li>[title] </li></ul>
 ';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  $handler->display->display_options['block_description'] = 'News Block';
  $export['news_events'] = $view;

  $view = new view();
  $view->name = 'opd_medicine_report';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'OPD Medicine Report';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Total Collection of OPD Medicine';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Rows per page';
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 100, 500, 1000, 2000, 4000, 6000';
  $handler->display->display_options['style_plugin'] = 'views_aggregator';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'title' => 'title',
    'field_department' => 'field_department',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_ipd_registration_n_1' => 'field_patient_ipd_registration_n_1',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_doctor_contacted' => 'field_doctor_contacted',
    'field_chief_complains' => 'field_chief_complains',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'field_medicine' => 'field_medicine',
    'field_amount' => 'field_amount',
    'field_amount_status' => 'field_amount_status',
    'url' => 'url',
    'edit_node' => 'edit_node',
    'nothing' => 'nothing',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_doctor_contacted' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_chief_complains' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_medicine' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-right',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 1,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'url' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'edit_node' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nothing' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
  );
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  $handler->display->display_options['style_options']['column_aggregation']['totals_per_page'] = '1';
  $handler->display->display_options['style_options']['column_aggregation']['totals_row_position'] = array(
    1 => '1',
    2 => '2',
  );
  $handler->display->display_options['style_options']['column_aggregation']['precision'] = '2';
  /* Header: Global: Result summary */
  $handler->display->display_options['header']['result']['id'] = 'result';
  $handler->display->display_options['header']['result']['table'] = 'views';
  $handler->display->display_options['header']['result']['field'] = 'result';
  $handler->display->display_options['header']['result']['content'] = 'Displaying @start - @end out of @total rows';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['content'] = '<br><hr><br>';
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['empty'] = TRUE;
  $handler->display->display_options['footer']['result']['content'] = 'Displaying @start - @end out of @total rows';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Relationship: Content: Add Medicine (field_add_medicine_auto) */
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['id'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['table'] = 'field_data_field_add_medicine_auto';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['field'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['relationships']['field_add_medicine_auto_value']['delta'] = '-1';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Medicine Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Medicine */
  $handler->display->display_options['fields']['field_medicine']['id'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['fields']['field_medicine']['field'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['fields']['field_medicine']['label'] = 'Medicine Given';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['relationship'] = 'field_add_medicine_auto_value';
  /* Field: Field collection item: URL */
  $handler->display->display_options['fields']['url']['id'] = 'url';
  $handler->display->display_options['fields']['url']['table'] = 'views_entity_field_collection_item';
  $handler->display->display_options['fields']['url']['field'] = 'url';
  $handler->display->display_options['fields']['url']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['fields']['url']['exclude'] = TRUE;
  $handler->display->display_options['fields']['url']['display_as_link'] = FALSE;
  $handler->display->display_options['fields']['url']['link_to_entity'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit Case Details';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Edit Medicine Details';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'[url]/edit\' target=\'_blank\'>Edit</a> ';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Medicine Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Status (field_amount_status) */
  $handler->display->display_options['filters']['field_amount_status_value']['id'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['filters']['field_amount_status_value']['field'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['filters']['field_amount_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator_id'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['identifier'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['multiple'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['filters']['field_amount_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator_id'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['label'] = 'Amount';
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['identifier'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department ';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Medicine (field_medicine) */
  $handler->display->display_options['filters']['field_medicine_tid']['id'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['filters']['field_medicine_tid']['field'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['filters']['field_medicine_tid']['value'] = '';
  $handler->display->display_options['filters']['field_medicine_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_medicine_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['operator_id'] = 'field_medicine_tid_op';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['label'] = 'Medicine';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['operator'] = 'field_medicine_tid_op';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['identifier'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_medicine_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_medicine_tid']['vocabulary'] = 'medicine';
  /* Filter criterion: Field: Medicine (field_medicine) */
  $handler->display->display_options['filters']['field_medicine_tid_1']['id'] = 'field_medicine_tid_1';
  $handler->display->display_options['filters']['field_medicine_tid_1']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['filters']['field_medicine_tid_1']['field'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid_1']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['filters']['field_medicine_tid_1']['operator'] = 'not empty';
  $handler->display->display_options['filters']['field_medicine_tid_1']['value'] = '';
  $handler->display->display_options['filters']['field_medicine_tid_1']['group'] = 1;
  $handler->display->display_options['filters']['field_medicine_tid_1']['vocabulary'] = 'medicine';
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value_1']['id'] = 'field_amount_value_1';
  $handler->display->display_options['filters']['field_amount_value_1']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value_1']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value_1']['relationship'] = 'field_add_medicine_auto_value';
  $handler->display->display_options['filters']['field_amount_value_1']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value_1']['value']['value'] = '0';
  $handler->display->display_options['filters']['field_amount_value_1']['group'] = 1;
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/opd-medicine-details';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Total Collection of OPD Medicines';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['opd_medicine_report'] = $view;

  $view = new view();
  $view->name = 'opd_other_payment_report';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'OPD Other Payment Report';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Total Collection of OPD Other Payments';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Rows per page';
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 100, 500, 1000, 2000, 4000, 6000';
  $handler->display->display_options['style_plugin'] = 'views_aggregator';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'title' => 'title',
    'field_department' => 'field_department',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_ipd_registration_n_1' => 'field_patient_ipd_registration_n_1',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_patient_ipdnewregistration_1' => 'field_patient_ipdnewregistration_1',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_doctor_contacted' => 'field_doctor_contacted',
    'field_chief_complains' => 'field_chief_complains',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'field_reason' => 'field_reason',
    'field_amount' => 'field_amount',
    'field_amount_status' => 'field_amount_status',
    'url' => 'url',
    'edit_node' => 'edit_node',
    'nothing' => 'nothing',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipdnewregistration_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_doctor_contacted' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_chief_complains' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_reason' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-right',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 1,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'url' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'edit_node' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nothing' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
  );
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  $handler->display->display_options['style_options']['column_aggregation']['totals_per_page'] = '1';
  $handler->display->display_options['style_options']['column_aggregation']['totals_row_position'] = array(
    1 => '1',
    2 => '2',
  );
  $handler->display->display_options['style_options']['column_aggregation']['precision'] = '2';
  /* Header: Global: Result summary */
  $handler->display->display_options['header']['result']['id'] = 'result';
  $handler->display->display_options['header']['result']['table'] = 'views';
  $handler->display->display_options['header']['result']['field'] = 'result';
  $handler->display->display_options['header']['result']['content'] = 'Displaying @start - @end out of @total rows';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['content'] = '<br><hr><br>';
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['empty'] = TRUE;
  $handler->display->display_options['footer']['result']['content'] = 'Displaying @start - @end out of @total rows';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Relationship: Content: Detail (field_bill_detail) */
  $handler->display->display_options['relationships']['field_bill_detail_value']['id'] = 'field_bill_detail_value';
  $handler->display->display_options['relationships']['field_bill_detail_value']['table'] = 'field_data_field_bill_detail';
  $handler->display->display_options['relationships']['field_bill_detail_value']['field'] = 'field_bill_detail_value';
  $handler->display->display_options['relationships']['field_bill_detail_value']['delta'] = '-1';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Other Payment Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field collection item: Reason */
  $handler->display->display_options['fields']['field_reason']['id'] = 'field_reason';
  $handler->display->display_options['fields']['field_reason']['table'] = 'field_data_field_reason';
  $handler->display->display_options['fields']['field_reason']['field'] = 'field_reason';
  $handler->display->display_options['fields']['field_reason']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['field_reason']['label'] = 'Reason for other payments';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['relationship'] = 'field_bill_detail_value';
  /* Field: Field collection item: URL */
  $handler->display->display_options['fields']['url']['id'] = 'url';
  $handler->display->display_options['fields']['url']['table'] = 'views_entity_field_collection_item';
  $handler->display->display_options['fields']['url']['field'] = 'url';
  $handler->display->display_options['fields']['url']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['fields']['url']['exclude'] = TRUE;
  $handler->display->display_options['fields']['url']['display_as_link'] = FALSE;
  $handler->display->display_options['fields']['url']['link_to_entity'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit Case Details';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Edit Other Payment Details';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'[url]/edit\' target=\'_blank\'>Edit</a> ';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Other Payment Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Status (field_amount_status) */
  $handler->display->display_options['filters']['field_amount_status_value']['id'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['filters']['field_amount_status_value']['field'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['filters']['field_amount_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator_id'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['identifier'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['multiple'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['filters']['field_amount_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator_id'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['label'] = 'Amount';
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['identifier'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department ';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field collection item: Reason (field_reason) */
  $handler->display->display_options['filters']['field_reason_value']['id'] = 'field_reason_value';
  $handler->display->display_options['filters']['field_reason_value']['table'] = 'field_data_field_reason';
  $handler->display->display_options['filters']['field_reason_value']['field'] = 'field_reason_value';
  $handler->display->display_options['filters']['field_reason_value']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['filters']['field_reason_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_reason_value']['group'] = 1;
  $handler->display->display_options['filters']['field_reason_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_reason_value']['expose']['operator_id'] = 'field_reason_value_op';
  $handler->display->display_options['filters']['field_reason_value']['expose']['label'] = 'Reason';
  $handler->display->display_options['filters']['field_reason_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_reason_value']['expose']['operator'] = 'field_reason_value_op';
  $handler->display->display_options['filters']['field_reason_value']['expose']['identifier'] = 'field_reason_value';
  $handler->display->display_options['filters']['field_reason_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field collection item: Reason (field_reason) */
  $handler->display->display_options['filters']['field_reason_value_1']['id'] = 'field_reason_value_1';
  $handler->display->display_options['filters']['field_reason_value_1']['table'] = 'field_data_field_reason';
  $handler->display->display_options['filters']['field_reason_value_1']['field'] = 'field_reason_value';
  $handler->display->display_options['filters']['field_reason_value_1']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['filters']['field_reason_value_1']['operator'] = 'not empty';
  $handler->display->display_options['filters']['field_reason_value_1']['group'] = 1;
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value_1']['id'] = 'field_amount_value_1';
  $handler->display->display_options['filters']['field_amount_value_1']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value_1']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value_1']['relationship'] = 'field_bill_detail_value';
  $handler->display->display_options['filters']['field_amount_value_1']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value_1']['value']['value'] = '0';
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/opd-otherpay-details';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Total Collection of OPD Other Payments';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['opd_other_payment_report'] = $view;

  $view = new view();
  $view->name = 'opd_patients';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'OPD Patients';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'OPD Patients';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    20 => '20',
    13 => '13',
    26 => '26',
    4 => '4',
    15 => '15',
    19 => '19',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add Patients';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients\'>Add OPD Patients</a><br><hr><br>';
  /* Footer: Global: Unfiltered text */
  $handler->display->display_options['footer']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['footer']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['label'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  $handler->display->display_options['footer']['area_text_custom']['content'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nothing_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = 'P[nid]';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Login Username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Manage Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[title_1]">Add case</a> | 
<a href="https://ayurvishvabharti.org/ayurvishvabharti/admin/patient-case-detail?opdr=[title_1]">View case</a><br>
<a href="https://ayurvishvabharti.org/ayurvishvabharti/admin/manage-beds?opdr=[title_1]">Manage IPD</a>';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  $handler->display->display_options['sorts']['created']['exposed'] = TRUE;
  $handler->display->display_options['sorts']['created']['expose']['label'] = 'Post date';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: First Name (field_first_name) */
  $handler->display->display_options['filters']['field_first_name_value']['id'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['filters']['field_first_name_value']['field'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_first_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator_id'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['label'] = 'First Name';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['identifier'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Middle Name (field_middle_name) */
  $handler->display->display_options['filters']['field_middle_name_value']['id'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['filters']['field_middle_name_value']['field'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_middle_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator_id'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['label'] = 'Middle Name';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['identifier'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Last Name (field_last_name) */
  $handler->display->display_options['filters']['field_last_name_value']['id'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['filters']['field_last_name_value']['field'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_last_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator_id'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['label'] = 'Last Name';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['identifier'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Father Name (field_father_name) */
  $handler->display->display_options['filters']['field_father_name_value']['id'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['filters']['field_father_name_value']['field'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_father_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator_id'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['label'] = 'Father Name';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['identifier'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['value'] = array(
    'Male' => 'Male',
    'Female' => 'Female',
  );
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 30';
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Unfiltered text */
  $handler->display->display_options['footer']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['footer']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['label'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  $handler->display->display_options['footer']['area_text_custom']['content'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['content'] = '<br><br>Displaying @start - @end of @total';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (Patient ID - UHID)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login UserID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Login Username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_4']['id'] = 'nothing_4';
  $handler->display->display_options['fields']['nothing_4']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_4']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_4']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_4']['alter']['text'] = '[field_patient_login_username] | [field_patient_login_username_1]';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\' target=\'_blank\'>View</a>  |  <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/printview/[nid]\' target=\'_blank\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Manage Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[nid]&field_patient_login_username=[field_patient_login_username_1]&field_case_type=103">Add case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[nid]&field_patient_login_username=[field_patient_login_username_1]&field_case_type=102">Add follow up case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?opdr=[title_1]">View case</a><br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/[field_hospital_clinic_1]?opdr=[title_1]">Admit patients</a>';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Content: Post date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'node';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Created On';
  $handler->display->display_options['fields']['created']['exclude'] = TRUE;
  $handler->display->display_options['fields']['created']['date_format'] = 'short';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'search_api_facetapi_YEAR';
  $handler->display->display_options['fields']['created']['format_date_sql'] = 0;
  $handler->display->display_options['defaults']['sorts'] = FALSE;
  /* Sort criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['sorts']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['sorts']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['sorts']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['sorts']['field_date_of_admission_value']['order'] = 'DESC';
  $handler->display->display_options['sorts']['field_date_of_admission_value']['exposed'] = TRUE;
  $handler->display->display_options['sorts']['field_date_of_admission_value']['expose']['label'] = 'OPD Date';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['exposed'] = TRUE;
  $handler->display->display_options['sorts']['created']['expose']['label'] = 'Created On';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['group'] = 1;
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized registration number';
  $handler->display->display_options['filters']['nid']['expose']['description'] = 'enter only numeric value to search (eg : 28308)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: First Name (field_first_name) */
  $handler->display->display_options['filters']['field_first_name_value']['id'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['filters']['field_first_name_value']['field'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_first_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_first_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator_id'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['label'] = 'First Name';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['identifier'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Middle Name (field_middle_name) */
  $handler->display->display_options['filters']['field_middle_name_value']['id'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['filters']['field_middle_name_value']['field'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_middle_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_middle_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator_id'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['label'] = 'Middle Name';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['identifier'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Last Name (field_last_name) */
  $handler->display->display_options['filters']['field_last_name_value']['id'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['filters']['field_last_name_value']['field'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_last_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_last_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator_id'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['label'] = 'Last Name';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['identifier'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Father Name (field_father_name) */
  $handler->display->display_options['filters']['field_father_name_value']['id'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['filters']['field_father_name_value']['field'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_father_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_father_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator_id'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['label'] = 'Father Name';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['identifier'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['id'] = 'field_date_of_admission_value_1';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'admin/opd-patients';

  /* Display: Data export */
  $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '100';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  $handler->display->display_options['style_options']['provide_file'] = 0;
  $handler->display->display_options['style_options']['parent_sort'] = 1;
  $handler->display->display_options['style_options']['quote'] = 1;
  $handler->display->display_options['style_options']['trim'] = 0;
  $handler->display->display_options['style_options']['replace_newlines'] = 0;
  $handler->display->display_options['style_options']['newline_token'] = '1';
  $handler->display->display_options['style_options']['header'] = 1;
  $handler->display->display_options['style_options']['keep_html'] = 0;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID - (UHID)';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient ID - (UHID)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  $handler->display->display_options['defaults']['sorts'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: First Name (field_first_name) */
  $handler->display->display_options['filters']['field_first_name_value']['id'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['filters']['field_first_name_value']['field'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_first_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator_id'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['label'] = 'First Name';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['identifier'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Middle Name (field_middle_name) */
  $handler->display->display_options['filters']['field_middle_name_value']['id'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['filters']['field_middle_name_value']['field'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_middle_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator_id'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['label'] = 'Middle Name';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['identifier'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Last Name (field_last_name) */
  $handler->display->display_options['filters']['field_last_name_value']['id'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['filters']['field_last_name_value']['field'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_last_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator_id'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['label'] = 'Last Name';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['identifier'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Father Name (field_father_name) */
  $handler->display->display_options['filters']['field_father_name_value']['id'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['filters']['field_father_name_value']['field'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_father_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator_id'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['label'] = 'Father Name';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['identifier'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['value'] = array(
    'Male' => 'Male',
    'Female' => 'Female',
  );
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['id'] = 'field_date_of_admission_value_1';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'opd-patients-csv';
  $handler->display->display_options['displays'] = array(
    'default' => 'default',
    'page' => 'page',
  );
  $handler->display->display_options['use_batch'] = 'batch';
  $handler->display->display_options['segment_size'] = '100';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'OPD Patients Summary';
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 30';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_department',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic_1' => 'field_hospital_clinic_1',
    'field_first_name' => 'field_first_name',
    'field_middle_name' => 'field_middle_name',
    'field_last_name' => 'field_last_name',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'nid' => 'nid',
    'nothing_1' => 'nothing_1',
    'title' => 'title',
    'field_patient_login_username_1' => 'field_patient_login_username_1',
    'field_patient_login_username' => 'field_patient_login_username',
    'nothing' => 'nothing',
    'field_father_name' => 'field_father_name',
    'field_age' => 'field_age',
    'field_gender' => 'field_gender',
    'field_date_of_admission' => 'field_date_of_admission',
    'title_1' => 'title_1',
    'edit_node' => 'edit_node',
    'nothing_2' => 'nothing_2',
    'nothing_3' => 'nothing_3',
    'field_serial_no' => 'field_serial_no',
    'field_year_serial_no' => 'field_year_serial_no',
    'field_address_administrative_area' => 'field_address_administrative_area',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_middle_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_last_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username_1' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_father_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_age' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_gender' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_admission' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title_1' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_2' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_3' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_serial_no' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_year_serial_no' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_address_administrative_area' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Unfiltered text */
  $handler->display->display_options['footer']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['footer']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['label'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  $handler->display->display_options['footer']['area_text_custom']['content'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (OPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login UserID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Login Username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_4']['id'] = 'nothing_4';
  $handler->display->display_options['fields']['nothing_4']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_4']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_4']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_4']['alter']['text'] = '[field_patient_login_username]  | [field_patient_login_username_1] ';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\' target=\'_blank\'>View</a>  |  <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/printview/[nid]\' target=\'_blank\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Manage Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[nid]&field_patient_login_username=[field_patient_login_username_1]">Add case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?opdr=[title_1]">View case</a><br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/[field_hospital_clinic_1]?opdr=[title_1]">Admit patients</a>';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['group'] = 1;
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized registration number';
  $handler->display->display_options['filters']['nid']['expose']['description'] = 'enter only numeric value to search (eg : 28308)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: First Name (field_first_name) */
  $handler->display->display_options['filters']['field_first_name_value']['id'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['filters']['field_first_name_value']['field'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_first_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_first_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator_id'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['label'] = 'First Name';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['identifier'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Middle Name (field_middle_name) */
  $handler->display->display_options['filters']['field_middle_name_value']['id'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['filters']['field_middle_name_value']['field'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_middle_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_middle_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator_id'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['label'] = 'Middle Name';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['identifier'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Last Name (field_last_name) */
  $handler->display->display_options['filters']['field_last_name_value']['id'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['filters']['field_last_name_value']['field'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_last_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_last_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator_id'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['label'] = 'Last Name';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['identifier'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Father Name (field_father_name) */
  $handler->display->display_options['filters']['field_father_name_value']['id'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['filters']['field_father_name_value']['field'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_father_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_father_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator_id'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['label'] = 'Father Name';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['identifier'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['value'] = array(
    'Male' => 'Male',
    'Female' => 'Female',
  );
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 76';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['id'] = 'field_date_of_admission_value_1';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'admin/opd-patients-summary';

  /* Display: Page3 */
  $handler = $view->new_display('page', 'Page3', 'page_2');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '100';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 30, 80,100';
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['header']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['header']['webform_result']['table'] = 'views';
  $handler->display->display_options['header']['webform_result']['field'] = 'webform_result';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/opd-patients-download';
  $handler->display->display_options['menu']['title'] = 'OPD Report';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Data export 2 */
  $handler = $view->new_display('views_data_export', 'Data export 2', 'views_data_export_2');
  $handler->display->display_options['pager']['type'] = 'none';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  $handler->display->display_options['style_options']['attach_text'] = 'OPD_CSV';
  $handler->display->display_options['style_options']['provide_file'] = 0;
  $handler->display->display_options['style_options']['parent_sort'] = 1;
  $handler->display->display_options['style_options']['quote'] = 1;
  $handler->display->display_options['style_options']['trim'] = 0;
  $handler->display->display_options['style_options']['replace_newlines'] = 0;
  $handler->display->display_options['style_options']['newline_token'] = '1';
  $handler->display->display_options['style_options']['header'] = 1;
  $handler->display->display_options['style_options']['keep_html'] = 0;
  $handler->display->display_options['defaults']['header'] = FALSE;
  $handler->display->display_options['defaults']['footer'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['label'] = 'OPD Date';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/opd-patients-download-csv';
  $handler->display->display_options['displays'] = array(
    'page_2' => 'page_2',
    'default' => 0,
    'page' => 0,
    'page_1' => 0,
  );
  $handler->display->display_options['use_batch'] = 'batch';
  $handler->display->display_options['segment_size'] = '100';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_3');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Shri SBLD Ayurved Vishwa Bharti - OPD Patients';
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 30';
  $handler->display->display_options['defaults']['header'] = FALSE;
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login UserID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Login Username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_4']['id'] = 'nothing_4';
  $handler->display->display_options['fields']['nothing_4']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_4']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_4']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_4']['alter']['text'] = '[field_patient_login_username] | [field_patient_login_username_1]';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\' target=\'_blank\'>View</a>  |  <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/printview/[nid]\' target=\'_blank\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'View Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/view-patient-case-detail?opdr=[title_1]">View case</a>
';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['group'] = 1;
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized registration number';
  $handler->display->display_options['filters']['nid']['expose']['description'] = 'enter only numeric value to search (eg : 28308)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: First Name (field_first_name) */
  $handler->display->display_options['filters']['field_first_name_value']['id'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['filters']['field_first_name_value']['field'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_first_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_first_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator_id'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['label'] = 'First Name';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['identifier'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Middle Name (field_middle_name) */
  $handler->display->display_options['filters']['field_middle_name_value']['id'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['filters']['field_middle_name_value']['field'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_middle_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_middle_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator_id'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['label'] = 'Middle Name';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['identifier'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Last Name (field_last_name) */
  $handler->display->display_options['filters']['field_last_name_value']['id'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['filters']['field_last_name_value']['field'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_last_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_last_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator_id'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['label'] = 'Last Name';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['identifier'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Father Name (field_father_name) */
  $handler->display->display_options['filters']['field_father_name_value']['id'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['filters']['field_father_name_value']['field'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_father_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_father_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator_id'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['label'] = 'Father Name';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['identifier'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  $handler->display->display_options['path'] = 'admin/view-opd-patients';
  $export['opd_patients'] = $view;

  $view = new view();
  $view->name = 'opd_therapy_report';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'OPD Therapy Report';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Total Collection of OPD Therapy';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Rows per page';
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 100, 500, 1000, 2000, 4000, 6000';
  $handler->display->display_options['style_plugin'] = 'views_aggregator';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'title' => 'title',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'field_department' => 'field_department',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_ipd_registration_n_1' => 'field_patient_ipd_registration_n_1',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_doctor_contacted' => 'field_doctor_contacted',
    'field_chief_complains' => 'field_chief_complains',
    'field_therapy' => 'field_therapy',
    'field_medicine_instructions' => 'field_medicine_instructions',
    'field_amount' => 'field_amount',
    'field_amount_status' => 'field_amount_status',
    'url' => 'url',
    'edit_node' => 'edit_node',
    'nothing' => 'nothing',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipd_registration_n_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_doctor_contacted' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_chief_complains' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_therapy' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_medicine_instructions' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => 'views-align-right',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 1,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'field_amount_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'url' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'edit_node' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
    'nothing' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
      'has_aggr' => 0,
      'aggr' => array(
        'views_aggregator_first' => 'views_aggregator_first',
      ),
      'aggr_par' => '',
      'has_aggr_column' => 0,
      'aggr_column' => 'views_aggregator_sum',
      'aggr_par_column' => '',
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  $handler->display->display_options['style_options']['column_aggregation']['totals_per_page'] = '1';
  $handler->display->display_options['style_options']['column_aggregation']['totals_row_position'] = array(
    1 => '1',
    2 => '2',
  );
  $handler->display->display_options['style_options']['column_aggregation']['precision'] = '2';
  /* Header: Global: Result summary */
  $handler->display->display_options['header']['result']['id'] = 'result';
  $handler->display->display_options['header']['result']['table'] = 'views';
  $handler->display->display_options['header']['result']['field'] = 'result';
  $handler->display->display_options['header']['result']['content'] = 'Displaying @start - @end out of @total rows';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['content'] = '<br><hr><br>';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Relationship: Content: Add Therapy (field_add_therapy_auto) */
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['id'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['table'] = 'field_data_field_add_therapy_auto';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['field'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['required'] = TRUE;
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['delta'] = '-1';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Therapy Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Therapy */
  $handler->display->display_options['fields']['field_therapy']['id'] = 'field_therapy';
  $handler->display->display_options['fields']['field_therapy']['table'] = 'field_data_field_therapy';
  $handler->display->display_options['fields']['field_therapy']['field'] = 'field_therapy';
  $handler->display->display_options['fields']['field_therapy']['relationship'] = 'field_add_therapy_auto_value';
  /* Field: Field collection item: Instructions */
  $handler->display->display_options['fields']['field_medicine_instructions']['id'] = 'field_medicine_instructions';
  $handler->display->display_options['fields']['field_medicine_instructions']['table'] = 'field_data_field_medicine_instructions';
  $handler->display->display_options['fields']['field_medicine_instructions']['field'] = 'field_medicine_instructions';
  $handler->display->display_options['fields']['field_medicine_instructions']['relationship'] = 'field_add_therapy_auto_value';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['relationship'] = 'field_add_therapy_auto_value';
  /* Field: Field collection item: URL */
  $handler->display->display_options['fields']['url']['id'] = 'url';
  $handler->display->display_options['fields']['url']['table'] = 'views_entity_field_collection_item';
  $handler->display->display_options['fields']['url']['field'] = 'url';
  $handler->display->display_options['fields']['url']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['fields']['url']['exclude'] = TRUE;
  $handler->display->display_options['fields']['url']['display_as_link'] = FALSE;
  $handler->display->display_options['fields']['url']['link_to_entity'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit Case Details';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Edit Therapy Details';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'[url]/edit\' target=\'_blank\'>Edit</a> ';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Therapy Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Status (field_amount_status) */
  $handler->display->display_options['filters']['field_amount_status_value']['id'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['filters']['field_amount_status_value']['field'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['filters']['field_amount_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator_id'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['identifier'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['multiple'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['filters']['field_amount_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator_id'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['label'] = 'Amount';
  $handler->display->display_options['filters']['field_amount_value']['expose']['operator'] = 'field_amount_value_op';
  $handler->display->display_options['filters']['field_amount_value']['expose']['identifier'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department ';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  /* Filter criterion: Field: Therapy (field_therapy) */
  $handler->display->display_options['filters']['field_therapy_tid']['id'] = 'field_therapy_tid';
  $handler->display->display_options['filters']['field_therapy_tid']['table'] = 'field_data_field_therapy';
  $handler->display->display_options['filters']['field_therapy_tid']['field'] = 'field_therapy_tid';
  $handler->display->display_options['filters']['field_therapy_tid']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['filters']['field_therapy_tid']['value'] = '';
  $handler->display->display_options['filters']['field_therapy_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_therapy_tid']['expose']['operator_id'] = 'field_therapy_tid_op';
  $handler->display->display_options['filters']['field_therapy_tid']['expose']['label'] = 'Therapy';
  $handler->display->display_options['filters']['field_therapy_tid']['expose']['operator'] = 'field_therapy_tid_op';
  $handler->display->display_options['filters']['field_therapy_tid']['expose']['identifier'] = 'field_therapy_tid';
  $handler->display->display_options['filters']['field_therapy_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
  );
  $handler->display->display_options['filters']['field_therapy_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_therapy_tid']['vocabulary'] = 'therapy';
  /* Filter criterion: Field: Therapy (field_therapy) */
  $handler->display->display_options['filters']['field_therapy_tid_1']['id'] = 'field_therapy_tid_1';
  $handler->display->display_options['filters']['field_therapy_tid_1']['table'] = 'field_data_field_therapy';
  $handler->display->display_options['filters']['field_therapy_tid_1']['field'] = 'field_therapy_tid';
  $handler->display->display_options['filters']['field_therapy_tid_1']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['filters']['field_therapy_tid_1']['operator'] = 'not empty';
  $handler->display->display_options['filters']['field_therapy_tid_1']['value'] = '';
  $handler->display->display_options['filters']['field_therapy_tid_1']['vocabulary'] = 'therapy';
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value_1']['id'] = 'field_amount_value_1';
  $handler->display->display_options['filters']['field_amount_value_1']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value_1']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value_1']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['filters']['field_amount_value_1']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value_1']['value']['value'] = '0';
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/opd-therapy-details';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Total Collection of OPD Therapy';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['opd_therapy_report'] = $view;

  $view = new view();
  $view->name = 'patient_case_detail_';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Patient Case Detail ';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Patient Case Detail ';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    13 => '13',
    26 => '26',
    4 => '4',
    15 => '15',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Unique Id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[field_patient_login_username]  | [field_patient_login_username_1] ';
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'Centralized IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'Centralized OPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Case Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['label'] = 'Chief Complain';
  $handler->display->display_options['fields']['field_chief_complains']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_chief_complains']['settings'] = array(
    'trim_length' => '600',
  );
  /* Field: Content: Final Diagnosis */
  $handler->display->display_options['fields']['field_final_diagnosis']['id'] = 'field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['table'] = 'field_data_field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['field'] = 'field_final_diagnosis';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Total Bill */
  $handler->display->display_options['fields']['field_total_bill']['id'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['table'] = 'field_data_field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['field'] = 'field_total_bill';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Manage';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill/[nid]" target=\'_blank\'>Total Bill Receipt</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-tests/[nid]" target=\'_blank\'>Test Bill</a> &nbsp; | &nbsp;  
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-medicines/[nid]" target=\'_blank\'>Medicine Bill</a> &nbsp; | &nbsp;  
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-therapy/[nid]" target=\'_blank\'>Therapy Bill</a> &nbsp; | &nbsp;  
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-others/[nid]" target=\'_blank\'>Other Bill</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[field_patient_login_username_1]&field_case_type=102">Add follow up case (OPD)</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[field_patient_login_username_1]&field_patient_ipdnewregistration=[field_patient_ipdnewregistration_1]&field_case_type=102">Add follow up case (IPD)</a>
 ';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['value'] = array(
    7 => '7',
    8 => '8',
    24 => '24',
    25 => '25',
    26 => '26',
    27 => '27',
    28 => '28',
    29 => '29',
    30 => '30',
    32 => '32',
    33 => '33',
    35 => '35',
    43 => '43',
    50 => '50',
    51 => '51',
    61 => '61',
    62 => '62',
    63 => '63',
    64 => '64',
    65 => '65',
    66 => '66',
    67 => '67',
    79 => '79',
    5 => '5',
    31 => '31',
    44 => '44',
    54 => '54',
    37 => '37',
  );
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['reduce'] = TRUE;
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Unique ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Patient Case Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Post date */
  $handler->display->display_options['filters']['created']['id'] = 'created';
  $handler->display->display_options['filters']['created']['table'] = 'node';
  $handler->display->display_options['filters']['created']['field'] = 'created';
  $handler->display->display_options['filters']['created']['operator'] = '>=';
  $handler->display->display_options['filters']['created']['value']['value'] = '2025-01-01 00:00:00';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['value'] = array(
    7 => '7',
    8 => '8',
    24 => '24',
    25 => '25',
    26 => '26',
    27 => '27',
    28 => '28',
    29 => '29',
    30 => '30',
    32 => '32',
    33 => '33',
    35 => '35',
    43 => '43',
    50 => '50',
    51 => '51',
    61 => '61',
    62 => '62',
    63 => '63',
    64 => '64',
    65 => '65',
    66 => '66',
    67 => '67',
    79 => '79',
    5 => '5',
    31 => '31',
    44 => '44',
    54 => '54',
    37 => '37',
  );
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['reduce'] = TRUE;
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Unique ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Patient Case Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'admin/patient-case-detail';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'pcase';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'ploginusername';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'puid';
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'ipdno';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'centeripdno';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['label'] = 'opdno';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'centeropdno';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'cdate';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['label'] = 'chiefcomplain';
  $handler->display->display_options['fields']['field_chief_complains']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_chief_complains']['settings'] = array(
    'trim_length' => '600',
  );
  /* Field: Content: Final Diagnosis */
  $handler->display->display_options['fields']['field_final_diagnosis']['id'] = 'field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['table'] = 'field_data_field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['field'] = 'field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['label'] = 'finaldiagnosis';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'dateofdischarge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Total Bill */
  $handler->display->display_options['fields']['field_total_bill']['id'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['table'] = 'field_data_field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['field'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['label'] = 'totalbill';
  $handler->display->display_options['fields']['field_total_bill']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Unique ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Patient Case Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'pcase_list_mobile_view.json';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Shri SBLD Ayurved Vishwa Bharti - Patient Case Detail ';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Unique Id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Login Username | (User ID)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[field_patient_login_username]  | [field_patient_login_username_1] ';
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['label'] = 'IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'Centralized IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'Centralized OPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['label'] = 'Case Date';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['label'] = 'Chief Complain';
  $handler->display->display_options['fields']['field_chief_complains']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_chief_complains']['settings'] = array(
    'trim_length' => '600',
  );
  /* Field: Content: Final Diagnosis */
  $handler->display->display_options['fields']['field_final_diagnosis']['id'] = 'field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['table'] = 'field_data_field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['field'] = 'field_final_diagnosis';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Total Bill */
  $handler->display->display_options['fields']['field_total_bill']['id'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['table'] = 'field_data_field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['field'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_total_bill']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'View';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill/[nid]" target=\'_blank\'>Receipt</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-tests/[nid]" target=\'_blank\'>Test</a> 
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-medicines/[nid]" target=\'_blank\'>Medicine</a> 
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-therapy/[nid]" target=\'_blank\'>Therapy</a> 
<hr> 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patient-total-bill-others/[nid]" target=\'_blank\'>Other</a>

 
 ';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: Doctor (field_doctor_contacted) */
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['id'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['field'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['value'] = array(
    7 => '7',
    8 => '8',
    24 => '24',
    25 => '25',
    26 => '26',
    27 => '27',
    28 => '28',
    29 => '29',
    30 => '30',
    32 => '32',
    33 => '33',
    35 => '35',
    43 => '43',
    50 => '50',
    51 => '51',
    61 => '61',
    62 => '62',
    63 => '63',
    64 => '64',
    65 => '65',
    66 => '66',
    67 => '67',
    79 => '79',
    5 => '5',
    31 => '31',
    44 => '44',
    54 => '54',
    37 => '37',
  );
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator_id'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['label'] = 'Doctor';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['operator'] = 'field_doctor_contacted_target_id_op';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['identifier'] = 'field_doctor_contacted_target_id';
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  $handler->display->display_options['filters']['field_doctor_contacted_target_id']['expose']['reduce'] = TRUE;
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Unique ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'OPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'IPD Centralized Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Patient Case Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['year_range'] = '-2:+3';
  $handler->display->display_options['path'] = 'admin/view-patient-case-detail';
  $export['patient_case_detail_'] = $view;

  $view = new view();
  $view->name = 'patient_cases';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Patient Cases';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Patient Case Detail ';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    6 => '6',
    8 => '8',
    14 => '14',
    13 => '13',
    4 => '4',
    15 => '15',
    7 => '7',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add OPD Details';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients">Add OPD Details</a>';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['relationships']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: OG membership: Group ID */
  $handler->display->display_options['fields']['gid']['id'] = 'gid';
  $handler->display->display_options['fields']['gid']['table'] = 'og_membership';
  $handler->display->display_options['fields']['gid']['field'] = 'gid';
  $handler->display->display_options['fields']['gid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['gid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['gid']['separator'] = '';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['name']['label'] = 'Patient Name';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'Centralized OPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'Centralized IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'link' => 1,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Complain Type Detail */
  $handler->display->display_options['fields']['field_complain_type_detail']['id'] = 'field_complain_type_detail';
  $handler->display->display_options['fields']['field_complain_type_detail']['table'] = 'field_data_field_complain_type_detail';
  $handler->display->display_options['fields']['field_complain_type_detail']['field'] = 'field_complain_type_detail';
  $handler->display->display_options['fields']['field_complain_type_detail']['label'] = 'Complain Type';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['label'] = 'Chief Complain';
  $handler->display->display_options['fields']['field_chief_complains']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_chief_complains']['settings'] = array(
    'trim_length' => '600',
  );
  /* Field: Content: Final Diagnosis */
  $handler->display->display_options['fields']['field_final_diagnosis']['id'] = 'field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['table'] = 'field_data_field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['field'] = 'field_final_diagnosis';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case follow up';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[uid]&field_case_type=102">Add follow up case (OPD)</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[uid]&field_patient_ipdnewregistration=[field_patient_ipdnewregistration_1]&field_case_type=102">Add follow up case (IPD)</a>';
  /* Field: Content: Total Bill */
  $handler->display->display_options['fields']['field_total_bill']['id'] = 'field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['table'] = 'field_data_field_total_bill';
  $handler->display->display_options['fields']['field_total_bill']['field'] = 'field_total_bill';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Admit Patient (IPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/[gid]">Admit patient</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit case';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: User: Uid */
  $handler->display->display_options['arguments']['uid']['id'] = 'uid';
  $handler->display->display_options['arguments']['uid']['table'] = 'users';
  $handler->display->display_options['arguments']['uid']['field'] = 'uid';
  $handler->display->display_options['arguments']['uid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['uid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['uid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['uid']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['uid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['uid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['uid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'Centralized IPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'Centralized OPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add OPD Details';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<a href="https://ayurvishvabhartitest.iaseuniversityonline.org/ayurvishvabharti/node/add/patients">Add OPD Details</a>';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: OG membership: Group ID */
  $handler->display->display_options['fields']['gid']['id'] = 'gid';
  $handler->display->display_options['fields']['gid']['table'] = 'og_membership';
  $handler->display->display_options['fields']['gid']['field'] = 'gid';
  $handler->display->display_options['fields']['gid']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['gid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['gid']['separator'] = '';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['fields']['name']['label'] = 'Patient Name';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Patient Case';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['id'] = 'field_patient_ipd_registration_n_1';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['label'] = 'Centralized OPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['id'] = 'field_patient_ipdnewregistration_1';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['label'] = 'Centralized IPD Registration No';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'link' => 1,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'link' => 1,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Complain Type Detail */
  $handler->display->display_options['fields']['field_complain_type_detail']['id'] = 'field_complain_type_detail';
  $handler->display->display_options['fields']['field_complain_type_detail']['table'] = 'field_data_field_complain_type_detail';
  $handler->display->display_options['fields']['field_complain_type_detail']['field'] = 'field_complain_type_detail';
  $handler->display->display_options['fields']['field_complain_type_detail']['label'] = 'Complain Type';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['label'] = 'Chief Complain';
  $handler->display->display_options['fields']['field_chief_complains']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_chief_complains']['settings'] = array(
    'trim_length' => '600',
  );
  /* Field: Content: Final Diagnosis */
  $handler->display->display_options['fields']['field_final_diagnosis']['id'] = 'field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['table'] = 'field_data_field_final_diagnosis';
  $handler->display->display_options['fields']['field_final_diagnosis']['field'] = 'field_final_diagnosis';
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case follow up';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[uid]&field_case_type=102">Add follow up case (OPD)</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[field_patient_ipd_registration_n_1]&field_patient_login_username=[uid]&field_patient_ipdnewregistration=[field_patient_ipdnewregistration_1]&field_case_type=102">Add follow up case (IPD)</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Admit Patient (IPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/[gid]">Admit patient</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit case';
  $handler->display->display_options['path'] = 'admin/patientcase/%';
  $export['patient_cases'] = $view;

  $view = new view();
  $view->name = 'patients';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'Patients';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Patients';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    11 => '11',
    9 => '9',
    8 => '8',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* No results behavior: Global: Unfiltered text */
  $handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['empty']['area_text_custom']['content'] = 'No patient is registered yet.';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patientcase/[uid]">Manage case</a> | <a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients/">Add OPD Detail</a>';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['arguments']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['arguments']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    14 => '14',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;
  /* Filter criterion: User: Name */
  $handler->display->display_options['filters']['uid']['id'] = 'uid';
  $handler->display->display_options['filters']['uid']['table'] = 'users';
  $handler->display->display_options['filters']['uid']['field'] = 'uid';
  $handler->display->display_options['filters']['uid']['value'] = '';
  $handler->display->display_options['filters']['uid']['group'] = 1;
  $handler->display->display_options['filters']['uid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['uid']['expose']['operator_id'] = 'uid_op';
  $handler->display->display_options['filters']['uid']['expose']['label'] = 'Username';
  $handler->display->display_options['filters']['uid']['expose']['operator'] = 'uid_op';
  $handler->display->display_options['filters']['uid']['expose']['identifier'] = 'uid';
  $handler->display->display_options['filters']['uid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
  );
  /* Filter criterion: User: E-mail */
  $handler->display->display_options['filters']['mail']['id'] = 'mail';
  $handler->display->display_options['filters']['mail']['table'] = 'users';
  $handler->display->display_options['filters']['mail']['field'] = 'mail';
  $handler->display->display_options['filters']['mail']['operator'] = 'word';
  $handler->display->display_options['filters']['mail']['group'] = 1;
  $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['label'] = 'E-mail';
  $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['label'] = 'Patient Unique No';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created_1']['id'] = 'created_1';
  $handler->display->display_options['fields']['created_1']['table'] = 'users';
  $handler->display->display_options['fields']['created_1']['field'] = 'created';
  $handler->display->display_options['fields']['created_1']['label'] = 'Registered on';
  $handler->display->display_options['fields']['created_1']['date_format'] = 'long';
  $handler->display->display_options['fields']['created_1']['second_date_format'] = 'long';
  /* Field: User: Active status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'users';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'Status';
  $handler->display->display_options['fields']['status']['type'] = 'active-blocked';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: User: Last access */
  $handler->display->display_options['fields']['access']['id'] = 'access';
  $handler->display->display_options['fields']['access']['table'] = 'users';
  $handler->display->display_options['fields']['access']['field'] = 'access';
  $handler->display->display_options['fields']['access']['date_format'] = 'time ago';
  $handler->display->display_options['fields']['access']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients?field_hospital_clinic=!1&field_patient_login_username=[uid]">Add OPD</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/!1">Admit patient</a>  | <br> 
 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patientcase/[uid]">View case history</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patients/[uid]">View OPD</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/ipd-patients/[uid]">View IPD</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/bill-detail-of-patient/[uid]" target="_blank">Bill Detail</a>
';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['path'] = 'admin/hospital/%/patientlist';
  $handler->display->display_options['menu']['title'] = 'Patient';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patientcase/[uid]">Manage case</a> | <a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients/">Add OPD Detail</a>';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['allow']['use_pager'] = 'use_pager';
  $handler->display->display_options['allow']['items_per_page'] = 0;
  $handler->display->display_options['allow']['offset'] = 0;
  $handler->display->display_options['allow']['link_to_view'] = 0;
  $handler->display->display_options['allow']['more_link'] = 0;
  $handler->display->display_options['allow']['path_override'] = 0;
  $handler->display->display_options['allow']['title_override'] = 0;
  $handler->display->display_options['allow']['exposed_form'] = 0;
  $handler->display->display_options['allow']['fields_override'] = 0;
  $handler->display->display_options['argument_input'] = array(
    'og_user_node_target_id' => array(
      'type' => 'panel',
      'context' => 'entity:field_collection_item.archived',
      'context_optional' => 0,
      'panel' => '2',
      'fixed' => '',
      'label' => 'User: Group membership (og_user_node)',
    ),
  );
  $handler->display->display_options['inherit_panels_path'] = '1';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['label'] = 'uid';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['label'] = 'email';
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created_1']['id'] = 'created_1';
  $handler->display->display_options['fields']['created_1']['table'] = 'users';
  $handler->display->display_options['fields']['created_1']['field'] = 'created';
  $handler->display->display_options['fields']['created_1']['label'] = 'registeredon';
  $handler->display->display_options['fields']['created_1']['date_format'] = 'long';
  $handler->display->display_options['fields']['created_1']['second_date_format'] = 'long';
  $handler->display->display_options['fields']['created_1']['format_date_sql'] = 0;
  /* Field: User: Active status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'users';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'Status';
  $handler->display->display_options['fields']['status']['type'] = 'active-blocked';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: User: Last access */
  $handler->display->display_options['fields']['access']['id'] = 'access';
  $handler->display->display_options['fields']['access']['table'] = 'users';
  $handler->display->display_options['fields']['access']['field'] = 'access';
  $handler->display->display_options['fields']['access']['label'] = 'lastaccess';
  $handler->display->display_options['fields']['access']['date_format'] = 'time ago';
  $handler->display->display_options['fields']['access']['second_date_format'] = 'long';
  $handler->display->display_options['fields']['access']['format_date_sql'] = 0;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: User: Hospital / Clinic (membership) */
  $handler->display->display_options['fields']['og_user_node']['id'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['table'] = 'og_membership';
  $handler->display->display_options['fields']['og_user_node']['field'] = 'og_user_node';
  $handler->display->display_options['fields']['og_user_node']['label'] = 'hospitalid';
  $handler->display->display_options['fields']['og_user_node']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['og_user_node']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['og_user_node']['delta_offset'] = '0';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['arguments']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['arguments']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    14 => '14',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
  );
  $handler->display->display_options['path'] = 'patient_list_mobile_view.json';
  $handler->display->display_options['menu']['title'] = 'Patient';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['patients'] = $view;

  $view = new view();
  $view->name = 'patients_for_ccimadmin';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'Patients for CCIMadmin';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Patients';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    5 => '5',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* No results behavior: Global: Unfiltered text */
  $handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['empty']['area_text_custom']['content'] = 'No patient is registered yet.';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patientcase/[uid]">Manage case</a> | <a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients/">Add OPD Detail</a>';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: User: Hospital / Clinic (membership) (og_user_node) */
  $handler->display->display_options['arguments']['og_user_node_target_id']['id'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['table'] = 'og_membership';
  $handler->display->display_options['arguments']['og_user_node_target_id']['field'] = 'og_user_node_target_id';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['og_user_node_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['og_user_node_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    14 => '14',
  );
  $handler->display->display_options['filters']['rid']['group'] = 1;
  /* Filter criterion: User: Name */
  $handler->display->display_options['filters']['uid']['id'] = 'uid';
  $handler->display->display_options['filters']['uid']['table'] = 'users';
  $handler->display->display_options['filters']['uid']['field'] = 'uid';
  $handler->display->display_options['filters']['uid']['value'] = '';
  $handler->display->display_options['filters']['uid']['group'] = 1;
  $handler->display->display_options['filters']['uid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['uid']['expose']['operator_id'] = 'uid_op';
  $handler->display->display_options['filters']['uid']['expose']['label'] = 'Username';
  $handler->display->display_options['filters']['uid']['expose']['operator'] = 'uid_op';
  $handler->display->display_options['filters']['uid']['expose']['identifier'] = 'uid';
  $handler->display->display_options['filters']['uid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
  );
  /* Filter criterion: User: E-mail */
  $handler->display->display_options['filters']['mail']['id'] = 'mail';
  $handler->display->display_options['filters']['mail']['table'] = 'users';
  $handler->display->display_options['filters']['mail']['field'] = 'mail';
  $handler->display->display_options['filters']['mail']['operator'] = 'word';
  $handler->display->display_options['filters']['mail']['group'] = 1;
  $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['label'] = 'E-mail';
  $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['label'] = 'Patient Unique No';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created_1']['id'] = 'created_1';
  $handler->display->display_options['fields']['created_1']['table'] = 'users';
  $handler->display->display_options['fields']['created_1']['field'] = 'created';
  $handler->display->display_options['fields']['created_1']['label'] = 'Registered on';
  $handler->display->display_options['fields']['created_1']['date_format'] = 'long';
  $handler->display->display_options['fields']['created_1']['second_date_format'] = 'long';
  /* Field: User: Active status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'users';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'Status';
  $handler->display->display_options['fields']['status']['type'] = 'active-blocked';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: User: Last access */
  $handler->display->display_options['fields']['access']['id'] = 'access';
  $handler->display->display_options['fields']['access']['table'] = 'users';
  $handler->display->display_options['fields']['access']['field'] = 'access';
  $handler->display->display_options['fields']['access']['date_format'] = 'time ago';
  $handler->display->display_options['fields']['access']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients?field_hospital_clinic=!1&field_patient_login_username=[uid]">Add OPD</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/!1">Admit patient</a>  | <br> 
 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patientcase/[uid]">View case history</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patients/[uid]">View OPD</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/ipd-patients/[uid]">View IPD</a> 
';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['path'] = 'admin/hospital/%/patientlists';
  $handler->display->display_options['menu']['title'] = 'Patient';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['label'] = 'Patient Unique ID';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'Photo';
  $handler->display->display_options['fields']['picture']['image_style'] = 'thumbnail';
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Login Username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = 'user';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Registered On';
  $handler->display->display_options['fields']['created']['date_format'] = 'medium';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Case Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients?field_hospital_clinic=!1&field_patient_login_username=[uid]">Add OPD</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/!1">Admit patient</a>  | <br>  
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patientcase/[uid]">View case history</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd-patients/[uid]">View OPD</a> | <br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/ipd-patients/[uid]">View IPD</a> 
';
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['allow']['use_pager'] = 'use_pager';
  $handler->display->display_options['allow']['items_per_page'] = 0;
  $handler->display->display_options['allow']['offset'] = 0;
  $handler->display->display_options['allow']['link_to_view'] = 0;
  $handler->display->display_options['allow']['more_link'] = 0;
  $handler->display->display_options['allow']['path_override'] = 0;
  $handler->display->display_options['allow']['title_override'] = 0;
  $handler->display->display_options['allow']['exposed_form'] = 0;
  $handler->display->display_options['allow']['fields_override'] = 0;
  $handler->display->display_options['argument_input'] = array(
    'og_user_node_target_id' => array(
      'type' => 'panel',
      'context' => 'entity:field_collection_item.archived',
      'context_optional' => 0,
      'panel' => '2',
      'fixed' => '',
      'label' => 'User: Group membership (og_user_node)',
    ),
  );
  $handler->display->display_options['inherit_panels_path'] = '1';
  $export['patients_for_ccimadmin'] = $view;

  $view = new view();
  $view->name = 'pharmacy';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Pharmacy';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Pharmacy';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic' => 'field_hospital_clinic',
    'nid' => 'nid',
    'title' => 'title',
    'field_ownwer_name' => 'field_ownwer_name',
    'edit_node' => 'edit_node',
    'nothing' => 'nothing',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_ownwer_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'Hospital/Clinic ID';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Pharmacy';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Ownwer Name */
  $handler->display->display_options['fields']['field_ownwer_name']['id'] = 'field_ownwer_name';
  $handler->display->display_options['fields']['field_ownwer_name']['table'] = 'field_data_field_ownwer_name';
  $handler->display->display_options['fields']['field_ownwer_name']['field'] = 'field_ownwer_name';
  $handler->display->display_options['fields']['field_ownwer_name']['label'] = 'Owner';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Manage Pharmacy Stock';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/pharmacy-stock?field_hospital_clinic=[field_hospital_clinic]&field_pharmacy=[nid]">Add</a> | <a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/hospital/[field_hospital_clinic]/pharmacy/[nid]">View</a>';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'pharmacy' => 'pharmacy',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/pharmacylist';

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['argument_input'] = array(
    'field_hospital_clinic_target_id' => array(
      'type' => 'panel',
      'context' => 'entity:field_collection_item.archived',
      'context_optional' => 0,
      'panel' => '2',
      'fixed' => '',
      'label' => 'Content: Hospital/Clinic (field_hospital_clinic)',
    ),
  );
  $handler->display->display_options['inherit_panels_path'] = '1';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'pharmacy';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Ownwer Name */
  $handler->display->display_options['fields']['field_ownwer_name']['id'] = 'field_ownwer_name';
  $handler->display->display_options['fields']['field_ownwer_name']['table'] = 'field_data_field_ownwer_name';
  $handler->display->display_options['fields']['field_ownwer_name']['field'] = 'field_ownwer_name';
  $handler->display->display_options['fields']['field_ownwer_name']['label'] = 'owner';
  $handler->display->display_options['fields']['field_ownwer_name']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'hospitalid';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '1';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['path'] = 'pharmacy_list_mobile_view.json';
  $export['pharmacy'] = $view;

  $view = new view();
  $view->name = 'pharmacy_stock';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Pharmacy Stock';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Pharmacy Stock';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Pharmacy */
  $handler->display->display_options['fields']['field_pharmacy']['id'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['field'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Item';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Brand Name */
  $handler->display->display_options['fields']['field_brand_name']['id'] = 'field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['table'] = 'field_data_field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['field'] = 'field_brand_name';
  /* Field: Content: Manufacturer Name */
  $handler->display->display_options['fields']['field_manufacturer_name']['id'] = 'field_manufacturer_name';
  $handler->display->display_options['fields']['field_manufacturer_name']['table'] = 'field_data_field_manufacturer_name';
  $handler->display->display_options['fields']['field_manufacturer_name']['field'] = 'field_manufacturer_name';
  /* Field: Content: Batch Number */
  $handler->display->display_options['fields']['field_batch_number']['id'] = 'field_batch_number';
  $handler->display->display_options['fields']['field_batch_number']['table'] = 'field_data_field_batch_number';
  $handler->display->display_options['fields']['field_batch_number']['field'] = 'field_batch_number';
  /* Field: Content: Supplier Name */
  $handler->display->display_options['fields']['field_supplier_name']['id'] = 'field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['table'] = 'field_data_field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['field'] = 'field_supplier_name';
  /* Field: Content: No of Batches */
  $handler->display->display_options['fields']['field_no_of_batches']['id'] = 'field_no_of_batches';
  $handler->display->display_options['fields']['field_no_of_batches']['table'] = 'field_data_field_no_of_batches';
  $handler->display->display_options['fields']['field_no_of_batches']['field'] = 'field_no_of_batches';
  /* Field: Content: Units per Batch */
  $handler->display->display_options['fields']['field_units_per_batch']['id'] = 'field_units_per_batch';
  $handler->display->display_options['fields']['field_units_per_batch']['table'] = 'field_data_field_units_per_batch';
  $handler->display->display_options['fields']['field_units_per_batch']['field'] = 'field_units_per_batch';
  /* Field: Content: Total Units */
  $handler->display->display_options['fields']['field_total_units']['id'] = 'field_total_units';
  $handler->display->display_options['fields']['field_total_units']['table'] = 'field_data_field_total_units';
  $handler->display->display_options['fields']['field_total_units']['field'] = 'field_total_units';
  /* Field: Content: Manufactured On / Expiry Date */
  $handler->display->display_options['fields']['field_manufactured_on']['id'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['field'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Discount */
  $handler->display->display_options['fields']['field_discount']['id'] = 'field_discount';
  $handler->display->display_options['fields']['field_discount']['table'] = 'field_data_field_discount';
  $handler->display->display_options['fields']['field_discount']['field'] = 'field_discount';
  /* Field: Content: Total Cost */
  $handler->display->display_options['fields']['field_total_cost']['id'] = 'field_total_cost';
  $handler->display->display_options['fields']['field_total_cost']['table'] = 'field_data_field_total_cost';
  $handler->display->display_options['fields']['field_total_cost']['field'] = 'field_total_cost';
  /* Field: Content: Cost per Item */
  $handler->display->display_options['fields']['field_cost_per_item']['id'] = 'field_cost_per_item';
  $handler->display->display_options['fields']['field_cost_per_item']['table'] = 'field_data_field_cost_per_item';
  $handler->display->display_options['fields']['field_cost_per_item']['field'] = 'field_cost_per_item';
  /* Field: Content: Selling MRP */
  $handler->display->display_options['fields']['field_selling_mrp']['id'] = 'field_selling_mrp';
  $handler->display->display_options['fields']['field_selling_mrp']['table'] = 'field_data_field_selling_mrp';
  $handler->display->display_options['fields']['field_selling_mrp']['field'] = 'field_selling_mrp';
  /* Field: Content: Rack No */
  $handler->display->display_options['fields']['field_rack_no']['id'] = 'field_rack_no';
  $handler->display->display_options['fields']['field_rack_no']['table'] = 'field_data_field_rack_no';
  $handler->display->display_options['fields']['field_rack_no']['field'] = 'field_rack_no';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Pharmacy (field_pharmacy) */
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['id'] = 'field_pharmacy_target_id';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['field'] = 'field_pharmacy_target_id';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['default_argument_type'] = 'fixed';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['summary']['format'] = 'default_summary';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'pharmacy_stock' => 'pharmacy_stock',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/pharmacy/stock-list';
  $handler->display->display_options['menu']['title'] = 'Pharmacy Stock List';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Pharmacy Stock List';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Bulk operations: Content */
  $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  $handler->display->display_options['fields']['views_bulk_operations']['label'] = '#';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
    'action::views_bulk_operations_delete_item' => array(
      'selected' => 1,
      'postpone_processing' => 1,
      'skip_confirmation' => 0,
      'skip_permission_check' => 0,
      'override_label' => 0,
      'label' => '',
      'settings' => array(
        'log' => 0,
      ),
    ),
    'action::views_bulk_operations_modify_action' => array(
      'selected' => 1,
      'postpone_processing' => 1,
      'skip_confirmation' => 0,
      'skip_permission_check' => 0,
      'override_label' => 0,
      'label' => '',
      'settings' => array(
        'show_all_tokens' => 1,
        'display_values' => array(
          'pharmacy_stock::field_purchase_date' => 'pharmacy_stock::field_purchase_date',
          'pharmacy_stock::field_stock_status' => 'pharmacy_stock::field_stock_status',
        ),
      ),
    ),
  );
  /* Field: Content: Pharmacy */
  $handler->display->display_options['fields']['field_pharmacy']['id'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['field'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Item Type */
  $handler->display->display_options['fields']['field_item_type']['id'] = 'field_item_type';
  $handler->display->display_options['fields']['field_item_type']['table'] = 'field_data_field_item_type';
  $handler->display->display_options['fields']['field_item_type']['field'] = 'field_item_type';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Item';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Medicine */
  $handler->display->display_options['fields']['field_medicine']['id'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['fields']['field_medicine']['field'] = 'field_medicine';
  /* Field: Content: Stock Status */
  $handler->display->display_options['fields']['field_stock_status']['id'] = 'field_stock_status';
  $handler->display->display_options['fields']['field_stock_status']['table'] = 'field_data_field_stock_status';
  $handler->display->display_options['fields']['field_stock_status']['field'] = 'field_stock_status';
  /* Field: Content: Brand Name */
  $handler->display->display_options['fields']['field_brand_name']['id'] = 'field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['table'] = 'field_data_field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['field'] = 'field_brand_name';
  /* Field: Content: Manufacturer Name */
  $handler->display->display_options['fields']['field_manufacturer_name']['id'] = 'field_manufacturer_name';
  $handler->display->display_options['fields']['field_manufacturer_name']['table'] = 'field_data_field_manufacturer_name';
  $handler->display->display_options['fields']['field_manufacturer_name']['field'] = 'field_manufacturer_name';
  /* Field: Content: Batch Number */
  $handler->display->display_options['fields']['field_batch_number']['id'] = 'field_batch_number';
  $handler->display->display_options['fields']['field_batch_number']['table'] = 'field_data_field_batch_number';
  $handler->display->display_options['fields']['field_batch_number']['field'] = 'field_batch_number';
  /* Field: Content: Supplier Name */
  $handler->display->display_options['fields']['field_supplier_name']['id'] = 'field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['table'] = 'field_data_field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['field'] = 'field_supplier_name';
  /* Field: Content: No of Batches */
  $handler->display->display_options['fields']['field_no_of_batches']['id'] = 'field_no_of_batches';
  $handler->display->display_options['fields']['field_no_of_batches']['table'] = 'field_data_field_no_of_batches';
  $handler->display->display_options['fields']['field_no_of_batches']['field'] = 'field_no_of_batches';
  /* Field: Content: Units per Batch */
  $handler->display->display_options['fields']['field_units_per_batch']['id'] = 'field_units_per_batch';
  $handler->display->display_options['fields']['field_units_per_batch']['table'] = 'field_data_field_units_per_batch';
  $handler->display->display_options['fields']['field_units_per_batch']['field'] = 'field_units_per_batch';
  /* Field: Content: Total Units */
  $handler->display->display_options['fields']['field_total_units']['id'] = 'field_total_units';
  $handler->display->display_options['fields']['field_total_units']['table'] = 'field_data_field_total_units';
  $handler->display->display_options['fields']['field_total_units']['field'] = 'field_total_units';
  /* Field: Content: Purchase Date / Stock Finished Date */
  $handler->display->display_options['fields']['field_purchase_date']['id'] = 'field_purchase_date';
  $handler->display->display_options['fields']['field_purchase_date']['table'] = 'field_data_field_purchase_date';
  $handler->display->display_options['fields']['field_purchase_date']['field'] = 'field_purchase_date';
  $handler->display->display_options['fields']['field_purchase_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Manufactured On / Expiry Date */
  $handler->display->display_options['fields']['field_manufactured_on']['id'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['field'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Cost per Item */
  $handler->display->display_options['fields']['field_cost_per_item']['id'] = 'field_cost_per_item';
  $handler->display->display_options['fields']['field_cost_per_item']['table'] = 'field_data_field_cost_per_item';
  $handler->display->display_options['fields']['field_cost_per_item']['field'] = 'field_cost_per_item';
  /* Field: Content: Selling MRP */
  $handler->display->display_options['fields']['field_selling_mrp']['id'] = 'field_selling_mrp';
  $handler->display->display_options['fields']['field_selling_mrp']['table'] = 'field_data_field_selling_mrp';
  $handler->display->display_options['fields']['field_selling_mrp']['field'] = 'field_selling_mrp';
  /* Field: Content: Rack No */
  $handler->display->display_options['fields']['field_rack_no']['id'] = 'field_rack_no';
  $handler->display->display_options['fields']['field_rack_no']['table'] = 'field_data_field_rack_no';
  $handler->display->display_options['fields']['field_rack_no']['field'] = 'field_rack_no';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Pharmacy (field_pharmacy) */
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['id'] = 'field_pharmacy_target_id';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['field'] = 'field_pharmacy_target_id';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['default_argument_options']['index'] = '4';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'pharmacy_stock' => 'pharmacy_stock',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital/Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Pharmacy (field_pharmacy) */
  $handler->display->display_options['filters']['field_pharmacy_target_id']['id'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['field'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_pharmacy_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['operator_id'] = 'field_pharmacy_target_id_op';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['label'] = 'Pharmacy';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['operator'] = 'field_pharmacy_target_id_op';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['identifier'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Item Type (field_item_type) */
  $handler->display->display_options['filters']['field_item_type_value']['id'] = 'field_item_type_value';
  $handler->display->display_options['filters']['field_item_type_value']['table'] = 'field_data_field_item_type';
  $handler->display->display_options['filters']['field_item_type_value']['field'] = 'field_item_type_value';
  $handler->display->display_options['filters']['field_item_type_value']['group'] = 1;
  $handler->display->display_options['filters']['field_item_type_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_item_type_value']['expose']['operator_id'] = 'field_item_type_value_op';
  $handler->display->display_options['filters']['field_item_type_value']['expose']['label'] = 'Item Type';
  $handler->display->display_options['filters']['field_item_type_value']['expose']['operator'] = 'field_item_type_value_op';
  $handler->display->display_options['filters']['field_item_type_value']['expose']['identifier'] = 'field_item_type_value';
  $handler->display->display_options['filters']['field_item_type_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Medicine (field_medicine) */
  $handler->display->display_options['filters']['field_medicine_tid']['id'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['filters']['field_medicine_tid']['field'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_medicine_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['operator_id'] = 'field_medicine_tid_op';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['label'] = 'Medicine';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['operator'] = 'field_medicine_tid_op';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['identifier'] = 'field_medicine_tid';
  $handler->display->display_options['filters']['field_medicine_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_medicine_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_medicine_tid']['vocabulary'] = 'medicine';
  /* Filter criterion: Content: Supplier Name (field_supplier_name) */
  $handler->display->display_options['filters']['field_supplier_name_tid']['id'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['table'] = 'field_data_field_supplier_name';
  $handler->display->display_options['filters']['field_supplier_name_tid']['field'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_supplier_name_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['operator_id'] = 'field_supplier_name_tid_op';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['label'] = 'Supplier Name';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['operator'] = 'field_supplier_name_tid_op';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['identifier'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_supplier_name_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_supplier_name_tid']['vocabulary'] = 'supplier';
  /* Filter criterion: Content: Stock Status (field_stock_status) */
  $handler->display->display_options['filters']['field_stock_status_value']['id'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['table'] = 'field_data_field_stock_status';
  $handler->display->display_options['filters']['field_stock_status_value']['field'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_stock_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['operator_id'] = 'field_stock_status_value_op';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['label'] = 'Stock Status';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['operator'] = 'field_stock_status_value_op';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['identifier'] = 'field_stock_status_value';
  $handler->display->display_options['filters']['field_stock_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Batch Number (field_batch_number) */
  $handler->display->display_options['filters']['field_batch_number_value']['id'] = 'field_batch_number_value';
  $handler->display->display_options['filters']['field_batch_number_value']['table'] = 'field_data_field_batch_number';
  $handler->display->display_options['filters']['field_batch_number_value']['field'] = 'field_batch_number_value';
  $handler->display->display_options['filters']['field_batch_number_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_batch_number_value']['group'] = 1;
  $handler->display->display_options['filters']['field_batch_number_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_batch_number_value']['expose']['operator_id'] = 'field_batch_number_value_op';
  $handler->display->display_options['filters']['field_batch_number_value']['expose']['label'] = 'Batch Number';
  $handler->display->display_options['filters']['field_batch_number_value']['expose']['operator'] = 'field_batch_number_value_op';
  $handler->display->display_options['filters']['field_batch_number_value']['expose']['identifier'] = 'field_batch_number_value';
  $handler->display->display_options['filters']['field_batch_number_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: No of Batches (field_no_of_batches) */
  $handler->display->display_options['filters']['field_no_of_batches_value']['id'] = 'field_no_of_batches_value';
  $handler->display->display_options['filters']['field_no_of_batches_value']['table'] = 'field_data_field_no_of_batches';
  $handler->display->display_options['filters']['field_no_of_batches_value']['field'] = 'field_no_of_batches_value';
  $handler->display->display_options['filters']['field_no_of_batches_value']['group'] = 1;
  $handler->display->display_options['filters']['field_no_of_batches_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_no_of_batches_value']['expose']['operator_id'] = 'field_no_of_batches_value_op';
  $handler->display->display_options['filters']['field_no_of_batches_value']['expose']['label'] = 'No of Batches';
  $handler->display->display_options['filters']['field_no_of_batches_value']['expose']['operator'] = 'field_no_of_batches_value_op';
  $handler->display->display_options['filters']['field_no_of_batches_value']['expose']['identifier'] = 'field_no_of_batches_value';
  $handler->display->display_options['filters']['field_no_of_batches_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Brand Name (field_brand_name) */
  $handler->display->display_options['filters']['field_brand_name_value']['id'] = 'field_brand_name_value';
  $handler->display->display_options['filters']['field_brand_name_value']['table'] = 'field_data_field_brand_name';
  $handler->display->display_options['filters']['field_brand_name_value']['field'] = 'field_brand_name_value';
  $handler->display->display_options['filters']['field_brand_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_brand_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_brand_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['operator_id'] = 'field_brand_name_value_op';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['label'] = 'Brand Name';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['operator'] = 'field_brand_name_value_op';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['identifier'] = 'field_brand_name_value';
  $handler->display->display_options['filters']['field_brand_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Rack No (field_rack_no) */
  $handler->display->display_options['filters']['field_rack_no_value']['id'] = 'field_rack_no_value';
  $handler->display->display_options['filters']['field_rack_no_value']['table'] = 'field_data_field_rack_no';
  $handler->display->display_options['filters']['field_rack_no_value']['field'] = 'field_rack_no_value';
  $handler->display->display_options['filters']['field_rack_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_rack_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['operator_id'] = 'field_rack_no_value_op';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['label'] = 'Rack No';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['operator'] = 'field_rack_no_value_op';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['identifier'] = 'field_rack_no_value';
  $handler->display->display_options['filters']['field_rack_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Manufacturer Name (field_manufacturer_name) */
  $handler->display->display_options['filters']['field_manufacturer_name_value']['id'] = 'field_manufacturer_name_value';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['table'] = 'field_data_field_manufacturer_name';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['field'] = 'field_manufacturer_name_value';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_manufacturer_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_manufacturer_name_value']['expose']['operator_id'] = 'field_manufacturer_name_value_op';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['expose']['label'] = 'Manufacturer Name';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['expose']['operator'] = 'field_manufacturer_name_value_op';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['expose']['identifier'] = 'field_manufacturer_name_value';
  $handler->display->display_options['filters']['field_manufacturer_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Manufactured On / Expiry Date -  start date (field_manufactured_on) */
  $handler->display->display_options['filters']['field_manufactured_on_value']['id'] = 'field_manufactured_on_value';
  $handler->display->display_options['filters']['field_manufactured_on_value']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['filters']['field_manufactured_on_value']['field'] = 'field_manufactured_on_value';
  $handler->display->display_options['filters']['field_manufactured_on_value']['group'] = 1;
  $handler->display->display_options['filters']['field_manufactured_on_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['operator_id'] = 'field_manufactured_on_value_op';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['label'] = 'Manufactured On';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['operator'] = 'field_manufactured_on_value_op';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['identifier'] = 'field_manufactured_on_value';
  $handler->display->display_options['filters']['field_manufactured_on_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_manufactured_on_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_manufactured_on_value']['year_range'] = '-10:+10';
  /* Filter criterion: Content: Manufactured On / Expiry Date - end date (field_manufactured_on:value2) */
  $handler->display->display_options['filters']['field_manufactured_on_value2']['id'] = 'field_manufactured_on_value2';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['field'] = 'field_manufactured_on_value2';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['group'] = 1;
  $handler->display->display_options['filters']['field_manufactured_on_value2']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['operator_id'] = 'field_manufactured_on_value2_op';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['label'] = 'Expiry Date';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['operator'] = 'field_manufactured_on_value2_op';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['identifier'] = 'field_manufactured_on_value2';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_manufactured_on_value2']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_manufactured_on_value2']['year_range'] = '-10:+10';
  /* Filter criterion: Content: Purchase Date / Stock Finished Date -  start date (field_purchase_date) */
  $handler->display->display_options['filters']['field_purchase_date_value']['id'] = 'field_purchase_date_value';
  $handler->display->display_options['filters']['field_purchase_date_value']['table'] = 'field_data_field_purchase_date';
  $handler->display->display_options['filters']['field_purchase_date_value']['field'] = 'field_purchase_date_value';
  $handler->display->display_options['filters']['field_purchase_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_purchase_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['operator_id'] = 'field_purchase_date_value_op';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['label'] = 'Purchase Date';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['operator'] = 'field_purchase_date_value_op';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['identifier'] = 'field_purchase_date_value';
  $handler->display->display_options['filters']['field_purchase_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_purchase_date_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_purchase_date_value']['year_range'] = '-10:+10';
  /* Filter criterion: Content: Purchase Date / Stock Finished Date - end date (field_purchase_date:value2) */
  $handler->display->display_options['filters']['field_purchase_date_value2']['id'] = 'field_purchase_date_value2';
  $handler->display->display_options['filters']['field_purchase_date_value2']['table'] = 'field_data_field_purchase_date';
  $handler->display->display_options['filters']['field_purchase_date_value2']['field'] = 'field_purchase_date_value2';
  $handler->display->display_options['filters']['field_purchase_date_value2']['group'] = 1;
  $handler->display->display_options['filters']['field_purchase_date_value2']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['operator_id'] = 'field_purchase_date_value2_op';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['label'] = 'Stock Finished Date';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['operator'] = 'field_purchase_date_value2_op';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['identifier'] = 'field_purchase_date_value2';
  $handler->display->display_options['filters']['field_purchase_date_value2']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_purchase_date_value2']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_purchase_date_value2']['year_range'] = '-10:+10';
  $handler->display->display_options['path'] = 'admin/hospital/%/pharmacy/%';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Pharmacy */
  $handler->display->display_options['fields']['field_pharmacy']['id'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['field'] = 'field_pharmacy';
  $handler->display->display_options['fields']['field_pharmacy']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Item';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Brand Name */
  $handler->display->display_options['fields']['field_brand_name']['id'] = 'field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['table'] = 'field_data_field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['field'] = 'field_brand_name';
  $handler->display->display_options['fields']['field_brand_name']['label'] = 'brandname';
  /* Field: Content: Manufacturer Name */
  $handler->display->display_options['fields']['field_manufacturer_name']['id'] = 'field_manufacturer_name';
  $handler->display->display_options['fields']['field_manufacturer_name']['table'] = 'field_data_field_manufacturer_name';
  $handler->display->display_options['fields']['field_manufacturer_name']['field'] = 'field_manufacturer_name';
  $handler->display->display_options['fields']['field_manufacturer_name']['label'] = 'manufacturer';
  /* Field: Content: Batch Number */
  $handler->display->display_options['fields']['field_batch_number']['id'] = 'field_batch_number';
  $handler->display->display_options['fields']['field_batch_number']['table'] = 'field_data_field_batch_number';
  $handler->display->display_options['fields']['field_batch_number']['field'] = 'field_batch_number';
  $handler->display->display_options['fields']['field_batch_number']['label'] = 'batchno';
  /* Field: Content: Supplier Name */
  $handler->display->display_options['fields']['field_supplier_name']['id'] = 'field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['table'] = 'field_data_field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['field'] = 'field_supplier_name';
  $handler->display->display_options['fields']['field_supplier_name']['label'] = 'supplier';
  $handler->display->display_options['fields']['field_supplier_name']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: No of Batches */
  $handler->display->display_options['fields']['field_no_of_batches']['id'] = 'field_no_of_batches';
  $handler->display->display_options['fields']['field_no_of_batches']['table'] = 'field_data_field_no_of_batches';
  $handler->display->display_options['fields']['field_no_of_batches']['field'] = 'field_no_of_batches';
  $handler->display->display_options['fields']['field_no_of_batches']['label'] = 'noofbatches';
  $handler->display->display_options['fields']['field_no_of_batches']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Units per Batch */
  $handler->display->display_options['fields']['field_units_per_batch']['id'] = 'field_units_per_batch';
  $handler->display->display_options['fields']['field_units_per_batch']['table'] = 'field_data_field_units_per_batch';
  $handler->display->display_options['fields']['field_units_per_batch']['field'] = 'field_units_per_batch';
  $handler->display->display_options['fields']['field_units_per_batch']['label'] = 'unitsperbatch';
  /* Field: Content: Total Units */
  $handler->display->display_options['fields']['field_total_units']['id'] = 'field_total_units';
  $handler->display->display_options['fields']['field_total_units']['table'] = 'field_data_field_total_units';
  $handler->display->display_options['fields']['field_total_units']['field'] = 'field_total_units';
  $handler->display->display_options['fields']['field_total_units']['label'] = 'totalunits';
  /* Field: Content: Manufactured On / Expiry Date */
  $handler->display->display_options['fields']['field_manufactured_on']['id'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['table'] = 'field_data_field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['field'] = 'field_manufactured_on';
  $handler->display->display_options['fields']['field_manufactured_on']['label'] = 'medate';
  $handler->display->display_options['fields']['field_manufactured_on']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Discount */
  $handler->display->display_options['fields']['field_discount']['id'] = 'field_discount';
  $handler->display->display_options['fields']['field_discount']['table'] = 'field_data_field_discount';
  $handler->display->display_options['fields']['field_discount']['field'] = 'field_discount';
  /* Field: Content: Total Cost */
  $handler->display->display_options['fields']['field_total_cost']['id'] = 'field_total_cost';
  $handler->display->display_options['fields']['field_total_cost']['table'] = 'field_data_field_total_cost';
  $handler->display->display_options['fields']['field_total_cost']['field'] = 'field_total_cost';
  $handler->display->display_options['fields']['field_total_cost']['label'] = 'totalcost';
  $handler->display->display_options['fields']['field_total_cost']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Cost per Item */
  $handler->display->display_options['fields']['field_cost_per_item']['id'] = 'field_cost_per_item';
  $handler->display->display_options['fields']['field_cost_per_item']['table'] = 'field_data_field_cost_per_item';
  $handler->display->display_options['fields']['field_cost_per_item']['field'] = 'field_cost_per_item';
  $handler->display->display_options['fields']['field_cost_per_item']['label'] = 'costperitem';
  $handler->display->display_options['fields']['field_cost_per_item']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Selling MRP */
  $handler->display->display_options['fields']['field_selling_mrp']['id'] = 'field_selling_mrp';
  $handler->display->display_options['fields']['field_selling_mrp']['table'] = 'field_data_field_selling_mrp';
  $handler->display->display_options['fields']['field_selling_mrp']['field'] = 'field_selling_mrp';
  $handler->display->display_options['fields']['field_selling_mrp']['label'] = 'sellingmrp';
  $handler->display->display_options['fields']['field_selling_mrp']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Rack No */
  $handler->display->display_options['fields']['field_rack_no']['id'] = 'field_rack_no';
  $handler->display->display_options['fields']['field_rack_no']['table'] = 'field_data_field_rack_no';
  $handler->display->display_options['fields']['field_rack_no']['field'] = 'field_rack_no';
  $handler->display->display_options['fields']['field_rack_no']['label'] = 'rackno';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Stock Status */
  $handler->display->display_options['fields']['field_stock_status']['id'] = 'field_stock_status';
  $handler->display->display_options['fields']['field_stock_status']['table'] = 'field_data_field_stock_status';
  $handler->display->display_options['fields']['field_stock_status']['field'] = 'field_stock_status';
  $handler->display->display_options['fields']['field_stock_status']['label'] = 'stockstatus';
  /* Field: Field: Medicine */
  $handler->display->display_options['fields']['field_medicine']['id'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['table'] = 'field_data_field_medicine';
  $handler->display->display_options['fields']['field_medicine']['field'] = 'field_medicine';
  $handler->display->display_options['fields']['field_medicine']['label'] = 'medicinename';
  $handler->display->display_options['fields']['field_medicine']['type'] = 'taxonomy_term_reference_plain';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Pharmacy (field_pharmacy) */
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['id'] = 'field_pharmacy_target_id';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['field'] = 'field_pharmacy_target_id';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['default_argument_type'] = 'fixed';
  $handler->display->display_options['arguments']['field_pharmacy_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'pharmacy_stock' => 'pharmacy_stock',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Pharmacy (field_pharmacy) */
  $handler->display->display_options['filters']['field_pharmacy_target_id']['id'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['table'] = 'field_data_field_pharmacy';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['field'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_pharmacy_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['operator_id'] = 'field_pharmacy_target_id_op';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['label'] = 'Pharmacy';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['operator'] = 'field_pharmacy_target_id_op';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['identifier'] = 'field_pharmacy_target_id';
  $handler->display->display_options['filters']['field_pharmacy_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  /* Filter criterion: Content: Supplier Name (field_supplier_name) */
  $handler->display->display_options['filters']['field_supplier_name_tid']['id'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['table'] = 'field_data_field_supplier_name';
  $handler->display->display_options['filters']['field_supplier_name_tid']['field'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['value'] = '';
  $handler->display->display_options['filters']['field_supplier_name_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_supplier_name_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['operator_id'] = 'field_supplier_name_tid_op';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['label'] = 'Supplier Name';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['operator'] = 'field_supplier_name_tid_op';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['identifier'] = 'field_supplier_name_tid';
  $handler->display->display_options['filters']['field_supplier_name_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  $handler->display->display_options['filters']['field_supplier_name_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_supplier_name_tid']['vocabulary'] = 'supplier';
  $handler->display->display_options['path'] = 'pharmacy_stock_list_mobile_view.json';
  $handler->display->display_options['menu']['title'] = 'Pharmacy Stock List';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['pharmacy_stock'] = $view;

  $view = new view();
  $view->name = 'photo_gallery';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Photo Gallery';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Photo Gallery';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'fluid_grid';
  $handler->display->display_options['style_options']['items_width'] = '250';
  $handler->display->display_options['style_options']['items_height'] = '200';
  $handler->display->display_options['style_options']['advanced_layout'] = array(
    'align' => TRUE,
    'margins' => TRUE,
    'css3' => TRUE,
  );
  $handler->display->display_options['style_options']['list_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_h_margin'] = '4px';
  $handler->display->display_options['style_options']['items_v_margin'] = '4px';
  $handler->display->display_options['style_options']['box_shadow'] = '1';
  $handler->display->display_options['style_options']['border_radius'] = '0';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Upload Photo */
  $handler->display->display_options['fields']['field_upload_photo']['id'] = 'field_upload_photo';
  $handler->display->display_options['fields']['field_upload_photo']['table'] = 'field_data_field_upload_photo';
  $handler->display->display_options['fields']['field_upload_photo']['field'] = 'field_upload_photo';
  $handler->display->display_options['fields']['field_upload_photo']['label'] = '';
  $handler->display->display_options['fields']['field_upload_photo']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['field_upload_photo']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_upload_photo']['settings'] = array(
    'image_style' => 'medium',
    'image_link' => 'content',
  );
  $handler->display->display_options['fields']['field_upload_photo']['delta_limit'] = '1';
  $handler->display->display_options['fields']['field_upload_photo']['delta_offset'] = '0';
  $handler->display->display_options['fields']['field_upload_photo']['delta_first_last'] = TRUE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'gallery' => 'gallery',
  );
  /* Filter criterion: Content: Gallery Type (field_gallery_type) */
  $handler->display->display_options['filters']['field_gallery_type_value']['id'] = 'field_gallery_type_value';
  $handler->display->display_options['filters']['field_gallery_type_value']['table'] = 'field_data_field_gallery_type';
  $handler->display->display_options['filters']['field_gallery_type_value']['field'] = 'field_gallery_type_value';
  $handler->display->display_options['filters']['field_gallery_type_value']['operator'] = 'not';
  $handler->display->display_options['filters']['field_gallery_type_value']['value'] = array(
    'Video Gallery' => 'Video Gallery',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'photo-gallery';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Gallery';
  $handler->display->display_options['menu']['weight'] = '10';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['photo_gallery'] = $view;

  $view = new view();
  $view->name = 'print_ipd_patient_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Print IPD Patient Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'IPD Patient Detail';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    11 => '11',
    9 => '9',
    8 => '8',
    26 => '26',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['relationships']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['relationships']['field_department_target_id']['field'] = 'field_department_target_id';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['relationships']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['relationships']['field_room_target_id']['field'] = 'field_room_target_id';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Centralized registration number (IPD)';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient_1']['id'] = 'field_patient_1';
  $handler->display->display_options['fields']['field_patient_1']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient_1']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient_1']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient_1']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient_1']['delta_offset'] = '0';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient Registration No';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Body */
  $handler->display->display_options['fields']['body']['id'] = 'body';
  $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
  $handler->display->display_options['fields']['body']['field'] = 'body';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/ipd/print/%';
  $export['print_ipd_patient_detail'] = $view;

  $view = new view();
  $view->name = 'print_opd_patient_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Print OPD Patient Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'OPD Patient Detail';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    11 => '11',
    9 => '9',
    8 => '8',
    26 => '26',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'OPD Centralized Number';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[nid]';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient Name';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[field_first_name]  [field_middle_name]  [field_last_name] ';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'OPD Registration No';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'long',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Content: Charges */
  $handler->display->display_options['fields']['field_charges']['id'] = 'field_charges';
  $handler->display->display_options['fields']['field_charges']['table'] = 'field_data_field_charges';
  $handler->display->display_options['fields']['field_charges']['field'] = 'field_charges';
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Body */
  $handler->display->display_options['fields']['body']['id'] = 'body';
  $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
  $handler->display->display_options['fields']['body']['field'] = 'body';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Patient Registration Detail';
  $handler->display->display_options['fields']['field_patient_login_username']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/opd/print/%';
  $export['print_opd_patient_detail'] = $view;

  $view = new view();
  $view->name = 'print_opd_patient_detail_new';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Print OPD Patient Detail New';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    11 => '11',
    9 => '9',
    8 => '8',
    26 => '26',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Patient OPD ID';
  $handler->display->display_options['fields']['nothing']['exclude'] = TRUE;
  $handler->display->display_options['fields']['nothing']['alter']['text'] = 'OPD[nid]';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient Name';
  $handler->display->display_options['fields']['nothing_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[field_first_name]  [field_middle_name]  [field_last_name] ';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Registration No';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['exclude'] = TRUE;
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['exclude'] = TRUE;
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['label'] = '';
  $handler->display->display_options['fields']['field_department']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Body */
  $handler->display->display_options['fields']['body']['id'] = 'body';
  $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
  $handler->display->display_options['fields']['body']['field'] = 'body';
  $handler->display->display_options['fields']['body']['exclude'] = TRUE;
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = '';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<img src=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/image111.png\' width=\'100%\'>
<table border=\'1\' cellpadding=\'3\' cellspacing=\'0\' width=\'100%\' style=\'font-size:12px;\'>
<tr valign=\'top\'>
<td><b>OPD Centralized Registration No. : </b> [nid] &nbsp;</td>
<td colspan=\'2\'><b>Login ID : </b> [field_patient_login_username] &nbsp; </td>
</tr>
<tr valign=\'top\'>
<td colspan=\'3\'><b>Date : </b> [field_date_of_admission] &nbsp;</td>
</tr>
<tr valign=\'top\' >
<td><b>OPD Registration No :  </b>  [title_1]  &nbsp; </td> 
<td  colspan=\'2\'><b>Visit :  </b>  [field_date_of_admission] &nbsp; </td>
</tr>
<tr valign=\'top\'>
<td><b>Name of Consultant :  </b> [field_doctor_contacted] &nbsp; </td>
<td colspan=\'2\'><b>Department :  </b> [field_department] &nbsp; </td> 
</tr>
<tr valign=\'top\'>
<td colspan=\'3\'><b>Diagnosis :  </b> [body] &nbsp; </td>
</tr>
<tr valign=\'top\'>
<td><b>Name :  </b> [nothing_1] : [field_patient_login_username] &nbsp; </td>
<td><b>Sex :  </b> [field_gender] &nbsp; </td> 
<td><b>Age :  </b>  [field_age] &nbsp; </td> 
</tr>
<tr valign=\'top\'>
<td colspan=\'3\'><b>Father\'s Name :  </b> [field_father_name] &nbsp; </td> 
</tr>
<tr valign=\'top\'>
<td colspan=\'3\'><b>Address : </b> [field_address]  &nbsp; </td> 
</tr>
</table>';
  $handler->display->display_options['fields']['nothing_2']['element_label_colon'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/opd/printnew/%';
  $export['print_opd_patient_detail_new'] = $view;

  $view = new view();
  $view->name = 'reference_ward_room';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Reference - Ward/Room';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    2 => '2',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Department (field_department) */
  $handler->display->display_options['arguments']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['arguments']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_department_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'room' => 'room',
  );

  /* Display: Entity Reference View Widget */
  $handler = $view->new_display('entityreference_view_widget', 'Entity Reference View Widget', 'entityreference_view_widget_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['use_ajax'] = FALSE;
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'title' => 'title',
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $export['reference_ward_room'] = $view;

  $view = new view();
  $view->name = 'room_status';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Room Status';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Room Status';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Ward/Room Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Manage Bed / IPD Patients';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds?h=[field_hospital_clinic_1]&d=[field_department_1]&r=[nid]">Manage</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add Bed';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[nid]">Add</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'room' => 'room',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Ward/Room/No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'fluid_grid';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_department',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['items_width'] = '180';
  $handler->display->display_options['style_options']['advanced_layout'] = array(
    'align' => TRUE,
    'margins' => TRUE,
    'css3' => TRUE,
  );
  $handler->display->display_options['style_options']['list_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_h_margin'] = '2px';
  $handler->display->display_options['style_options']['items_v_margin'] = '2px';
  $handler->display->display_options['style_options']['box_shadow'] = '1';
  $handler->display->display_options['style_options']['border_radius'] = '0';
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['label'] = '';
  $handler->display->display_options['fields']['field_department']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['exclude'] = TRUE;
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['label'] = '';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['fields']['edit_node']['exclude'] = TRUE;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'room' => 'room',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Ward/Room/No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Category (field_category) */
  $handler->display->display_options['filters']['field_category_tid']['id'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['table'] = 'field_data_field_category';
  $handler->display->display_options['filters']['field_category_tid']['field'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['value'] = '';
  $handler->display->display_options['filters']['field_category_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_category_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator_id'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['label'] = 'Category';
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['identifier'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_category_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_category_tid']['vocabulary'] = 'ward_room_type';
  $handler->display->display_options['filters']['field_category_tid']['hierarchy'] = 1;
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['value'] = '';
  $handler->display->display_options['filters']['field_room_status_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Room Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  $handler->display->display_options['path'] = 'admin/rooms-status';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'fluid_grid';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_hospital_clinic',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['items_width'] = '180';
  $handler->display->display_options['style_options']['advanced_layout'] = array(
    'align' => TRUE,
    'margins' => TRUE,
    'css3' => TRUE,
  );
  $handler->display->display_options['style_options']['list_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_h_margin'] = '2px';
  $handler->display->display_options['style_options']['items_v_margin'] = '2px';
  $handler->display->display_options['style_options']['box_shadow'] = '1';
  $handler->display->display_options['style_options']['border_radius'] = '0';
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = '';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['label'] = '';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['exclude'] = TRUE;
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['label'] = '';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['fields']['edit_node']['exclude'] = TRUE;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'room' => 'room',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Ward/Room/No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Category (field_category) */
  $handler->display->display_options['filters']['field_category_tid']['id'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['table'] = 'field_data_field_category';
  $handler->display->display_options['filters']['field_category_tid']['field'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['value'] = '';
  $handler->display->display_options['filters']['field_category_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_category_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator_id'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['label'] = 'Category';
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['identifier'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_category_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_category_tid']['vocabulary'] = 'ward_room_type';
  $handler->display->display_options['filters']['field_category_tid']['hierarchy'] = 1;
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['value'] = '';
  $handler->display->display_options['filters']['field_room_status_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Room Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  $handler->display->display_options['path'] = 'admin/rooms-status-all';
  $export['room_status'] = $view;

  $view = new view();
  $view->name = 'rooms';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Rooms';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Ward / Room';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'nothing_2',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic_1' => 'field_hospital_clinic_1',
    'title' => 'title',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'field_category' => 'field_category',
    'field_room_status' => 'field_room_status',
    'field_no_of_beds' => 'field_no_of_beds',
    'field_department_1' => 'field_department_1',
    'nid' => 'nid',
    'nothing_1' => 'nothing_1',
    'nothing' => 'nothing',
    'edit_node' => 'edit_node',
    'nothing_2' => 'nothing_2',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_category' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_no_of_beds' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_2' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Ward/Room Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Manage Bed / IPD Patients';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds?h=[field_hospital_clinic_1]&d=[field_department_1]&r=[nid]">Manage</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add Bed';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[nid]">Add</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'room' => 'room',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Ward/Room/No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_hospital_clinic',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
    1 => array(
      'field' => 'nothing_3',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic_1' => 'field_hospital_clinic_1',
    'title' => 'title',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'field_category' => 'field_category',
    'field_department_1' => 'field_department_1',
    'field_room_status' => 'field_room_status',
    'field_status' => 'field_status',
    'field_incharge_username' => 'field_incharge_username',
    'nid' => 'nid',
    'field_no_of_beds' => 'field_no_of_beds',
    'nothing_1' => 'nothing_1',
    'nothing' => 'nothing',
    'edit_node' => 'edit_node',
    'nothing_2' => 'nothing_2',
    'nothing_3' => 'nothing_3',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_category' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_status' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_incharge_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_no_of_beds' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_2' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_3' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Ward/Room Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  /* Field: Content: Incharge */
  $handler->display->display_options['fields']['field_incharge_username']['id'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['table'] = 'field_data_field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['field'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Manage Beds';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds-dep-room/[field_hospital_clinic_1]/[field_department_1]/[nid]">Manage</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add Bed';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[nid]">Add</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Add Room';
  $handler->display->display_options['fields']['nothing_2']['exclude'] = TRUE;
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/room?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]\' target=\'_blank\'>Add Room</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = '';
  $handler->display->display_options['fields']['nothing_3']['exclude'] = TRUE;
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = 'Department : [field_department]  &nbsp;&nbsp; &nbsp;    |  &nbsp;&nbsp;&nbsp;    [[nothing_2]]';
  $handler->display->display_options['fields']['nothing_3']['element_label_colon'] = FALSE;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'room' => 'room',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Ward/Room/No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
  );
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Category (field_category) */
  $handler->display->display_options['filters']['field_category_tid']['id'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['table'] = 'field_data_field_category';
  $handler->display->display_options['filters']['field_category_tid']['field'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['value'] = '';
  $handler->display->display_options['filters']['field_category_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_category_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator_id'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['label'] = 'Category';
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['identifier'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_category_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_category_tid']['vocabulary'] = 'ward_room_type';
  $handler->display->display_options['filters']['field_category_tid']['hierarchy'] = 1;
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['value'] = '';
  $handler->display->display_options['filters']['field_room_status_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Room Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  $handler->display->display_options['path'] = 'admin/rooms';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Manage Ward / Room Department Wise';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Ward/Room Name / No';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Manage Bed';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds-dep-room/[field_hospital_clinic_1]/[field_department_1]/[nid]">Manage</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Add Bed';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/beds?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]&field_room=[nid]">Add</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Add Room';
  $handler->display->display_options['fields']['nothing_2']['exclude'] = TRUE;
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/room?field_hospital_clinic=[field_hospital_clinic_1]&field_department=[field_department_1]\' target=\'_blank\'>Add Room</a>';
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Department (field_department) */
  $handler->display->display_options['arguments']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['arguments']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['arguments']['field_department_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_department_target_id']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_department_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_department_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['path'] = 'admin/rooms-dep';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'hospitalid';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'roomname';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['label'] = 'department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Category */
  $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department_1']['id'] = 'field_department_1';
  $handler->display->display_options['fields']['field_department_1']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department_1']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department_1']['label'] = 'DepartmentID';
  $handler->display->display_options['fields']['field_department_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_department_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'roomstatus';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_status']['id'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['table'] = 'field_data_field_status';
  $handler->display->display_options['fields']['field_status']['field'] = 'field_status';
  $handler->display->display_options['fields']['field_status']['label'] = 'rstatus';
  /* Field: Content: Incharge */
  $handler->display->display_options['fields']['field_incharge_username']['id'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['table'] = 'field_data_field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['field'] = 'field_incharge_username';
  $handler->display->display_options['fields']['field_incharge_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Content: No of Beds */
  $handler->display->display_options['fields']['field_no_of_beds']['id'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['table'] = 'field_data_field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['field'] = 'field_no_of_beds';
  $handler->display->display_options['fields']['field_no_of_beds']['label'] = 'noofbeds';
  $handler->display->display_options['fields']['field_no_of_beds']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_hospital_clinic_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'room' => 'room',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital/Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
    25 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Category (field_category) */
  $handler->display->display_options['filters']['field_category_tid']['id'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['table'] = 'field_data_field_category';
  $handler->display->display_options['filters']['field_category_tid']['field'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['value'] = '';
  $handler->display->display_options['filters']['field_category_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_category_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator_id'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['label'] = 'Category';
  $handler->display->display_options['filters']['field_category_tid']['expose']['operator'] = 'field_category_tid_op';
  $handler->display->display_options['filters']['field_category_tid']['expose']['identifier'] = 'field_category_tid';
  $handler->display->display_options['filters']['field_category_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_category_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_category_tid']['vocabulary'] = 'ward_room_type';
  $handler->display->display_options['filters']['field_category_tid']['hierarchy'] = 1;
  /* Filter criterion: Field: Status (field_status) */
  $handler->display->display_options['filters']['field_status_value']['id'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['table'] = 'field_data_field_status';
  $handler->display->display_options['filters']['field_status_value']['field'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_status_value']['expose']['operator_id'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['label'] = 'Status';
  $handler->display->display_options['filters']['field_status_value']['expose']['operator'] = 'field_status_value_op';
  $handler->display->display_options['filters']['field_status_value']['expose']['identifier'] = 'field_status_value';
  $handler->display->display_options['filters']['field_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room Status (field_room_status) */
  $handler->display->display_options['filters']['field_room_status_tid']['id'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['field'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['value'] = '';
  $handler->display->display_options['filters']['field_room_status_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_room_status_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator_id'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['label'] = 'Room Status';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['operator'] = 'field_room_status_tid_op';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['identifier'] = 'field_room_status_tid';
  $handler->display->display_options['filters']['field_room_status_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_room_status_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_room_status_tid']['vocabulary'] = 'ward_room_status';
  $handler->display->display_options['filters']['field_room_status_tid']['hierarchy'] = 1;
  $handler->display->display_options['path'] = 'room_list_mobile_view.json';
  $export['rooms'] = $view;

  $view = new view();
  $view->name = 'slider';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Slider';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Manage Slider';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Post date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'node';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Created On';
  $handler->display->display_options['fields']['created']['date_format'] = 'long';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Content: Link to delete content */
  $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['label'] = 'Delete';
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = 'Uploaded Image';
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'thumbnail',
    'image_link' => '',
  );
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['access'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    11 => '11',
    4 => '4',
    10 => '10',
    6 => '6',
  );
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Slider Type */
  $handler->display->display_options['fields']['field_slider_type']['id'] = 'field_slider_type';
  $handler->display->display_options['fields']['field_slider_type']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['fields']['field_slider_type']['field'] = 'field_slider_type';
  /* Field: Content: Post date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'node';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Created On';
  $handler->display->display_options['fields']['created']['date_format'] = 'long';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'long';
  /* Field: Content: Published status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'node';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Content: Link to delete content */
  $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  $handler->display->display_options['fields']['delete_node']['label'] = 'Delete';
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = 'Uploaded Image';
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'thumbnail',
    'image_link' => '',
  );
  $handler->display->display_options['path'] = 'manage-slider';

  /* Display: Block */
  $handler = $view->new_display('block', 'Block', 'block');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '4';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'slideshow';
  $handler->display->display_options['style_options']['slideshow_type'] = 'views_slideshow_cycle';
  $handler->display->display_options['style_options']['slideshow_skin'] = 'default';
  $handler->display->display_options['style_options']['skin_info'] = array(
    'class' => 'default',
    'name' => 'Default',
    'module' => 'views_slideshow',
    'path' => '',
    'stylesheets' => array(),
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 0,
    'created' => 0,
    'status' => 0,
    'edit_node' => 0,
    'delete_node' => 0,
    'field_slider_image' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['top']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
    'title' => 0,
    'created' => 0,
    'status' => 0,
    'edit_node' => 0,
    'delete_node' => 0,
    'field_slider_image' => 0,
  );
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['weight'] = '1';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
  $handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_slide_counter']['weight'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['timeout'] = '5000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['speed'] = '700';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['delay'] = '0';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['remember_slide_days'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['items_per_slide'] = '1';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['wait_for_image_load_timeout'] = '3000';
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartype'] = 0;
  $handler->display->display_options['style_options']['views_slideshow_cycle']['cleartypenobg'] = 0;
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Slider Image */
  $handler->display->display_options['fields']['field_slider_image']['id'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['table'] = 'field_data_field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['field'] = 'field_slider_image';
  $handler->display->display_options['fields']['field_slider_image']['label'] = '';
  $handler->display->display_options['fields']['field_slider_image']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['field_slider_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_slider_image']['settings'] = array(
    'image_style' => 'slider__main_1410_x_388_',
    'image_link' => '',
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'slider' => 'slider',
  );
  /* Filter criterion: Content: Slider Type (field_slider_type) */
  $handler->display->display_options['filters']['field_slider_type_value']['id'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['table'] = 'field_data_field_slider_type';
  $handler->display->display_options['filters']['field_slider_type_value']['field'] = 'field_slider_type_value';
  $handler->display->display_options['filters']['field_slider_type_value']['value'] = array(
    'Front Banner' => 'Front Banner',
  );
  $handler->display->display_options['block_description'] = 'Slider Block';
  $export['slider'] = $view;

  $view = new view();
  $view->name = 'test_bill_receipt_new';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Test Bill Receipt New';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    6 => '6',
    8 => '8',
    14 => '14',
    13 => '13',
    17 => '17',
    4 => '4',
    15 => '15',
    7 => '7',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '5';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Relationship: Content: Test (field_preferedtest) */
  $handler->display->display_options['relationships']['field_preferedtest_value']['id'] = 'field_preferedtest_value';
  $handler->display->display_options['relationships']['field_preferedtest_value']['table'] = 'field_data_field_preferedtest';
  $handler->display->display_options['relationships']['field_preferedtest_value']['field'] = 'field_preferedtest_value';
  $handler->display->display_options['relationships']['field_preferedtest_value']['delta'] = '-1';
  /* Relationship: Content: Content author */
  $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  $handler->display->display_options['relationships']['uid']['table'] = 'node';
  $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Author uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'node';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['item_id']['exclude'] = TRUE;
  $handler->display->display_options['fields']['item_id']['separator'] = '';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['field_amount_status']['exclude'] = TRUE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field collection item: Test */
  $handler->display->display_options['fields']['field_prefertest']['id'] = 'field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['table'] = 'field_data_field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['field'] = 'field_prefertest';
  $handler->display->display_options['fields']['field_prefertest']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['field_prefertest']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_prefertest']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address_1']['id'] = 'field_address_1';
  $handler->display->display_options['fields']['field_address_1']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_1']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address_1']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_address_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address_1']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address_1']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status_1']['id'] = 'field_amount_status_1';
  $handler->display->display_options['fields']['field_amount_status_1']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status_1']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status_1']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<img src="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/GVMnewbda.jpg">
<br><br> <br><br> 
<table border=\'1\' cellpadding=\'10\' cellspacing=\'0\' width=\'100%\'>
<tr><td colspan=\'2\' align=\'center\'><h2>[field_hospital_clinic]  : Test Bill Receipt</h2></td></tr>
<tr><td width=\'10%\'><strong>Date : </strong> [field_patient_case_detail] 
</td><td  width=\'10%\' align=\'right\'>
<strong>Receipt No : </strong> [item_id]/[nid]
</td></tr><tr><td colspan=\'2\'>
<strong> Received From : </strong>[field_first_name] : [field_patient_login_username] 
</td></tr> <tr><td colspan=\'2\'>
<strong>Paid Amount : </strong> [field_amount] &nbsp; &nbsp; &nbsp; &nbsp; ( [field_amount_status_1] )
</td></tr> <tr><td colspan=\'2\'>
<strong>Payment Mode : </strong> Cash
</td></tr> <tr><td colspan=\'2\'>
<strong>OPD Registration No. : </strong>[field_patient_ipd_registration_n]
</td></tr> <tr><td colspan=\'2\'>
<strong>Purpose : </strong>Test : [field_prefertest]
</td></tr> <tr><td colspan=\'2\'>
<strong>Address :</strong>[field_address_1]   <br><br><br>
</td></tr> <tr><td>
<strong>Received By : </strong> [name]
 </td><td align=\'right\'>
<strong>Authorized by :</strong> [name]
</td></tr>
</table>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Field collection item: Field collection item ID */
  $handler->display->display_options['arguments']['item_id']['id'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['arguments']['item_id']['field'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['arguments']['item_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['item_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['item_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['item_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['item_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['item_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/billreceipttest/%/%';
  $export['test_bill_receipt_new'] = $view;

  $view = new view();
  $view->name = 'therapy_bill_receipt_new';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Therapy Bill Receipt New';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    12 => '12',
    11 => '11',
    16 => '16',
    9 => '9',
    6 => '6',
    8 => '8',
    14 => '14',
    13 => '13',
    17 => '17',
    4 => '4',
    15 => '15',
    7 => '7',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '5';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Relationship: Content: Add Therapy (field_add_therapy_auto) */
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['id'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['table'] = 'field_data_field_add_therapy_auto';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['field'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['delta'] = '-1';
  /* Relationship: Content: Content author */
  $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  $handler->display->display_options['relationships']['uid']['table'] = 'node';
  $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Field: Field: Amount */
  $handler->display->display_options['fields']['field_amount']['id'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['table'] = 'field_data_field_amount';
  $handler->display->display_options['fields']['field_amount']['field'] = 'field_amount';
  $handler->display->display_options['fields']['field_amount']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['fields']['field_amount']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_amount']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Author uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'node';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Field collection item: Field collection item ID */
  $handler->display->display_options['fields']['item_id']['id'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['fields']['item_id']['field'] = 'item_id';
  $handler->display->display_options['fields']['item_id']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['fields']['item_id']['exclude'] = TRUE;
  $handler->display->display_options['fields']['item_id']['separator'] = '';
  /* Field: Field: Status */
  $handler->display->display_options['fields']['field_amount_status']['id'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['field'] = 'field_amount_status';
  $handler->display->display_options['fields']['field_amount_status']['relationship'] = 'field_preferedtest_value';
  $handler->display->display_options['fields']['field_amount_status']['exclude'] = TRUE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['relationship'] = 'uid';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_address']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'short',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Therapy */
  $handler->display->display_options['fields']['field_therapy']['id'] = 'field_therapy';
  $handler->display->display_options['fields']['field_therapy']['table'] = 'field_data_field_therapy';
  $handler->display->display_options['fields']['field_therapy']['field'] = 'field_therapy';
  $handler->display->display_options['fields']['field_therapy']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['fields']['field_therapy']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_therapy']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Field: Doctor */
  $handler->display->display_options['fields']['field_doctor_contacted']['id'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['table'] = 'field_data_field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['field'] = 'field_doctor_contacted';
  $handler->display->display_options['fields']['field_doctor_contacted']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_doctor_contacted']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_doctor_contacted']['delta_offset'] = '0';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_department']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = '';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<img src="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/sites/default/files/GVMnewbda.jpg">
<br><br> <br><br> 
<table width=\'100%\' border=\'1\' cellspacing=\'0\' cellpadding=\'10\'>
<tr valign=\'top\'><td colspan=\'2\' align=\'center\'><h2>[field_hospital_clinic] : Therapy Bill Receipt </h2></td></tr>
<tr valign=\'top\'>
<td width=\'10%\'><strong>Date : </strong> [field_patient_case_detail] &nbsp;</td>
<td  width=\'10%\' align=\'right\'><strong>Receipt No : </strong> [item_id]/[nid]  &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong> Received From : </strong>[field_first_name] : [field_patient_login_username]  &nbsp;</td>
</tr>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong> Paid Amount : </strong> [field_amount]  &nbsp; &nbsp; &nbsp; &nbsp; ( [field_amount_status] ) &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td colspan=\'2\'><strong> Payment Mode : </strong> Cash &nbsp;</td>
</tr>
<tr valign=\'top\'>
<td><strong>OPD Registration No. : </strong> [field_patient_ipd_registration_n] &nbsp;</td><td align=\'right\'><strong>Department : </strong> [field_department]</td>
</tr>
<tr valign=\'top\'>
<td><strong> Purpose : </strong>Therapy : [field_therapy] &nbsp;</td><td align=\'right\'><strong>Doctor : </strong> [field_doctor_contacted]</td>
</tr>
<tr>
<td colspan=\'2\'><strong>Address :</strong> [field_address]  <br><br><br></td>
</tr> 
<tr>
<td><strong>Received By : </strong> [name] </td>
<td align=\'right\'><strong>Authorized by :</strong> [name] </td>
</tr>
</table>';
  $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Field collection item: Field collection item ID */
  $handler->display->display_options['arguments']['item_id']['id'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['table'] = 'field_collection_item';
  $handler->display->display_options['arguments']['item_id']['field'] = 'item_id';
  $handler->display->display_options['arguments']['item_id']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['arguments']['item_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['item_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['item_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['item_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['item_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['item_id']['summary_options']['items_per_page'] = '25';
  /* Contextual filter: Content: Nid */
  $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  $handler->display->display_options['arguments']['nid']['table'] = 'node';
  $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['nid']['default_argument_options']['index'] = '3';
  $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/billreceipttherapy/%/%';
  $export['therapy_bill_receipt_new'] = $view;

  $view = new view();
  $view->name = 'therapy_report_full';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Therapy Report Full';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Therapy Report (Payment Done)';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    5 => '5',
    12 => '12',
    11 => '11',
    9 => '9',
    13 => '13',
    4 => '4',
    15 => '15',
    19 => '19',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'title',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'nid' => 'nid',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'title' => 'title',
    'nothing_1' => 'nothing_1',
    'field_chief_complains' => 'field_chief_complains',
    'field_first_name' => 'field_first_name',
    'field_patient_ipdnewregistration' => 'field_patient_ipdnewregistration',
    'field_patient_ipd_registration_n' => 'field_patient_ipd_registration_n',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_patient_login_username_1' => 'field_patient_login_username_1',
    'field_case_type' => 'field_case_type',
    'field_patient_case_detail' => 'field_patient_case_detail',
    'nothing' => 'nothing',
    'field_preferedtest' => 'field_preferedtest',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_chief_complains' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipdnewregistration' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_ipd_registration_n' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_case_type' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_case_detail' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_preferedtest' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['relationships']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  /* Relationship: Content: Add Therapy (field_add_therapy_auto) */
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['id'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['table'] = 'field_data_field_add_therapy_auto';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['field'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['relationships']['field_add_therapy_auto_value']['delta'] = '-1';
  /* Relationship: Field collection item: Entity with the Add Therapy (field_add_therapy_auto) */
  $handler->display->display_options['relationships']['field_add_therapy_auto_node']['id'] = 'field_add_therapy_auto_node';
  $handler->display->display_options['relationships']['field_add_therapy_auto_node']['table'] = 'field_collection_item';
  $handler->display->display_options['relationships']['field_add_therapy_auto_node']['field'] = 'field_add_therapy_auto_node';
  $handler->display->display_options['relationships']['field_add_therapy_auto_node']['relationship'] = 'field_add_therapy_auto_value';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_hospital_clinic']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Case Title';
  $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Case Title';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[title]  ([nid])';
  /* Field: Content: Chief Complains */
  $handler->display->display_options['fields']['field_chief_complains']['id'] = 'field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['fields']['field_chief_complains']['field'] = 'field_chief_complains';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['relationship'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Content: Patient IPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['id'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['field'] = 'field_patient_ipdnewregistration';
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipdnewregistration']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient OPD Registration No */
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['id'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['field'] = 'field_patient_ipd_registration_n';
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_ipd_registration_n']['settings'] = array(
    'bypass_access' => 0,
    'link' => 1,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login Username ID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Case Type */
  $handler->display->display_options['fields']['field_case_type']['id'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['table'] = 'field_data_field_case_type';
  $handler->display->display_options['fields']['field_case_type']['field'] = 'field_case_type';
  $handler->display->display_options['fields']['field_case_type']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_case_type']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Content: Patient Case Date */
  $handler->display->display_options['fields']['field_patient_case_detail']['id'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['field'] = 'field_patient_case_detail';
  $handler->display->display_options['fields']['field_patient_case_detail']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_case_detail']['settings'] = array(
    'format_type' => 'medium',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<b>[field_hospital_clinic] </b><br><br>
<b>Name : </b>[field_first_name]  <br> 
<b>Login Username | ID : </b> [field_patient_login_username]  |  [field_patient_login_username_1] <br> 
<b>OPD Registration No. : </b> [field_patient_ipd_registration_n]  <br>
<b>IPD Registration No. : </b> [field_patient_ipdnewregistration]  <br>
<b>Case Type : </b> [field_case_type] <br>
<b>Case Date : </b> [field_patient_case_detail]  <br>';
  /* Field: Content: Add Therapy */
  $handler->display->display_options['fields']['field_add_therapy_auto']['id'] = 'field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['table'] = 'field_data_field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['field'] = 'field_add_therapy_auto';
  $handler->display->display_options['fields']['field_add_therapy_auto']['label'] = 'Therapy';
  $handler->display->display_options['fields']['field_add_therapy_auto']['type'] = 'field_collection_table_view';
  $handler->display->display_options['fields']['field_add_therapy_auto']['settings'] = array(
    'add' => 'Add',
    'edit' => 'Edit',
    'translate' => '',
    'delete' => '',
    'description' => 1,
    'view_mode' => 'full',
    'hide_empty' => 1,
    'empty' => 0,
  );
  $handler->display->display_options['fields']['field_add_therapy_auto']['group_rows'] = FALSE;
  $handler->display->display_options['fields']['field_add_therapy_auto']['delta_offset'] = '0';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patient_complains_cases_' => 'patient_complains_cases_',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient IPD Registration No (field_patient_ipdnewregistration) */
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['id'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['table'] = 'field_data_field_patient_ipdnewregistration';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['field'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator_id'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['label'] = 'Patient IPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['operator'] = 'field_patient_ipdnewregistration_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['identifier'] = 'field_patient_ipdnewregistration_target_id';
  $handler->display->display_options['filters']['field_patient_ipdnewregistration_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient OPD Registration No (field_patient_ipd_registration_n) */
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['id'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['table'] = 'field_data_field_patient_ipd_registration_n';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['field'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator_id'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['label'] = 'Patient OPD Registration No';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['operator'] = 'field_patient_ipd_registration_n_target_id_op';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['identifier'] = 'field_patient_ipd_registration_n_target_id';
  $handler->display->display_options['filters']['field_patient_ipd_registration_n_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Case Title';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Chief Complains (field_chief_complains) */
  $handler->display->display_options['filters']['field_chief_complains_value']['id'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['table'] = 'field_data_field_chief_complains';
  $handler->display->display_options['filters']['field_chief_complains_value']['field'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['operator'] = 'word';
  $handler->display->display_options['filters']['field_chief_complains_value']['group'] = 1;
  $handler->display->display_options['filters']['field_chief_complains_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['operator_id'] = 'field_chief_complains_value_op';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['label'] = 'Chief Complains';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['operator'] = 'field_chief_complains_value_op';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['identifier'] = 'field_chief_complains_value';
  $handler->display->display_options['filters']['field_chief_complains_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital/Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value']['id'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator_id'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['label'] = 'Patient Case Date';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['operator'] = 'field_patient_case_detail_value_op';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['identifier'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  $handler->display->display_options['filters']['field_patient_case_detail_value']['form_type'] = 'date_popup';
  $handler->display->display_options['filters']['field_patient_case_detail_value']['year_range'] = '-10:+1';
  /* Filter criterion: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator_id'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['label'] = 'Patient Login Unique User ID';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['description'] = 'eg : 24';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['operator'] = 'field_patient_login_username_target_id_op';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['identifier'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['filters']['field_patient_login_username_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Field: Status (field_amount_status) */
  $handler->display->display_options['filters']['field_amount_status_value']['id'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['table'] = 'field_data_field_amount_status';
  $handler->display->display_options['filters']['field_amount_status_value']['field'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['filters']['field_amount_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_amount_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator_id'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['label'] = 'Therapy Payment Status';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['operator'] = 'field_amount_status_value_op';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['identifier'] = 'field_amount_status_value';
  $handler->display->display_options['filters']['field_amount_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
  );
  /* Filter criterion: Field: Amount (field_amount) */
  $handler->display->display_options['filters']['field_amount_value']['id'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['table'] = 'field_data_field_amount';
  $handler->display->display_options['filters']['field_amount_value']['field'] = 'field_amount_value';
  $handler->display->display_options['filters']['field_amount_value']['relationship'] = 'field_add_therapy_auto_value';
  $handler->display->display_options['filters']['field_amount_value']['operator'] = '>';
  $handler->display->display_options['filters']['field_amount_value']['value']['value'] = '0';
  /* Filter criterion: Content: Patient Case Date (field_patient_case_detail) */
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['id'] = 'field_patient_case_detail_value_1';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['table'] = 'field_data_field_patient_case_detail';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['field'] = 'field_patient_case_detail_value';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_patient_case_detail_value_1']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/therapy-report-full';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Paid Therapy';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['therapy_report_full'] = $view;

  $view = new view();
  $view->name = 'therapy_template';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Therapy Template';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Therapy Template';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '3';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Therapy Template';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Therapy Required For Disease */
  $handler->display->display_options['fields']['field_therapy_used_for_disease']['id'] = 'field_therapy_used_for_disease';
  $handler->display->display_options['fields']['field_therapy_used_for_disease']['table'] = 'field_data_field_therapy_used_for_disease';
  $handler->display->display_options['fields']['field_therapy_used_for_disease']['field'] = 'field_therapy_used_for_disease';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'therapy_template' => 'therapy_template',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/hospital/%/therapy-template';

  /* Display: Content pane */
  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
  $handler->display->display_options['inherit_panels_path'] = '1';
  $export['therapy_template'] = $view;

  $view = new view();
  $view->name = 'user_for_work_checklist';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'User for work checklist';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'User for work checklist';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    2 => '2',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['operator'] = 'not';
  $handler->display->display_options['filters']['rid']['value'] = array(
    3 => '3',
    14 => '14',
  );
  /* Filter criterion: User: The user ID */
  $handler->display->display_options['filters']['uid_raw']['id'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['table'] = 'users';
  $handler->display->display_options['filters']['uid_raw']['field'] = 'uid_raw';
  $handler->display->display_options['filters']['uid_raw']['operator'] = '>';
  $handler->display->display_options['filters']['uid_raw']['value']['value'] = '2';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/user-for-work-checklist';

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'uid' => 'uid',
    'name' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $export['user_for_work_checklist'] = $view;

  $view = new view();
  $view->name = 'user_wise_ipd_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'User wise IPD Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'IPD Detail';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add IPD Patient Detail';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds">Add IPD Patient Detail</a><br><br>';
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient Detail';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'Patient Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Fieldset';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<fieldset class=\'form-wrapper container-inline\' id=\'edit-options\'><legend><span class=\'fieldset-legend\'></span></legend><div class=\'fieldset-wrapper\'>';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['relationships']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['relationships']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (IPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'IPD';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient_1']['id'] = 'field_patient_1';
  $handler->display->display_options['fields']['field_patient_1']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient_1']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient_1']['label'] = 'OPD';
  $handler->display->display_options['fields']['field_patient_1']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient_1']['delta_offset'] = '0';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Date of Discharge */
  $handler->display->display_options['fields']['field_date_of_discharge']['id'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['field'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'Bed Status';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Case History';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="#">Manage</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Room/Ward';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date of Discharge (field_date_of_discharge) */
  $handler->display->display_options['filters']['field_date_of_discharge_value']['id'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['field'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator_id'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['label'] = 'Date of Discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['identifier'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_discharge_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized Registration No (IPD)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/ipd-patients/%';

  /* Display: Data export */
  $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Automatic (Registration No)';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = 'IP[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient']['id'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient']['label'] = 'Patient';
  $handler->display->display_options['fields']['field_patient']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_patient']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  $handler->display->display_options['fields']['field_patient']['delta_offset'] = '0';
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['type'] = 'entityreference_entity_view';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'view_mode' => 'default',
    'links' => 1,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Shifting / Discharge';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  $handler->display->display_options['path'] = 'ipd-patients-csv';
  $handler->display->display_options['displays'] = array(
    'default' => 'default',
    'page' => 'page',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'IPD Patients Discharge Summary';
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_department',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'nid' => 'nid',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'field_room' => 'field_room',
    'field_bed' => 'field_bed',
    'nothing_1' => 'nothing_1',
    'title' => 'title',
    'field_patient_1' => 'field_patient_1',
    'field_age' => 'field_age',
    'field_gender' => 'field_gender',
    'field_address_administrative_area' => 'field_address_administrative_area',
    'field_first_name' => 'field_first_name',
    'field_patient_login_username' => 'field_patient_login_username',
    'field_date_of_shifting' => 'field_date_of_shifting',
    'field_date_of_discharge' => 'field_date_of_discharge',
    'nothing' => 'nothing',
    'nothing_2' => 'nothing_2',
    'edit_node' => 'edit_node',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_room' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_bed' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_age' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_gender' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_address_administrative_area' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_shifting' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_discharge' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_2' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Fieldset';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<fieldset class=\'form-wrapper container-inline\' id=\'edit-options\'><legend><span class=\'fieldset-legend\'></span></legend><div class=\'fieldset-wrapper\'>';
  $handler->display->display_options['defaults']['relationships'] = FALSE;
  /* Relationship: Entity Reference: Referenced Entity */
  $handler->display->display_options['relationships']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['relationships']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['relationships']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Room */
  $handler->display->display_options['fields']['field_room']['id'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['table'] = 'field_data_field_room';
  $handler->display->display_options['fields']['field_room']['field'] = 'field_room';
  $handler->display->display_options['fields']['field_room']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Bed No */
  $handler->display->display_options['fields']['field_bed']['id'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['table'] = 'field_data_field_bed';
  $handler->display->display_options['fields']['field_bed']['field'] = 'field_bed';
  $handler->display->display_options['fields']['field_bed']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (IPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'IPD';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Patient (OPD Registration No) */
  $handler->display->display_options['fields']['field_patient_1']['id'] = 'field_patient_1';
  $handler->display->display_options['fields']['field_patient_1']['table'] = 'field_data_field_patient';
  $handler->display->display_options['fields']['field_patient_1']['field'] = 'field_patient';
  $handler->display->display_options['fields']['field_patient_1']['label'] = 'OPD';
  $handler->display->display_options['fields']['field_patient_1']['settings'] = array(
    'link' => 0,
  );
  $handler->display->display_options['fields']['field_patient_1']['delta_offset'] = '0';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Date Of Discharge */
  $handler->display->display_options['fields']['field_date_of_shifting']['id'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['field'] = 'field_date_of_shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['fields']['field_date_of_shifting']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Date of Discharge */
  $handler->display->display_options['fields']['field_date_of_discharge']['id'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['field'] = 'field_date_of_discharge';
  $handler->display->display_options['fields']['field_date_of_discharge']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
    'show_repeat_rule' => 'show',
  );
  /* Field: Content: Discharged */
  $handler->display->display_options['fields']['field_discharged']['id'] = 'field_discharged';
  $handler->display->display_options['fields']['field_discharged']['table'] = 'field_data_field_discharged';
  $handler->display->display_options['fields']['field_discharged']['field'] = 'field_discharged';
  /* Field: Content: Room Status */
  $handler->display->display_options['fields']['field_room_status']['id'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['table'] = 'field_data_field_room_status';
  $handler->display->display_options['fields']['field_room_status']['field'] = 'field_room_status';
  $handler->display->display_options['fields']['field_room_status']['relationship'] = 'field_bed_target_id';
  $handler->display->display_options['fields']['field_room_status']['label'] = 'Bed Status';
  $handler->display->display_options['fields']['field_room_status']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href=\'ipd/print/[nid]\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Case History';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="#">Manage</a>';
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'ipd_patients' => 'ipd_patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Hospital/Clinic (field_hospital_clinic) */
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['id'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['field'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator_id'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['label'] = 'Hospital / Clinic';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['operator'] = 'field_hospital_clinic_target_id_op';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['identifier'] = 'field_hospital_clinic_target_id';
  $handler->display->display_options['filters']['field_hospital_clinic_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Room (field_room) */
  $handler->display->display_options['filters']['field_room_target_id']['id'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['table'] = 'field_data_field_room';
  $handler->display->display_options['filters']['field_room_target_id']['field'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_room_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator_id'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['label'] = 'Room/Ward';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['operator'] = 'field_room_target_id_op';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['identifier'] = 'field_room_target_id';
  $handler->display->display_options['filters']['field_room_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Bed No (field_bed) */
  $handler->display->display_options['filters']['field_bed_target_id']['id'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['table'] = 'field_data_field_bed';
  $handler->display->display_options['filters']['field_bed_target_id']['field'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_bed_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator_id'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['label'] = 'Bed Name / No';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['operator'] = 'field_bed_target_id_op';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['identifier'] = 'field_bed_target_id';
  $handler->display->display_options['filters']['field_bed_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Patient (OPD Registration No) (field_patient) */
  $handler->display->display_options['filters']['field_patient_target_id']['id'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['table'] = 'field_data_field_patient';
  $handler->display->display_options['filters']['field_patient_target_id']['field'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_patient_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator_id'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['operator'] = 'field_patient_target_id_op';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['identifier'] = 'field_patient_target_id';
  $handler->display->display_options['filters']['field_patient_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value']['id'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator_id'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['label'] = 'Date Of Admission / Shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['operator'] = 'field_date_of_shifting_value_op';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['identifier'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_shifting_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date of Discharge (field_date_of_discharge) */
  $handler->display->display_options['filters']['field_date_of_discharge_value']['id'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['table'] = 'field_data_field_date_of_discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['field'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator_id'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['label'] = 'Date of Discharge';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['operator'] = 'field_date_of_discharge_value_op';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['identifier'] = 'field_date_of_discharge_value';
  $handler->display->display_options['filters']['field_date_of_discharge_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_discharge_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date Of Discharge (field_date_of_shifting) */
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['id'] = 'field_date_of_shifting_value_1';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['table'] = 'field_data_field_date_of_shifting';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['field'] = 'field_date_of_shifting_value';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_shifting_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/ipd-patients-discharge-summary/%';
  $export['user_wise_ipd_detail'] = $view;

  $view = new view();
  $view->name = 'user_wise_opd_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'User wise OPD Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'OPD Detail';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    8 => '8',
    9 => '9',
    11 => '11',
    5 => '5',
    4 => '4',
    10 => '10',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '20';
  $handler->display->display_options['style_plugin'] = 'table';
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'Add Patients';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patients\'>Add OPD Patients</a><br><hr><br>';
  /* Footer: Global: Unfiltered text */
  $handler->display->display_options['footer']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['footer']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['footer']['area_text_custom']['label'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  $handler->display->display_options['footer']['area_text_custom']['content'] = 'Note : Click the csv button to export data of this report in csv / excel format';
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nothing_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = 'P[nid]';
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Login Username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Manage Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[title_1]">Add case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?opdr=[title_1]">View case</a><br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds?opdr=[title_1]">Manage IPD</a>';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Contextual filter: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_action'] = 'default';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary_options']['items_per_page'] = '25';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: First Name (field_first_name) */
  $handler->display->display_options['filters']['field_first_name_value']['id'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['filters']['field_first_name_value']['field'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_first_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator_id'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['label'] = 'First Name';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['identifier'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Middle Name (field_middle_name) */
  $handler->display->display_options['filters']['field_middle_name_value']['id'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['filters']['field_middle_name_value']['field'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_middle_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator_id'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['label'] = 'Middle Name';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['identifier'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Last Name (field_last_name) */
  $handler->display->display_options['filters']['field_last_name_value']['id'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['filters']['field_last_name_value']['field'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_last_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator_id'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['label'] = 'Last Name';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['identifier'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Father Name (field_father_name) */
  $handler->display->display_options['filters']['field_father_name_value']['id'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['filters']['field_father_name_value']['field'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_father_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator_id'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['label'] = 'Father Name';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['identifier'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['value'] = array(
    'Male' => 'Male',
    'Female' => 'Female',
  );
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 30';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic_1' => 'field_hospital_clinic_1',
    'field_first_name' => 'field_first_name',
    'field_middle_name' => 'field_middle_name',
    'field_last_name' => 'field_last_name',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'nid' => 'nid',
    'nothing_1' => 'nothing_1',
    'title' => 'title',
    'field_patient_login_username_1' => 'field_patient_login_username_1',
    'field_patient_login_username' => 'field_patient_login_username',
    'nothing' => 'nothing',
    'field_father_name' => 'field_father_name',
    'field_age' => 'field_age',
    'field_gender' => 'field_gender',
    'field_date_of_admission' => 'field_date_of_admission',
    'title_1' => 'title_1',
    'edit_node' => 'edit_node',
    'nothing_2' => 'nothing_2',
    'nothing_3' => 'nothing_3',
    'field_serial_no' => 'field_serial_no',
    'field_year_serial_no' => 'field_year_serial_no',
    'field_address_administrative_area' => 'field_address_administrative_area',
  );
  $handler->display->display_options['style_options']['class'] = '';
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_middle_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_last_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_father_name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_age' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_gender' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_admission' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_2' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_3' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_serial_no' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_year_serial_no' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_address_administrative_area' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login UserID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Login Username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\' target=\'_blank\'>View</a>  |  <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/printview/[nid]\' target=\'_blank\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Manage Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[nid]&field_patient_login_username=[field_patient_login_username_1]">Add case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?field_patient_ipd_registration_n_target_id=[nid]&opdr=[title_1]">View case</a><br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/[field_hospital_clinic_1]?opdr=[title_1]">Admit patients</a>';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['group'] = 1;
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized registration number';
  $handler->display->display_options['filters']['nid']['expose']['description'] = 'enter only numeric value to search (eg : 28308)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['id'] = 'field_date_of_admission_value_1';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/opd-patients/%';

  /* Display: Data export */
  $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  $handler->display->display_options['pager']['type'] = 'none';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  $handler->display->display_options['style_options']['provide_file'] = 0;
  $handler->display->display_options['style_options']['parent_sort'] = 1;
  $handler->display->display_options['style_options']['quote'] = 1;
  $handler->display->display_options['style_options']['trim'] = 0;
  $handler->display->display_options['style_options']['replace_newlines'] = 0;
  $handler->display->display_options['style_options']['newline_token'] = '1';
  $handler->display->display_options['style_options']['header'] = 1;
  $handler->display->display_options['style_options']['keep_html'] = 0;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Automatic (Registration No)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = 'P[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'Registration No';
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Field: First Name (field_first_name) */
  $handler->display->display_options['filters']['field_first_name_value']['id'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['filters']['field_first_name_value']['field'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_first_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator_id'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['label'] = 'First Name';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_first_name_value']['expose']['operator'] = 'field_first_name_value_op';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['identifier'] = 'field_first_name_value';
  $handler->display->display_options['filters']['field_first_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Middle Name (field_middle_name) */
  $handler->display->display_options['filters']['field_middle_name_value']['id'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['filters']['field_middle_name_value']['field'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_middle_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator_id'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['label'] = 'Middle Name';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['operator'] = 'field_middle_name_value_op';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['identifier'] = 'field_middle_name_value';
  $handler->display->display_options['filters']['field_middle_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Last Name (field_last_name) */
  $handler->display->display_options['filters']['field_last_name_value']['id'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['filters']['field_last_name_value']['field'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_last_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator_id'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['label'] = 'Last Name';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_last_name_value']['expose']['operator'] = 'field_last_name_value_op';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['identifier'] = 'field_last_name_value';
  $handler->display->display_options['filters']['field_last_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Father Name (field_father_name) */
  $handler->display->display_options['filters']['field_father_name_value']['id'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['filters']['field_father_name_value']['field'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['group'] = 1;
  $handler->display->display_options['filters']['field_father_name_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator_id'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['label'] = 'Father Name';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_father_name_value']['expose']['operator'] = 'field_father_name_value_op';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['identifier'] = 'field_father_name_value';
  $handler->display->display_options['filters']['field_father_name_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['value'] = array(
    'Male' => 'Male',
    'Female' => 'Female',
  );
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'opd-patients-csv';
  $handler->display->display_options['displays'] = array(
    'default' => 'default',
    'page' => 'page',
  );
  $handler->display->display_options['use_batch'] = 'batch';
  $handler->display->display_options['segment_size'] = '100';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'OPD Summary';
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 30';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['grouping'] = array(
    0 => array(
      'field' => 'field_department',
      'rendered' => 1,
      'rendered_strip' => 0,
    ),
  );
  $handler->display->display_options['style_options']['columns'] = array(
    'field_hospital_clinic_1' => 'field_hospital_clinic_1',
    'field_first_name' => 'field_first_name',
    'field_middle_name' => 'field_middle_name',
    'field_last_name' => 'field_last_name',
    'field_hospital_clinic' => 'field_hospital_clinic',
    'field_department' => 'field_department',
    'nid' => 'nid',
    'nothing_1' => 'nothing_1',
    'title' => 'title',
    'field_patient_login_username_1' => 'field_patient_login_username_1',
    'field_patient_login_username' => 'field_patient_login_username',
    'nothing' => 'nothing',
    'field_father_name' => 'field_father_name',
    'field_age' => 'field_age',
    'field_gender' => 'field_gender',
    'field_date_of_admission' => 'field_date_of_admission',
    'title_1' => 'title_1',
    'edit_node' => 'edit_node',
    'nothing_2' => 'nothing_2',
    'nothing_3' => 'nothing_3',
    'field_serial_no' => 'field_serial_no',
    'field_year_serial_no' => 'field_year_serial_no',
    'field_address_administrative_area' => 'field_address_administrative_area',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'field_hospital_clinic_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_middle_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_last_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_hospital_clinic' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_department' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nid' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username_1' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_patient_login_username' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_father_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_age' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_gender' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date_of_admission' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'title_1' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_2' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_3' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_serial_no' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_year_serial_no' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_address_administrative_area' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'Hospital / Clinic NID';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'Patient ID';
  $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Centralized registration number (OPD)';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'OPD Registration No';
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'Patient Login UserID';
  $handler->display->display_options['fields']['field_patient_login_username_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'Login Username';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'link' => 1,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\' target=\'_blank\'>View</a>  |  <a href=\'https://ayurvishvabharti.org/ayurvishvabharti/admin/opd/printview/[nid]\' target=\'_blank\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Manage Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[nid]&field_patient_login_username=[field_patient_login_username_1]">Add case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?field_patient_ipd_registration_n_target_id=[nid]&opdr=[title_1]">View case</a><br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/[field_hospital_clinic_1]?opdr=[title_1]">Admit patients</a>';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['group'] = 1;
  $handler->display->display_options['filters']['nid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['nid']['expose']['operator_id'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['label'] = 'Centralized registration number';
  $handler->display->display_options['filters']['nid']['expose']['description'] = 'enter only numeric value to search (eg : 28308)';
  $handler->display->display_options['filters']['nid']['expose']['operator'] = 'nid_op';
  $handler->display->display_options['filters']['nid']['expose']['identifier'] = 'nid';
  $handler->display->display_options['filters']['nid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['group'] = 1;
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'OPD Registration No';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Serial No (field_serial_no) */
  $handler->display->display_options['filters']['field_serial_no_value']['id'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['filters']['field_serial_no_value']['field'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator_id'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['label'] = 'Serial No';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['operator'] = 'field_serial_no_value_op';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['identifier'] = 'field_serial_no_value';
  $handler->display->display_options['filters']['field_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Year Serial No (field_year_serial_no) */
  $handler->display->display_options['filters']['field_year_serial_no_value']['id'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['filters']['field_year_serial_no_value']['field'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['group'] = 1;
  $handler->display->display_options['filters']['field_year_serial_no_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator_id'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['label'] = 'Year Serial No';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['operator'] = 'field_year_serial_no_value_op';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['identifier'] = 'field_year_serial_no_value';
  $handler->display->display_options['filters']['field_year_serial_no_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Field: Gender (field_gender) */
  $handler->display->display_options['filters']['field_gender_value']['id'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['table'] = 'field_data_field_gender';
  $handler->display->display_options['filters']['field_gender_value']['field'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['value'] = array(
    'Male' => 'Male',
    'Female' => 'Female',
  );
  $handler->display->display_options['filters']['field_gender_value']['group'] = 1;
  $handler->display->display_options['filters']['field_gender_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator_id'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['label'] = 'Gender';
  $handler->display->display_options['filters']['field_gender_value']['expose']['operator'] = 'field_gender_value_op';
  $handler->display->display_options['filters']['field_gender_value']['expose']['identifier'] = 'field_gender_value';
  $handler->display->display_options['filters']['field_gender_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['id'] = 'field_date_of_admission_value_1';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['operator'] = '>=';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['value']['value'] = '2025-01-01';
  $handler->display->display_options['filters']['field_date_of_admission_value_1']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'admin/opd-patients-summary/%';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '30';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
  $handler->display->display_options['pager']['options']['expose']['items_per_page_options'] = '5, 10, 20, 40, 60, 30';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['footer'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic_1']['id'] = 'field_hospital_clinic_1';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['label'] = 'hospitalid';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_hospital_clinic_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  /* Field: Field: Middle Name */
  $handler->display->display_options['fields']['field_middle_name']['id'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['table'] = 'field_data_field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['field'] = 'field_middle_name';
  $handler->display->display_options['fields']['field_middle_name']['exclude'] = TRUE;
  /* Field: Field: Last Name */
  $handler->display->display_options['fields']['field_last_name']['id'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['table'] = 'field_data_field_last_name';
  $handler->display->display_options['fields']['field_last_name']['field'] = 'field_last_name';
  $handler->display->display_options['fields']['field_last_name']['exclude'] = TRUE;
  /* Field: Content: Hospital/Clinic */
  $handler->display->display_options['fields']['field_hospital_clinic']['id'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['table'] = 'field_data_field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['field'] = 'field_hospital_clinic';
  $handler->display->display_options['fields']['field_hospital_clinic']['label'] = 'hospital';
  $handler->display->display_options['fields']['field_hospital_clinic']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Content: Department */
  $handler->display->display_options['fields']['field_department']['id'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['table'] = 'field_data_field_department';
  $handler->display->display_options['fields']['field_department']['field'] = 'field_department';
  $handler->display->display_options['fields']['field_department']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Nid */
  $handler->display->display_options['fields']['nid']['id'] = 'nid';
  $handler->display->display_options['fields']['nid']['table'] = 'node';
  $handler->display->display_options['fields']['nid']['field'] = 'nid';
  $handler->display->display_options['fields']['nid']['label'] = 'nid';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'centralizedregistrationnumber';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '[nid]';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = 'opdregistrationno';
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username_1']['id'] = 'field_patient_login_username_1';
  $handler->display->display_options['fields']['field_patient_login_username_1']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username_1']['label'] = 'patientloginuserid';
  $handler->display->display_options['fields']['field_patient_login_username_1']['type'] = 'entityreference_entity_id';
  $handler->display->display_options['fields']['field_patient_login_username_1']['settings'] = array(
    'link' => 0,
  );
  /* Field: Content: Patient Login Username */
  $handler->display->display_options['fields']['field_patient_login_username']['id'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['field'] = 'field_patient_login_username';
  $handler->display->display_options['fields']['field_patient_login_username']['label'] = 'loginusername';
  $handler->display->display_options['fields']['field_patient_login_username']['settings'] = array(
    'bypass_access' => 0,
    'link' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'pname';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[field_first_name] [field_middle_name] [field_last_name]';
  /* Field: Content: Father Name */
  $handler->display->display_options['fields']['field_father_name']['id'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['table'] = 'field_data_field_father_name';
  $handler->display->display_options['fields']['field_father_name']['field'] = 'field_father_name';
  $handler->display->display_options['fields']['field_father_name']['label'] = 'Father';
  /* Field: Content: Age */
  $handler->display->display_options['fields']['field_age']['id'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['table'] = 'field_data_field_age';
  $handler->display->display_options['fields']['field_age']['field'] = 'field_age';
  $handler->display->display_options['fields']['field_age']['settings'] = array(
    'thousand_separator' => '',
    'prefix_suffix' => 1,
  );
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: Content: Date */
  $handler->display->display_options['fields']['field_date_of_admission']['id'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['field'] = 'field_date_of_admission';
  $handler->display->display_options['fields']['field_date_of_admission']['settings'] = array(
    'format_type' => 'short',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title_1']['id'] = 'title_1';
  $handler->display->display_options['fields']['title_1']['table'] = 'node';
  $handler->display->display_options['fields']['title_1']['field'] = 'title';
  $handler->display->display_options['fields']['title_1']['label'] = 'Title (RID)';
  $handler->display->display_options['fields']['title_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
  /* Field: Content: Link to edit content */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Print';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/print/[nid]\' target=\'_blank\'>View</a>  |  <a href=\'https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/opd/printview/[nid]\' target=\'_blank\'>Print</a>';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_3']['id'] = 'nothing_3';
  $handler->display->display_options['fields']['nothing_3']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_3']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_3']['label'] = 'Manage Patient Case';
  $handler->display->display_options['fields']['nothing_3']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/node/add/patient-complains-cases-?field_patient_ipd_registration_n=[nid]&field_patient_login_username=[field_patient_login_username_1]">Add case</a> | 
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/patient-case-detail?field_patient_ipd_registration_n_target_id=[nid]&opdr=[title_1]">View case</a><br>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/admin/manage-beds/[field_hospital_clinic_1]?opdr=[title_1]">Admit patients</a>';
  /* Field: Content: Serial No */
  $handler->display->display_options['fields']['field_serial_no']['id'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['table'] = 'field_data_field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['field'] = 'field_serial_no';
  $handler->display->display_options['fields']['field_serial_no']['label'] = 'serialno';
  /* Field: Content: Year Serial No */
  $handler->display->display_options['fields']['field_year_serial_no']['id'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['table'] = 'field_data_field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['field'] = 'field_year_serial_no';
  $handler->display->display_options['fields']['field_year_serial_no']['label'] = 'yearserialno';
  /* Field: Field: Address - Administrative area (i.e. State / Province) */
  $handler->display->display_options['fields']['field_address_administrative_area']['id'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address_administrative_area']['field'] = 'field_address_administrative_area';
  $handler->display->display_options['fields']['field_address_administrative_area']['label'] = 'Address';
  $handler->display->display_options['fields']['field_address_administrative_area']['display_name'] = 1;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  $handler->display->display_options['defaults']['arguments'] = FALSE;
  /* Contextual filter: Content: Patient Login Username (field_patient_login_username) */
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['id'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['table'] = 'field_data_field_patient_login_username';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['field'] = 'field_patient_login_username_target_id';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_type'] = 'raw';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['default_argument_options']['index'] = '2';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['number_of_records'] = '0';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary']['format'] = 'default_summary';
  $handler->display->display_options['arguments']['field_patient_login_username_target_id']['summary_options']['items_per_page'] = '25';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'patients' => 'patients',
  );
  $handler->display->display_options['filters']['type']['group'] = 1;
  /* Filter criterion: Content: Department (field_department) */
  $handler->display->display_options['filters']['field_department_target_id']['id'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['table'] = 'field_data_field_department';
  $handler->display->display_options['filters']['field_department_target_id']['field'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['group'] = 1;
  $handler->display->display_options['filters']['field_department_target_id']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator_id'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['operator'] = 'field_department_target_id_op';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['identifier'] = 'field_department_target_id';
  $handler->display->display_options['filters']['field_department_target_id']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    10 => 0,
    11 => 0,
    6 => 0,
    9 => 0,
    8 => 0,
    5 => 0,
    7 => 0,
    12 => 0,
  );
  /* Filter criterion: Content: Date (field_date_of_admission) */
  $handler->display->display_options['filters']['field_date_of_admission_value']['id'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['table'] = 'field_data_field_date_of_admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['field'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_of_admission_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator_id'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['label'] = 'Date of Admission';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['operator'] = 'field_date_of_admission_value_op';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['identifier'] = 'field_date_of_admission_value';
  $handler->display->display_options['filters']['field_date_of_admission_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    6 => 0,
    5 => 0,
  );
  $handler->display->display_options['filters']['field_date_of_admission_value']['form_type'] = 'date_popup';
  $handler->display->display_options['path'] = 'opd_list_mobile_view.json';
  $export['user_wise_opd_detail'] = $view;

  $view = new view();
  $view->name = 'users';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'users';
  $view->human_name = 'Users';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Users';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
    25 => '25',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '60';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'name' => 'name',
    'field_first_name' => 'field_first_name',
    'mail' => 'mail',
    'field_gender' => 'field_gender',
    'status' => 'status',
    'rid' => 'rid',
    'created' => 'created',
    'access' => 'access',
    'edit_node' => 'edit_node',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_first_name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'mail' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_gender' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'status' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'rid' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'created' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'access' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_node' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['label'] = 'add user';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<ul class="action-links">
<li><a href="people/create" target="_blank">Add User</a></li>
</ul>';
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: User: Active status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'users';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'Active';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'Created on';
  $handler->display->display_options['fields']['created']['date_format'] = 'long';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'search_api_facetapi_YEAR';
  $handler->display->display_options['fields']['created']['format_date_sql'] = 0;
  /* Field: User: Last access */
  $handler->display->display_options['fields']['access']['id'] = 'access';
  $handler->display->display_options['fields']['access']['table'] = 'users';
  $handler->display->display_options['fields']['access']['field'] = 'access';
  $handler->display->display_options['fields']['access']['date_format'] = 'time ago';
  $handler->display->display_options['fields']['access']['second_date_format'] = 'search_api_facetapi_YEAR';
  $handler->display->display_options['fields']['access']['format_date_sql'] = 0;
  /* Field: User: Link to edit user */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['label'] = 'Edit';
  /* Sort criterion: User: Created date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'users';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: User: Active status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'users';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = '1';
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  $handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
  $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  $handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
  $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid']['id'] = 'rid';
  $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid']['field'] = 'rid';
  $handler->display->display_options['filters']['rid']['value'] = array(
    4 => '4',
    5 => '5',
    6 => '6',
    7 => '7',
    8 => '8',
    9 => '9',
    10 => '10',
    11 => '11',
    12 => '12',
    13 => '13',
    15 => '15',
    16 => '16',
    17 => '17',
    18 => '18',
    19 => '19',
    20 => '20',
    21 => '21',
    22 => '22',
    24 => '24',
  );
  $handler->display->display_options['filters']['rid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['label'] = 'Roles';
  $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  /* Filter criterion: User: Roles */
  $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
  $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
  $handler->display->display_options['filters']['rid_1']['field'] = 'rid';
  $handler->display->display_options['filters']['rid_1']['operator'] = 'not';
  $handler->display->display_options['filters']['rid_1']['value'] = array(
    3 => '3',
    14 => '14',
    23 => '23',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/all-users';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Manage Users';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: User: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'users';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'username';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
  /* Field: Field: First Name */
  $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  $handler->display->display_options['fields']['field_first_name']['label'] = 'fname';
  /* Field: User: E-mail */
  $handler->display->display_options['fields']['mail']['id'] = 'mail';
  $handler->display->display_options['fields']['mail']['table'] = 'users';
  $handler->display->display_options['fields']['mail']['field'] = 'mail';
  $handler->display->display_options['fields']['mail']['label'] = 'email';
  $handler->display->display_options['fields']['mail']['link_to_user'] = '0';
  /* Field: Field: Gender */
  $handler->display->display_options['fields']['field_gender']['id'] = 'field_gender';
  $handler->display->display_options['fields']['field_gender']['table'] = 'field_data_field_gender';
  $handler->display->display_options['fields']['field_gender']['field'] = 'field_gender';
  /* Field: User: Active status */
  $handler->display->display_options['fields']['status']['id'] = 'status';
  $handler->display->display_options['fields']['status']['table'] = 'users';
  $handler->display->display_options['fields']['status']['field'] = 'status';
  $handler->display->display_options['fields']['status']['label'] = 'Active';
  $handler->display->display_options['fields']['status']['not'] = 0;
  /* Field: User: Roles */
  $handler->display->display_options['fields']['rid']['id'] = 'rid';
  $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  $handler->display->display_options['fields']['rid']['field'] = 'rid';
  /* Field: User: Created date */
  $handler->display->display_options['fields']['created']['id'] = 'created';
  $handler->display->display_options['fields']['created']['table'] = 'users';
  $handler->display->display_options['fields']['created']['field'] = 'created';
  $handler->display->display_options['fields']['created']['label'] = 'createdon';
  $handler->display->display_options['fields']['created']['date_format'] = 'long';
  $handler->display->display_options['fields']['created']['second_date_format'] = 'search_api_facetapi_YEAR';
  $handler->display->display_options['fields']['created']['format_date_sql'] = 0;
  /* Field: User: Last access */
  $handler->display->display_options['fields']['access']['id'] = 'access';
  $handler->display->display_options['fields']['access']['table'] = 'users';
  $handler->display->display_options['fields']['access']['field'] = 'access';
  $handler->display->display_options['fields']['access']['label'] = 'lastaccess';
  $handler->display->display_options['fields']['access']['date_format'] = 'time ago';
  $handler->display->display_options['fields']['access']['second_date_format'] = 'search_api_facetapi_YEAR';
  $handler->display->display_options['fields']['access']['format_date_sql'] = 0;
  /* Field: Field: Address */
  $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
  $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
  $handler->display->display_options['fields']['field_address']['click_sort_column'] = 'country';
  $handler->display->display_options['fields']['field_address']['settings'] = array(
    'use_widget_handlers' => 1,
    'format_handlers' => array(
      'address' => 'address',
    ),
  );
  /* Field: User: Allergic To */
  $handler->display->display_options['fields']['field_allergic_to']['id'] = 'field_allergic_to';
  $handler->display->display_options['fields']['field_allergic_to']['table'] = 'field_data_field_allergic_to';
  $handler->display->display_options['fields']['field_allergic_to']['field'] = 'field_allergic_to';
  $handler->display->display_options['fields']['field_allergic_to']['label'] = 'allergicto';
  /* Field: User: Blood Group */
  $handler->display->display_options['fields']['field_blood_group']['id'] = 'field_blood_group';
  $handler->display->display_options['fields']['field_blood_group']['table'] = 'field_data_field_blood_group';
  $handler->display->display_options['fields']['field_blood_group']['field'] = 'field_blood_group';
  $handler->display->display_options['fields']['field_blood_group']['label'] = 'bloodgroup';
  $handler->display->display_options['fields']['field_blood_group']['type'] = 'taxonomy_term_reference_plain';
  /* Field: User: Date of Birth */
  $handler->display->display_options['fields']['field_date_of_birth']['id'] = 'field_date_of_birth';
  $handler->display->display_options['fields']['field_date_of_birth']['table'] = 'field_data_field_date_of_birth';
  $handler->display->display_options['fields']['field_date_of_birth']['field'] = 'field_date_of_birth';
  $handler->display->display_options['fields']['field_date_of_birth']['label'] = 'dob';
  $handler->display->display_options['fields']['field_date_of_birth']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: User: Mobile No */
  $handler->display->display_options['fields']['field_contact_no']['id'] = 'field_contact_no';
  $handler->display->display_options['fields']['field_contact_no']['table'] = 'field_data_field_contact_no';
  $handler->display->display_options['fields']['field_contact_no']['field'] = 'field_contact_no';
  $handler->display->display_options['fields']['field_contact_no']['label'] = 'mobile';
  /* Field: User: Nationality */
  $handler->display->display_options['fields']['field_nationality']['id'] = 'field_nationality';
  $handler->display->display_options['fields']['field_nationality']['table'] = 'field_data_field_nationality';
  $handler->display->display_options['fields']['field_nationality']['field'] = 'field_nationality';
  $handler->display->display_options['fields']['field_nationality']['label'] = 'nationality';
  /* Field: User: Uid */
  $handler->display->display_options['fields']['uid']['id'] = 'uid';
  $handler->display->display_options['fields']['uid']['table'] = 'users';
  $handler->display->display_options['fields']['uid']['field'] = 'uid';
  $handler->display->display_options['fields']['uid']['label'] = 'uid';
  $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  /* Field: User: Picture */
  $handler->display->display_options['fields']['picture']['id'] = 'picture';
  $handler->display->display_options['fields']['picture']['table'] = 'users';
  $handler->display->display_options['fields']['picture']['field'] = 'picture';
  $handler->display->display_options['fields']['picture']['label'] = 'images';
  $handler->display->display_options['fields']['picture']['link_photo_to_profile'] = FALSE;
  $handler->display->display_options['fields']['picture']['image_style'] = 'mobile_list_view__60_60_';
  $handler->display->display_options['path'] = 'users_list_mobile_view.json';
  $handler->display->display_options['menu']['title'] = 'Manage Users';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['users'] = $view;

  $view = new view();
  $view->name = 'video_gallery';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'node';
  $view->human_name = 'Video Gallery';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Video Gallery';
  $handler->display->display_options['use_more'] = TRUE;
  $handler->display->display_options['use_more_always'] = TRUE;
  $handler->display->display_options['use_more_text'] = 'View More';
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '3';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'fluid_grid';
  $handler->display->display_options['style_options']['items_width'] = '300';
  $handler->display->display_options['style_options']['items_height'] = '250';
  $handler->display->display_options['style_options']['advanced_layout'] = array(
    'align' => TRUE,
    'margins' => TRUE,
    'css3' => TRUE,
  );
  $handler->display->display_options['style_options']['list_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_alignment'] = 'center';
  $handler->display->display_options['style_options']['items_h_margin'] = '4px';
  $handler->display->display_options['style_options']['items_v_margin'] = '4px';
  $handler->display->display_options['style_options']['box_shadow'] = '1';
  $handler->display->display_options['style_options']['border_radius'] = '0';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['label'] = '';
  $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  /* Field: Content: Upload Video/Audio */
  $handler->display->display_options['fields']['field_upload_video_audio']['id'] = 'field_upload_video_audio';
  $handler->display->display_options['fields']['field_upload_video_audio']['table'] = 'field_data_field_upload_video_audio';
  $handler->display->display_options['fields']['field_upload_video_audio']['field'] = 'field_upload_video_audio';
  $handler->display->display_options['fields']['field_upload_video_audio']['label'] = '';
  $handler->display->display_options['fields']['field_upload_video_audio']['click_sort_column'] = 'fid';
  /* Sort criterion: Content: Post date */
  $handler->display->display_options['sorts']['created']['id'] = 'created';
  $handler->display->display_options['sorts']['created']['table'] = 'node';
  $handler->display->display_options['sorts']['created']['field'] = 'created';
  $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  /* Filter criterion: Content: Published status */
  $handler->display->display_options['filters']['status']['id'] = 'status';
  $handler->display->display_options['filters']['status']['table'] = 'node';
  $handler->display->display_options['filters']['status']['field'] = 'status';
  $handler->display->display_options['filters']['status']['value'] = 1;
  $handler->display->display_options['filters']['status']['group'] = 1;
  $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  /* Filter criterion: Content: Type */
  $handler->display->display_options['filters']['type']['id'] = 'type';
  $handler->display->display_options['filters']['type']['table'] = 'node';
  $handler->display->display_options['filters']['type']['field'] = 'type';
  $handler->display->display_options['filters']['type']['value'] = array(
    'gallery' => 'gallery',
  );
  /* Filter criterion: Content: Gallery Type (field_gallery_type) */
  $handler->display->display_options['filters']['field_gallery_type_value']['id'] = 'field_gallery_type_value';
  $handler->display->display_options['filters']['field_gallery_type_value']['table'] = 'field_data_field_gallery_type';
  $handler->display->display_options['filters']['field_gallery_type_value']['field'] = 'field_gallery_type_value';
  $handler->display->display_options['filters']['field_gallery_type_value']['value'] = array(
    'Video Gallery' => 'Video Gallery',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'video-gallery';
  $handler->display->display_options['menu']['title'] = 'Gallery';
  $handler->display->display_options['menu']['weight'] = '10';
  $handler->display->display_options['menu']['name'] = 'main-menu';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;

  /* Display: Block */
  $handler = $view->new_display('block', 'Block', 'block_1');
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '2';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $export['video_gallery'] = $view;

  $view = new view();
  $view->name = 'view_medicine_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'taxonomy_term_data';
  $view->human_name = 'View Medicine Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'View Medicines';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    9 => '9',
    4 => '4',
    19 => '19',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'tid' => 'tid',
    'name' => 'name',
    'field_price_other_' => 'field_price_other_',
    'field_tax' => 'field_tax',
    'field_machine_required' => 'field_machine_required',
    'field_why_it_is_done' => 'field_why_it_is_done',
    'field_how_it_is_done' => 'field_how_it_is_done',
    'description' => 'description',
    'nothing' => 'nothing',
    'edit_term' => 'edit_term',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'tid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_price_other_' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_tax' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_machine_required' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_why_it_is_done' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_how_it_is_done' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'description' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_term' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['empty'] = TRUE;
  $handler->display->display_options['footer']['result']['content'] = 'Displaying @start - @end of total @total tests';
  /* Relationship: Taxonomy term: Representative node */
  $handler->display->display_options['relationships']['tid_representative']['id'] = 'tid_representative';
  $handler->display->display_options['relationships']['tid_representative']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['relationships']['tid_representative']['field'] = 'tid_representative';
  $handler->display->display_options['relationships']['tid_representative']['subquery_sort'] = 'node.nid';
  $handler->display->display_options['relationships']['tid_representative']['subquery_view'] = '';
  $handler->display->display_options['relationships']['tid_representative']['subquery_namespace'] = '';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['exclude'] = TRUE;
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Medicine Name';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  /* Field: Field: Price */
  $handler->display->display_options['fields']['field_price_other_']['id'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['table'] = 'field_data_field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['field'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_price_other_']['delta_offset'] = '0';
  /* Field: Field: Tax */
  $handler->display->display_options['fields']['field_tax']['id'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['table'] = 'field_data_field_tax';
  $handler->display->display_options['fields']['field_tax']['field'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_tax']['settings'] = array(
    'view_mode' => 'print',
  );
  $handler->display->display_options['fields']['field_tax']['delta_offset'] = '0';
  /* Field: Taxonomy term: Why It Is Done */
  $handler->display->display_options['fields']['field_why_it_is_done']['id'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['table'] = 'field_data_field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['field'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['label'] = 'Why It Is Given';
  $handler->display->display_options['fields']['field_why_it_is_done']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_why_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: Term description */
  $handler->display->display_options['fields']['description']['id'] = 'description';
  $handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['description']['field'] = 'description';
  $handler->display->display_options['fields']['description']['label'] = 'Description';
  /* Field: Taxonomy term: Term edit link */
  $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['label'] = 'Edit';
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'medicine' => 'medicine',
  );
  $handler->display->display_options['filters']['machine_name']['group'] = 1;
  /* Filter criterion: Taxonomy term: Name */
  $handler->display->display_options['filters']['name']['id'] = 'name';
  $handler->display->display_options['filters']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['filters']['name']['field'] = 'name';
  $handler->display->display_options['filters']['name']['operator'] = 'word';
  $handler->display->display_options['filters']['name']['group'] = 1;
  $handler->display->display_options['filters']['name']['exposed'] = TRUE;
  $handler->display->display_options['filters']['name']['expose']['operator_id'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['label'] = 'Medicine Name';
  $handler->display->display_options['filters']['name']['expose']['operator'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['identifier'] = 'name';
  $handler->display->display_options['filters']['name']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/view-medicine-detail';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['label'] = 'tid';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'mname';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Price */
  $handler->display->display_options['fields']['field_price_other_']['id'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['table'] = 'field_data_field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['field'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['label'] = 'mprice';
  $handler->display->display_options['fields']['field_price_other_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_price_other_']['delta_offset'] = '0';
  /* Field: Field: Tax */
  $handler->display->display_options['fields']['field_tax']['id'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['table'] = 'field_data_field_tax';
  $handler->display->display_options['fields']['field_tax']['field'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['label'] = 'mtax';
  $handler->display->display_options['fields']['field_tax']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_tax']['settings'] = array(
    'view_mode' => 'print',
  );
  $handler->display->display_options['fields']['field_tax']['delta_offset'] = '0';
  /* Field: Taxonomy term: Why It Is Done */
  $handler->display->display_options['fields']['field_why_it_is_done']['id'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['table'] = 'field_data_field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['field'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['label'] = 'whygiven';
  $handler->display->display_options['fields']['field_why_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: Term description */
  $handler->display->display_options['fields']['description']['id'] = 'description';
  $handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['description']['field'] = 'description';
  $handler->display->display_options['fields']['description']['label'] = 'description';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'medicine' => 'medicine',
  );
  $handler->display->display_options['filters']['machine_name']['group'] = 1;
  $handler->display->display_options['path'] = 'medicine_list_mobile_view.json';
  $export['view_medicine_detail'] = $view;

  $view = new view();
  $view->name = 'view_test_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'taxonomy_term_data';
  $view->human_name = 'View Test Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'View Tests';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    9 => '9',
    4 => '4',
    19 => '19',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'tid' => 'tid',
    'name' => 'name',
    'field_price_other_' => 'field_price_other_',
    'field_tax' => 'field_tax',
    'field_machine_required' => 'field_machine_required',
    'field_why_it_is_done' => 'field_why_it_is_done',
    'field_how_it_is_done' => 'field_how_it_is_done',
    'description' => 'description',
    'nothing' => 'nothing',
    'edit_term' => 'edit_term',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'tid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_price_other_' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_tax' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_machine_required' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_why_it_is_done' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_how_it_is_done' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'description' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_term' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['empty'] = TRUE;
  $handler->display->display_options['footer']['result']['content'] = 'Displaying @start - @end of total @total tests';
  /* Relationship: Taxonomy term: Representative node */
  $handler->display->display_options['relationships']['tid_representative']['id'] = 'tid_representative';
  $handler->display->display_options['relationships']['tid_representative']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['relationships']['tid_representative']['field'] = 'tid_representative';
  $handler->display->display_options['relationships']['tid_representative']['subquery_sort'] = 'node.nid';
  $handler->display->display_options['relationships']['tid_representative']['subquery_view'] = '';
  $handler->display->display_options['relationships']['tid_representative']['subquery_namespace'] = '';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['exclude'] = TRUE;
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Test Name';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  /* Field: Taxonomy term: Department */
  $handler->display->display_options['fields']['field_department_test']['id'] = 'field_department_test';
  $handler->display->display_options['fields']['field_department_test']['table'] = 'field_data_field_department_test';
  $handler->display->display_options['fields']['field_department_test']['field'] = 'field_department_test';
  /* Field: Field: Price */
  $handler->display->display_options['fields']['field_price_other_']['id'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['table'] = 'field_data_field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['field'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_price_other_']['delta_offset'] = '0';
  /* Field: Field: Tax */
  $handler->display->display_options['fields']['field_tax']['id'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['table'] = 'field_data_field_tax';
  $handler->display->display_options['fields']['field_tax']['field'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_tax']['settings'] = array(
    'view_mode' => 'print',
  );
  $handler->display->display_options['fields']['field_tax']['delta_offset'] = '0';
  /* Field: Taxonomy term: Why It Is Done */
  $handler->display->display_options['fields']['field_why_it_is_done']['id'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['table'] = 'field_data_field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['field'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_why_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: How It Is Done */
  $handler->display->display_options['fields']['field_how_it_is_done']['id'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['table'] = 'field_data_field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['field'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_how_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: Term description */
  $handler->display->display_options['fields']['description']['id'] = 'description';
  $handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['description']['field'] = 'description';
  $handler->display->display_options['fields']['description']['label'] = 'Description';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['title']['label'] = 'Machines Required';
  /* Field: Field: Working Status */
  $handler->display->display_options['fields']['field_working_status']['id'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['fields']['field_working_status']['field'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['field_working_status']['label'] = 'Mapped Machine Current Working Status';
  /* Field: Taxonomy term: Term edit link */
  $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['label'] = 'Edit';
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'tests_lab_test_' => 'tests_lab_test_',
  );
  /* Filter criterion: Taxonomy term: Name */
  $handler->display->display_options['filters']['name']['id'] = 'name';
  $handler->display->display_options['filters']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['filters']['name']['field'] = 'name';
  $handler->display->display_options['filters']['name']['operator'] = 'word';
  $handler->display->display_options['filters']['name']['exposed'] = TRUE;
  $handler->display->display_options['filters']['name']['expose']['operator_id'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['label'] = 'Test Name';
  $handler->display->display_options['filters']['name']['expose']['operator'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['identifier'] = 'name';
  $handler->display->display_options['filters']['name']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Taxonomy term: Department (field_department_test) */
  $handler->display->display_options['filters']['field_department_test_tid']['id'] = 'field_department_test_tid';
  $handler->display->display_options['filters']['field_department_test_tid']['table'] = 'field_data_field_department_test';
  $handler->display->display_options['filters']['field_department_test_tid']['field'] = 'field_department_test_tid';
  $handler->display->display_options['filters']['field_department_test_tid']['value'] = '';
  $handler->display->display_options['filters']['field_department_test_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['operator_id'] = 'field_department_test_tid_op';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['operator'] = 'field_department_test_tid_op';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['identifier'] = 'field_department_test_tid';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_department_test_tid']['vocabulary'] = 'department';
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['relationship'] = 'tid_representative';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Machine Required';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Working Status (field_working_status) */
  $handler->display->display_options['filters']['field_working_status_value']['id'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['filters']['field_working_status_value']['field'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['relationship'] = 'tid_representative';
  $handler->display->display_options['filters']['field_working_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator_id'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['label'] = 'Mapped Machine Current Working Status';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['identifier'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/view-test-detail';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['path'] = 'labtest_list_mobile_view.json';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_2');
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['label'] = 'tid';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'tname';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: Taxonomy term: Department */
  $handler->display->display_options['fields']['field_department_test']['id'] = 'field_department_test';
  $handler->display->display_options['fields']['field_department_test']['table'] = 'field_data_field_department_test';
  $handler->display->display_options['fields']['field_department_test']['field'] = 'field_department_test';
  $handler->display->display_options['fields']['field_department_test']['label'] = 'department';
  $handler->display->display_options['fields']['field_department_test']['type'] = 'taxonomy_term_reference_plain';
  /* Field: Field: Price */
  $handler->display->display_options['fields']['field_price_other_']['id'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['table'] = 'field_data_field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['field'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_price_other_']['delta_offset'] = '0';
  /* Field: Field: Tax */
  $handler->display->display_options['fields']['field_tax']['id'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['table'] = 'field_data_field_tax';
  $handler->display->display_options['fields']['field_tax']['field'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_tax']['settings'] = array(
    'view_mode' => 'print',
  );
  $handler->display->display_options['fields']['field_tax']['delta_offset'] = '0';
  /* Field: Taxonomy term: Why It Is Done */
  $handler->display->display_options['fields']['field_why_it_is_done']['id'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['table'] = 'field_data_field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['field'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['label'] = 'whydone';
  $handler->display->display_options['fields']['field_why_it_is_done']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_why_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: How It Is Done */
  $handler->display->display_options['fields']['field_how_it_is_done']['id'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['table'] = 'field_data_field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['field'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['label'] = 'howdone';
  $handler->display->display_options['fields']['field_how_it_is_done']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_how_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: Term description */
  $handler->display->display_options['fields']['description']['id'] = 'description';
  $handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['description']['field'] = 'description';
  $handler->display->display_options['fields']['description']['label'] = 'Description';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['title']['label'] = 'machinesrequired';
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Working Status */
  $handler->display->display_options['fields']['field_working_status']['id'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['fields']['field_working_status']['field'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['field_working_status']['label'] = 'machineworkingstatus';
  /* Field: Taxonomy term: Term edit link */
  $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['label'] = 'Edit';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'tests_lab_test_' => 'tests_lab_test_',
  );
  $handler->display->display_options['filters']['machine_name']['group'] = 1;
  /* Filter criterion: Taxonomy term: Department (field_department_test) */
  $handler->display->display_options['filters']['field_department_test_tid']['id'] = 'field_department_test_tid';
  $handler->display->display_options['filters']['field_department_test_tid']['table'] = 'field_data_field_department_test';
  $handler->display->display_options['filters']['field_department_test_tid']['field'] = 'field_department_test_tid';
  $handler->display->display_options['filters']['field_department_test_tid']['value'] = '';
  $handler->display->display_options['filters']['field_department_test_tid']['group'] = 1;
  $handler->display->display_options['filters']['field_department_test_tid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['operator_id'] = 'field_department_test_tid_op';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['label'] = 'Department';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['operator'] = 'field_department_test_tid_op';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['identifier'] = 'field_department_test_tid';
  $handler->display->display_options['filters']['field_department_test_tid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['filters']['field_department_test_tid']['type'] = 'select';
  $handler->display->display_options['filters']['field_department_test_tid']['vocabulary'] = 'department';
  /* Filter criterion: Field: Working Status (field_working_status) */
  $handler->display->display_options['filters']['field_working_status_value']['id'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['filters']['field_working_status_value']['field'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['relationship'] = 'tid_representative';
  $handler->display->display_options['filters']['field_working_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_working_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator_id'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['label'] = 'Mapped Machine Current Working Status';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['identifier'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['path'] = 'test_list_mobile_view.json';
  $export['view_test_detail'] = $view;

  $view = new view();
  $view->name = 'view_therapy_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'taxonomy_term_data';
  $view->human_name = 'View Therapy Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'View Therapy';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    9 => '9',
    4 => '4',
    19 => '19',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'tid' => 'tid',
    'name' => 'name',
    'field_price_other_' => 'field_price_other_',
    'field_tax' => 'field_tax',
    'field_machine_required' => 'field_machine_required',
    'field_why_it_is_done' => 'field_why_it_is_done',
    'field_how_it_is_done' => 'field_how_it_is_done',
    'description' => 'description',
    'nothing' => 'nothing',
    'edit_term' => 'edit_term',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
    'tid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_price_other_' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_tax' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_machine_required' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_why_it_is_done' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_how_it_is_done' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'description' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_term' => array(
      'align' => 'views-align-center',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Footer: Global: Result summary */
  $handler->display->display_options['footer']['result']['id'] = 'result';
  $handler->display->display_options['footer']['result']['table'] = 'views';
  $handler->display->display_options['footer']['result']['field'] = 'result';
  $handler->display->display_options['footer']['result']['content'] = 'Displaying @start - @end of total @total therapy';
  /* Relationship: Taxonomy term: Representative node */
  $handler->display->display_options['relationships']['tid_representative']['id'] = 'tid_representative';
  $handler->display->display_options['relationships']['tid_representative']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['relationships']['tid_representative']['field'] = 'tid_representative';
  $handler->display->display_options['relationships']['tid_representative']['subquery_sort'] = 'node.nid';
  $handler->display->display_options['relationships']['tid_representative']['subquery_view'] = '';
  $handler->display->display_options['relationships']['tid_representative']['subquery_namespace'] = '';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['exclude'] = TRUE;
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Therapy Name';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  /* Field: Field: Price */
  $handler->display->display_options['fields']['field_price_other_']['id'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['table'] = 'field_data_field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['field'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_price_other_']['delta_offset'] = '0';
  /* Field: Field: Tax */
  $handler->display->display_options['fields']['field_tax']['id'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['table'] = 'field_data_field_tax';
  $handler->display->display_options['fields']['field_tax']['field'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_tax']['settings'] = array(
    'view_mode' => 'print',
  );
  $handler->display->display_options['fields']['field_tax']['delta_offset'] = '0';
  /* Field: Taxonomy term: Why It Is Done */
  $handler->display->display_options['fields']['field_why_it_is_done']['id'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['table'] = 'field_data_field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['field'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_why_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: How It Is Done */
  $handler->display->display_options['fields']['field_how_it_is_done']['id'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['table'] = 'field_data_field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['field'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['type'] = 'text_trimmed';
  $handler->display->display_options['fields']['field_how_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: Term description */
  $handler->display->display_options['fields']['description']['id'] = 'description';
  $handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['description']['field'] = 'description';
  $handler->display->display_options['fields']['description']['label'] = 'Description';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['title']['label'] = 'Machines Required';
  /* Field: Field: Working Status */
  $handler->display->display_options['fields']['field_working_status']['id'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['fields']['field_working_status']['field'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['field_working_status']['label'] = 'Mapped Machine Current Working Status';
  /* Field: Taxonomy term: Term edit link */
  $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['label'] = 'Edit Therapy';
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'therapy' => 'therapy',
  );
  $handler->display->display_options['filters']['machine_name']['group'] = 1;
  /* Filter criterion: Taxonomy term: Name */
  $handler->display->display_options['filters']['name']['id'] = 'name';
  $handler->display->display_options['filters']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['filters']['name']['field'] = 'name';
  $handler->display->display_options['filters']['name']['operator'] = 'word';
  $handler->display->display_options['filters']['name']['group'] = 1;
  $handler->display->display_options['filters']['name']['exposed'] = TRUE;
  $handler->display->display_options['filters']['name']['expose']['operator_id'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['label'] = 'Therapy Name';
  $handler->display->display_options['filters']['name']['expose']['operator'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['identifier'] = 'name';
  $handler->display->display_options['filters']['name']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Field: Working Status (field_working_status) */
  $handler->display->display_options['filters']['field_working_status_value']['id'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['filters']['field_working_status_value']['field'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['relationship'] = 'tid_representative';
  $handler->display->display_options['filters']['field_working_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_working_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator_id'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['label'] = 'Mapped Machine Current Working Status';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['identifier'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  /* Filter criterion: Content: Title */
  $handler->display->display_options['filters']['title']['id'] = 'title';
  $handler->display->display_options['filters']['title']['table'] = 'node';
  $handler->display->display_options['filters']['title']['field'] = 'title';
  $handler->display->display_options['filters']['title']['relationship'] = 'tid_representative';
  $handler->display->display_options['filters']['title']['operator'] = 'word';
  $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['label'] = 'Machine Required';
  $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  $handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/view-therapy-detail';

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page_1');
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'views_json';
  $handler->display->display_options['style_options']['plaintext_output'] = 1;
  $handler->display->display_options['style_options']['remove_newlines'] = 0;
  $handler->display->display_options['style_options']['jsonp_prefix'] = '';
  $handler->display->display_options['style_options']['using_views_api_mode'] = 0;
  $handler->display->display_options['style_options']['translate_labels'] = 0;
  $handler->display->display_options['style_options']['object_arrays'] = 0;
  $handler->display->display_options['style_options']['numeric_strings'] = 0;
  $handler->display->display_options['style_options']['bigint_string'] = 0;
  $handler->display->display_options['style_options']['pretty_print'] = 0;
  $handler->display->display_options['style_options']['unescaped_slashes'] = 0;
  $handler->display->display_options['style_options']['unescaped_unicode'] = 0;
  $handler->display->display_options['style_options']['char_encoding'] = array();
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'sno';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['label'] = 'tid';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'tname';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Price */
  $handler->display->display_options['fields']['field_price_other_']['id'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['table'] = 'field_data_field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['field'] = 'field_price_other_';
  $handler->display->display_options['fields']['field_price_other_']['label'] = 'tprice';
  $handler->display->display_options['fields']['field_price_other_']['settings'] = array(
    'thousand_separator' => '',
    'decimal_separator' => '.',
    'scale' => '2',
    'prefix_suffix' => 1,
  );
  $handler->display->display_options['fields']['field_price_other_']['delta_offset'] = '0';
  /* Field: Field: Tax */
  $handler->display->display_options['fields']['field_tax']['id'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['table'] = 'field_data_field_tax';
  $handler->display->display_options['fields']['field_tax']['field'] = 'field_tax';
  $handler->display->display_options['fields']['field_tax']['label'] = 'ttax';
  $handler->display->display_options['fields']['field_tax']['type'] = 'field_collection_fields';
  $handler->display->display_options['fields']['field_tax']['settings'] = array(
    'view_mode' => 'print',
  );
  $handler->display->display_options['fields']['field_tax']['delta_offset'] = '0';
  /* Field: Taxonomy term: Why It Is Done */
  $handler->display->display_options['fields']['field_why_it_is_done']['id'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['table'] = 'field_data_field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['field'] = 'field_why_it_is_done';
  $handler->display->display_options['fields']['field_why_it_is_done']['label'] = 'whydone';
  $handler->display->display_options['fields']['field_why_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: How It Is Done */
  $handler->display->display_options['fields']['field_how_it_is_done']['id'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['table'] = 'field_data_field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['field'] = 'field_how_it_is_done';
  $handler->display->display_options['fields']['field_how_it_is_done']['label'] = 'howdone';
  $handler->display->display_options['fields']['field_how_it_is_done']['settings'] = array(
    'trim_length' => '100',
  );
  /* Field: Taxonomy term: Term description */
  $handler->display->display_options['fields']['description']['id'] = 'description';
  $handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['description']['field'] = 'description';
  $handler->display->display_options['fields']['description']['label'] = 'Description';
  /* Field: Content: Title */
  $handler->display->display_options['fields']['title']['id'] = 'title';
  $handler->display->display_options['fields']['title']['table'] = 'node';
  $handler->display->display_options['fields']['title']['field'] = 'title';
  $handler->display->display_options['fields']['title']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['title']['label'] = 'machinesrequired';
  $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  /* Field: Field: Working Status */
  $handler->display->display_options['fields']['field_working_status']['id'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['fields']['field_working_status']['field'] = 'field_working_status';
  $handler->display->display_options['fields']['field_working_status']['relationship'] = 'tid_representative';
  $handler->display->display_options['fields']['field_working_status']['label'] = 'machineworkingstatus';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'therapy' => 'therapy',
  );
  $handler->display->display_options['filters']['machine_name']['group'] = 1;
  /* Filter criterion: Field: Working Status (field_working_status) */
  $handler->display->display_options['filters']['field_working_status_value']['id'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['table'] = 'field_data_field_working_status';
  $handler->display->display_options['filters']['field_working_status_value']['field'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['relationship'] = 'tid_representative';
  $handler->display->display_options['filters']['field_working_status_value']['group'] = 1;
  $handler->display->display_options['filters']['field_working_status_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator_id'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['label'] = 'Mapped Machine Current Working Status';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['operator'] = 'field_working_status_value_op';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['identifier'] = 'field_working_status_value';
  $handler->display->display_options['filters']['field_working_status_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
  );
  $handler->display->display_options['path'] = 'therapy_list_mobile_view.json';
  $export['view_therapy_detail'] = $view;

  $view = new view();
  $view->name = 'webinar_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'taxonomy_term_data';
  $view->human_name = 'Webinar Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Webinar Detail';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'tid' => 'tid',
    'name' => 'name',
    'field_date' => 'field_date',
    'nothing' => 'nothing',
    'description' => 'description',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'tid' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'description' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['content'] = 'Register below for upcoming webinars.<br><br>';
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['tid']['separator'] = '';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['exclude'] = TRUE;
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['exclude'] = TRUE;
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Webinar Date | Topic';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<strong>Date :  [field_date]</strong>
<br><br>
<strong>Topic :  </strong><br>[name] ';
  /* Field: Taxonomy term: Term description */
  $handler->display->display_options['fields']['description']['id'] = 'description';
  $handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['description']['field'] = 'description';
  $handler->display->display_options['fields']['description']['label'] = 'Resource Person / Coordinator';
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'webinar_detail' => 'webinar_detail',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'webinars';
  $export['webinar_detail'] = $view;

  $view = new view();
  $view->name = 'webinar_refrence';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'taxonomy_term_data';
  $view->human_name = 'Webinar refrence';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Webinar refrence';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'name' => 'name',
    'field_date' => 'field_date',
    'field_show_on_form' => 'field_show_on_form',
    'edit_term' => 'edit_term',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'name' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_show_on_form' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_term' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['label'] = 'Webinar ID';
  $handler->display->display_options['fields']['tid']['separator'] = '';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Taxonomy term: Show on form */
  $handler->display->display_options['fields']['field_show_on_form']['id'] = 'field_show_on_form';
  $handler->display->display_options['fields']['field_show_on_form']['table'] = 'field_data_field_show_on_form';
  $handler->display->display_options['fields']['field_show_on_form']['field'] = 'field_show_on_form';
  /* Field: Taxonomy term: Term edit link */
  $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['label'] = 'Edit';
  $handler->display->display_options['fields']['edit_term']['text'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'webinar_detail' => 'webinar_detail',
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Webinar Detail (for registration form)';
  $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'tid' => 'tid',
    'name' => 'name',
    'field_date' => 'field_date',
    'field_show_on_form' => 'field_show_on_form',
    'edit_term' => 'edit_term',
    'nothing' => 'nothing',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'tid' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'name' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_date' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'field_show_on_form' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_term' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['header'] = FALSE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<ul class="action-links">
<li><a href="structure/taxonomy/webinar_detail/add">Add Webinar Detail</a></li>
<li><a href="../webinars">Dynamic Page of Webinar Detail</a></li></ul>
<br><br>';
  $handler->display->display_options['defaults']['footer'] = FALSE;
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['label'] = 'Webinar ID';
  $handler->display->display_options['fields']['tid']['separator'] = '';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = 'Webinar';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  /* Field: Taxonomy term: Show on form */
  $handler->display->display_options['fields']['field_show_on_form']['id'] = 'field_show_on_form';
  $handler->display->display_options['fields']['field_show_on_form']['table'] = 'field_data_field_show_on_form';
  $handler->display->display_options['fields']['field_show_on_form']['field'] = 'field_show_on_form';
  /* Field: Taxonomy term: Term edit link */
  $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  $handler->display->display_options['fields']['edit_term']['label'] = 'Edit';
  $handler->display->display_options['fields']['edit_term']['text'] = 'Edit';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Send Mail';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="send-bulkmail?webinar=[tid]" target="_blank">Send Mail</a>';
  $handler->display->display_options['defaults']['sorts'] = FALSE;
  /* Sort criterion: Taxonomy term: Term ID */
  $handler->display->display_options['sorts']['tid']['id'] = 'tid';
  $handler->display->display_options['sorts']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['sorts']['tid']['field'] = 'tid';
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'webinar_detail' => 'webinar_detail',
  );
  $handler->display->display_options['filters']['machine_name']['group'] = 1;
  /* Filter criterion: Taxonomy term: Show on form (field_show_on_form) */
  $handler->display->display_options['filters']['field_show_on_form_value']['id'] = 'field_show_on_form_value';
  $handler->display->display_options['filters']['field_show_on_form_value']['table'] = 'field_data_field_show_on_form';
  $handler->display->display_options['filters']['field_show_on_form_value']['field'] = 'field_show_on_form_value';
  $handler->display->display_options['filters']['field_show_on_form_value']['group'] = 1;
  $handler->display->display_options['filters']['field_show_on_form_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_show_on_form_value']['expose']['operator_id'] = 'field_show_on_form_value_op';
  $handler->display->display_options['filters']['field_show_on_form_value']['expose']['label'] = 'Show on form';
  $handler->display->display_options['filters']['field_show_on_form_value']['expose']['operator'] = 'field_show_on_form_value_op';
  $handler->display->display_options['filters']['field_show_on_form_value']['expose']['identifier'] = 'field_show_on_form_value';
  $handler->display->display_options['filters']['field_show_on_form_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Taxonomy term: Name */
  $handler->display->display_options['filters']['name']['id'] = 'name';
  $handler->display->display_options['filters']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['filters']['name']['field'] = 'name';
  $handler->display->display_options['filters']['name']['operator'] = 'word';
  $handler->display->display_options['filters']['name']['group'] = 1;
  $handler->display->display_options['filters']['name']['exposed'] = TRUE;
  $handler->display->display_options['filters']['name']['expose']['operator_id'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['label'] = 'Webinar';
  $handler->display->display_options['filters']['name']['expose']['operator'] = 'name_op';
  $handler->display->display_options['filters']['name']['expose']['identifier'] = 'name';
  $handler->display->display_options['filters']['name']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Field: Date (field_date) */
  $handler->display->display_options['filters']['field_date_value']['id'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['table'] = 'field_data_field_date';
  $handler->display->display_options['filters']['field_date_value']['field'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['group'] = 1;
  $handler->display->display_options['filters']['field_date_value']['exposed'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator_id'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['label'] = 'Date';
  $handler->display->display_options['filters']['field_date_value']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['field_date_value']['expose']['operator'] = 'field_date_value_op';
  $handler->display->display_options['filters']['field_date_value']['expose']['identifier'] = 'field_date_value';
  $handler->display->display_options['filters']['field_date_value']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  $handler->display->display_options['filters']['field_date_value']['form_type'] = 'date_popup';
  /* Filter criterion: Taxonomy term: Term ID */
  $handler->display->display_options['filters']['tid_raw']['id'] = 'tid_raw';
  $handler->display->display_options['filters']['tid_raw']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['filters']['tid_raw']['field'] = 'tid_raw';
  $handler->display->display_options['filters']['tid_raw']['group'] = 1;
  $handler->display->display_options['filters']['tid_raw']['exposed'] = TRUE;
  $handler->display->display_options['filters']['tid_raw']['expose']['operator_id'] = 'tid_raw_op';
  $handler->display->display_options['filters']['tid_raw']['expose']['label'] = 'Webinar ID';
  $handler->display->display_options['filters']['tid_raw']['expose']['use_operator'] = TRUE;
  $handler->display->display_options['filters']['tid_raw']['expose']['operator'] = 'tid_raw_op';
  $handler->display->display_options['filters']['tid_raw']['expose']['identifier'] = 'tid_raw';
  $handler->display->display_options['filters']['tid_raw']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  $handler->display->display_options['path'] = 'admin/webinar-reference';

  /* Display: Entity Reference */
  $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['defaults']['access'] = FALSE;
  $handler->display->display_options['access']['type'] = 'none';
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  $handler->display->display_options['style_plugin'] = 'entityreference_style';
  $handler->display->display_options['style_options']['search_fields'] = array(
    'name' => 'name',
    'tid' => 'tid',
    'field_date' => 0,
  );
  $handler->display->display_options['defaults']['style_options'] = FALSE;
  $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  $handler->display->display_options['row_plugin'] = 'entityreference_fields';
  $handler->display->display_options['defaults']['row_options'] = FALSE;
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Taxonomy term: Term ID */
  $handler->display->display_options['fields']['tid']['id'] = 'tid';
  $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['tid']['field'] = 'tid';
  $handler->display->display_options['fields']['tid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['tid']['separator'] = '';
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
  /* Field: Field: Date */
  $handler->display->display_options['fields']['field_date']['id'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
  $handler->display->display_options['fields']['field_date']['field'] = 'field_date';
  $handler->display->display_options['fields']['field_date']['settings'] = array(
    'format_type' => 'long',
    'custom_date_format' => '',
    'fromto' => 'both',
    'multiple_number' => '',
    'multiple_from' => '',
    'multiple_to' => '',
    'show_remaining_days' => 0,
  );
  $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  $handler->display->display_options['defaults']['filters'] = FALSE;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'webinar_detail' => 'webinar_detail',
  );
  /* Filter criterion: Taxonomy term: Show on form (field_show_on_form) */
  $handler->display->display_options['filters']['field_show_on_form_value']['id'] = 'field_show_on_form_value';
  $handler->display->display_options['filters']['field_show_on_form_value']['table'] = 'field_data_field_show_on_form';
  $handler->display->display_options['filters']['field_show_on_form_value']['field'] = 'field_show_on_form_value';
  $handler->display->display_options['filters']['field_show_on_form_value']['value'] = array(
    'Yes' => 'Yes',
  );
  $export['webinar_refrence'] = $view;

  $view = new view();
  $view->name = 'webinar_registration_detail';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'webform_submissions';
  $view->human_name = 'Webinar Registration Detail';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Webinar Registration Detail';
  $handler->display->display_options['use_more_always'] = FALSE;
  $handler->display->display_options['access']['type'] = 'role';
  $handler->display->display_options['access']['role'] = array(
    3 => '3',
    4 => '4',
  );
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Search';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '200';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['pager']['options']['id'] = '0';
  $handler->display->display_options['pager']['options']['quantity'] = '9';
  $handler->display->display_options['style_plugin'] = 'table';
  $handler->display->display_options['style_options']['columns'] = array(
    'counter' => 'counter',
    'serial' => 'serial',
    'sid' => 'sid',
    'value' => 'value',
    'value_1' => 'value_1',
    'value_2' => 'value_2',
    'value_3' => 'value_3',
    'nothing' => 'nothing',
    'value_7' => 'value_7',
    'value_6' => 'value_6',
    'view_submission' => 'view_submission',
    'value_4' => 'value_4',
    'value_5' => 'value_5',
    'edit_submission' => 'edit_submission',
    'delete_submission' => 'delete_submission',
    'nothing_1' => 'nothing_1',
    'completed' => 'completed',
  );
  $handler->display->display_options['style_options']['default'] = '-1';
  $handler->display->display_options['style_options']['info'] = array(
    'counter' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'serial' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'sid' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value_1' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value_2' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value_3' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value_7' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value_6' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'view_submission' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value_4' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'value_5' => array(
      'sortable' => 1,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'edit_submission' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'delete_submission' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'nothing_1' => array(
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
    'completed' => array(
      'sortable' => 0,
      'default_sort_order' => 'asc',
      'align' => '',
      'separator' => '',
      'empty_column' => 0,
    ),
  );
  $handler->display->display_options['style_options']['sticky'] = TRUE;
  $handler->display->display_options['style_options']['empty_table'] = TRUE;
  /* Header: Global: Unfiltered text */
  $handler->display->display_options['header']['area_text_custom']['id'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['table'] = 'views';
  $handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
  $handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
  $handler->display->display_options['header']['area_text_custom']['content'] = '<ul class="action-links">
<li><a href="webinar-reference" target="_blank">Webinar Detail (for registration form)</a></li>
<li><a href="../pq/webinar-registration" target="_blank">Webinar Registration Form</a></li>
<li><a href="../node/152031/webform-results" target="_blank">Webinar Registration Result</a></li> 
<li><a href="../node/152031/webform-results/broadcast"  target="_blank">Send bulk email in 1 go</a></li>
<li><a href="send-bulkmail"  target="_blank">Send Bulk Mail (selected users)</a></li>
<li><a href="view-webinar-sent-mails"  target="_blank">View Sent Mail (from panel - Send Bulk Mail (selected users))</a></li>
<li><a href="../node/152031/webform-results/download"  target="_blank">Download Data</a></li>
</ul><br><br>


 ';
  /* Footer: Global: Result summary with an additional token to change the items/page */
  $handler->display->display_options['footer']['webform_result']['id'] = 'webform_result';
  $handler->display->display_options['footer']['webform_result']['table'] = 'views';
  $handler->display->display_options['footer']['webform_result']['field'] = 'webform_result';
  /* Relationship: Webform submissions: Data */
  $handler->display->display_options['relationships']['data']['id'] = 'data';
  $handler->display->display_options['relationships']['data']['table'] = 'webform_submissions';
  $handler->display->display_options['relationships']['data']['field'] = 'data';
  $handler->display->display_options['relationships']['data']['label'] = 'Submission Data : First Name';
  $handler->display->display_options['relationships']['data']['webform_nid'] = '152031';
  $handler->display->display_options['relationships']['data']['webform_cid'] = '2';
  /* Relationship: Webform submissions: Data */
  $handler->display->display_options['relationships']['data_1']['id'] = 'data_1';
  $handler->display->display_options['relationships']['data_1']['table'] = 'webform_submissions';
  $handler->display->display_options['relationships']['data_1']['field'] = 'data';
  $handler->display->display_options['relationships']['data_1']['label'] = 'Submission Data : Email';
  $handler->display->display_options['relationships']['data_1']['webform_nid'] = '152031';
  $handler->display->display_options['relationships']['data_1']['webform_cid'] = '8';
  /* Relationship: Webform submissions: Data */
  $handler->display->display_options['relationships']['data_2']['id'] = 'data_2';
  $handler->display->display_options['relationships']['data_2']['table'] = 'webform_submissions';
  $handler->display->display_options['relationships']['data_2']['field'] = 'data';
  $handler->display->display_options['relationships']['data_2']['label'] = 'Submission Data : Mobile No';
  $handler->display->display_options['relationships']['data_2']['webform_nid'] = '152031';
  $handler->display->display_options['relationships']['data_2']['webform_cid'] = '7';
  /* Relationship: Webform submissions: Data */
  $handler->display->display_options['relationships']['data_3']['id'] = 'data_3';
  $handler->display->display_options['relationships']['data_3']['table'] = 'webform_submissions';
  $handler->display->display_options['relationships']['data_3']['field'] = 'data';
  $handler->display->display_options['relationships']['data_3']['label'] = 'Submission Data : Webinar';
  $handler->display->display_options['relationships']['data_3']['webform_nid'] = '152031';
  $handler->display->display_options['relationships']['data_3']['webform_cid'] = '17';
  /* Relationship: Webform submissions: Data */
  $handler->display->display_options['relationships']['data_4']['id'] = 'data_4';
  $handler->display->display_options['relationships']['data_4']['table'] = 'webform_submissions';
  $handler->display->display_options['relationships']['data_4']['field'] = 'data';
  $handler->display->display_options['relationships']['data_4']['label'] = 'Submission Data : certificate status';
  $handler->display->display_options['relationships']['data_4']['webform_nid'] = '152031';
  $handler->display->display_options['relationships']['data_4']['webform_cid'] = '11';
  /* Field: Global: View result counter */
  $handler->display->display_options['fields']['counter']['id'] = 'counter';
  $handler->display->display_options['fields']['counter']['table'] = 'views';
  $handler->display->display_options['fields']['counter']['field'] = 'counter';
  $handler->display->display_options['fields']['counter']['label'] = 'S.No';
  $handler->display->display_options['fields']['counter']['counter_start'] = '1';
  $handler->display->display_options['fields']['counter']['reverse'] = 0;
  /* Field: Webform submissions: Serial number */
  $handler->display->display_options['fields']['serial']['id'] = 'serial';
  $handler->display->display_options['fields']['serial']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['serial']['field'] = 'serial';
  $handler->display->display_options['fields']['serial']['label'] = 'Form No';
  $handler->display->display_options['fields']['serial']['separator'] = '';
  /* Field: Webform submissions: Sid */
  $handler->display->display_options['fields']['sid']['id'] = 'sid';
  $handler->display->display_options['fields']['sid']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['sid']['field'] = 'sid';
  $handler->display->display_options['fields']['sid']['label'] = 'Certificate ID';
  $handler->display->display_options['fields']['sid']['exclude'] = TRUE;
  $handler->display->display_options['fields']['sid']['separator'] = '';
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value']['id'] = 'value';
  $handler->display->display_options['fields']['value']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value']['field'] = 'value';
  $handler->display->display_options['fields']['value']['label'] = 'Name';
  $handler->display->display_options['fields']['value']['exclude'] = TRUE;
  $handler->display->display_options['fields']['value']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value']['webform_cid'] = '2';
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value_1']['id'] = 'value_1';
  $handler->display->display_options['fields']['value_1']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value_1']['field'] = 'value';
  $handler->display->display_options['fields']['value_1']['label'] = 'Middle Name';
  $handler->display->display_options['fields']['value_1']['exclude'] = TRUE;
  $handler->display->display_options['fields']['value_1']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value_1']['webform_cid'] = '3';
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value_2']['id'] = 'value_2';
  $handler->display->display_options['fields']['value_2']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value_2']['field'] = 'value';
  $handler->display->display_options['fields']['value_2']['label'] = '';
  $handler->display->display_options['fields']['value_2']['exclude'] = TRUE;
  $handler->display->display_options['fields']['value_2']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value_2']['webform_cid'] = '4';
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value_3']['id'] = 'value_3';
  $handler->display->display_options['fields']['value_3']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value_3']['field'] = 'value';
  $handler->display->display_options['fields']['value_3']['label'] = '';
  $handler->display->display_options['fields']['value_3']['exclude'] = TRUE;
  $handler->display->display_options['fields']['value_3']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value_3']['webform_cid'] = '9';
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['table'] = 'views';
  $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing']['label'] = 'Name / Country';
  $handler->display->display_options['fields']['nothing']['alter']['text'] = '[value]  [value_1]  [value_2]<br>
([value_3])';
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value_7']['id'] = 'value_7';
  $handler->display->display_options['fields']['value_7']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value_7']['field'] = 'value';
  $handler->display->display_options['fields']['value_7']['label'] = '';
  $handler->display->display_options['fields']['value_7']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value_7']['webform_cid'] = '8';
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value_6']['id'] = 'value_6';
  $handler->display->display_options['fields']['value_6']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value_6']['field'] = 'value';
  $handler->display->display_options['fields']['value_6']['label'] = '';
  $handler->display->display_options['fields']['value_6']['format'] = 'text';
  $handler->display->display_options['fields']['value_6']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value_6']['webform_cid'] = '17';
  /* Field: Webform submissions: View link */
  $handler->display->display_options['fields']['view_submission']['id'] = 'view_submission';
  $handler->display->display_options['fields']['view_submission']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['view_submission']['field'] = 'view_submission';
  $handler->display->display_options['fields']['view_submission']['label'] = 'View Detail';
  $handler->display->display_options['fields']['view_submission']['text'] = 'View';
  $handler->display->display_options['fields']['view_submission']['access_check'] = 1;
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value_4']['id'] = 'value_4';
  $handler->display->display_options['fields']['value_4']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value_4']['field'] = 'value';
  $handler->display->display_options['fields']['value_4']['label'] = '';
  $handler->display->display_options['fields']['value_4']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value_4']['webform_cid'] = '10';
  /* Field: Webform submission data: Value */
  $handler->display->display_options['fields']['value_5']['id'] = 'value_5';
  $handler->display->display_options['fields']['value_5']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['value_5']['field'] = 'value';
  $handler->display->display_options['fields']['value_5']['label'] = '';
  $handler->display->display_options['fields']['value_5']['webform_nid'] = '152031';
  $handler->display->display_options['fields']['value_5']['webform_cid'] = '11';
  /* Field: Webform submissions: Edit link */
  $handler->display->display_options['fields']['edit_submission']['id'] = 'edit_submission';
  $handler->display->display_options['fields']['edit_submission']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['edit_submission']['field'] = 'edit_submission';
  $handler->display->display_options['fields']['edit_submission']['label'] = 'Edit';
  $handler->display->display_options['fields']['edit_submission']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['edit_submission']['text'] = 'Edit';
  $handler->display->display_options['fields']['edit_submission']['access_check'] = 1;
  /* Field: Webform submissions: Delete link */
  $handler->display->display_options['fields']['delete_submission']['id'] = 'delete_submission';
  $handler->display->display_options['fields']['delete_submission']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['delete_submission']['field'] = 'delete_submission';
  $handler->display->display_options['fields']['delete_submission']['label'] = 'Delete';
  $handler->display->display_options['fields']['delete_submission']['text'] = 'Delete';
  $handler->display->display_options['fields']['delete_submission']['access_check'] = 1;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
  $handler->display->display_options['fields']['nothing_1']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_1']['label'] = 'Certificate Links';
  $handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/printpdf/admin/webinar-certificate-of-appreciation/[sid]/[serial]" target="_blank">Appreciation Certificate</a>
<hr>
<a href="https://ayurvishvabharti.iaseuniversityonline.org/ayurvishvabharti/printpdf/admin/webinar-certificate-of-participation/[sid]/[serial]" target="_blank">Participation Certificate</a>';
  /* Field: Webform submissions: Completed */
  $handler->display->display_options['fields']['completed']['id'] = 'completed';
  $handler->display->display_options['fields']['completed']['table'] = 'webform_submissions';
  $handler->display->display_options['fields']['completed']['field'] = 'completed';
  $handler->display->display_options['fields']['completed']['label'] = 'Date (when registered)';
  $handler->display->display_options['fields']['completed']['date_format'] = 'long';
  $handler->display->display_options['fields']['completed']['second_date_format'] = 'search_api_facetapi_YEAR';
  $handler->display->display_options['fields']['completed']['format_date_sql'] = 0;
  /* Field: Global: Custom text */
  $handler->display->display_options['fields']['nothing_2']['id'] = 'nothing_2';
  $handler->display->display_options['fields']['nothing_2']['table'] = 'views';
  $handler->display->display_options['fields']['nothing_2']['field'] = 'nothing';
  $handler->display->display_options['fields']['nothing_2']['label'] = 'Mail Sent';
  $handler->display->display_options['fields']['nothing_2']['alter']['text'] = '<a href="view-webinar-sent-mails?formno_val=[sid] &name_val=&email_val=&mailsubject_val=&mail_type_val=&search=Search" target="_blank">View</a>';
  /* Filter criterion: Content: Nid */
  $handler->display->display_options['filters']['nid']['id'] = 'nid';
  $handler->display->display_options['filters']['nid']['table'] = 'node';
  $handler->display->display_options['filters']['nid']['field'] = 'nid';
  $handler->display->display_options['filters']['nid']['value']['value'] = '152031';
  /* Filter criterion: Webform submission data: Data field */
  $handler->display->display_options['filters']['data']['id'] = 'data';
  $handler->display->display_options['filters']['data']['table'] = 'webform_submitted_data';
  $handler->display->display_options['filters']['data']['field'] = 'data';
  $handler->display->display_options['filters']['data']['relationship'] = 'data';
  $handler->display->display_options['filters']['data']['operator'] = 'word';
  $handler->display->display_options['filters']['data']['exposed'] = TRUE;
  $handler->display->display_options['filters']['data']['expose']['operator_id'] = 'data_op';
  $handler->display->display_options['filters']['data']['expose']['label'] = 'First name';
  $handler->display->display_options['filters']['data']['expose']['operator'] = 'data_op';
  $handler->display->display_options['filters']['data']['expose']['identifier'] = 'data';
  $handler->display->display_options['filters']['data']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Webform submission data: Data field */
  $handler->display->display_options['filters']['data_1']['id'] = 'data_1';
  $handler->display->display_options['filters']['data_1']['table'] = 'webform_submitted_data';
  $handler->display->display_options['filters']['data_1']['field'] = 'data';
  $handler->display->display_options['filters']['data_1']['relationship'] = 'data_1';
  $handler->display->display_options['filters']['data_1']['operator'] = 'word';
  $handler->display->display_options['filters']['data_1']['exposed'] = TRUE;
  $handler->display->display_options['filters']['data_1']['expose']['operator_id'] = 'data_1_op';
  $handler->display->display_options['filters']['data_1']['expose']['label'] = 'Email ID';
  $handler->display->display_options['filters']['data_1']['expose']['operator'] = 'data_1_op';
  $handler->display->display_options['filters']['data_1']['expose']['identifier'] = 'data_1';
  $handler->display->display_options['filters']['data_1']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Webform submission data: Data field */
  $handler->display->display_options['filters']['data_2']['id'] = 'data_2';
  $handler->display->display_options['filters']['data_2']['table'] = 'webform_submitted_data';
  $handler->display->display_options['filters']['data_2']['field'] = 'data';
  $handler->display->display_options['filters']['data_2']['relationship'] = 'data_2';
  $handler->display->display_options['filters']['data_2']['operator'] = 'word';
  $handler->display->display_options['filters']['data_2']['exposed'] = TRUE;
  $handler->display->display_options['filters']['data_2']['expose']['operator_id'] = 'data_2_op';
  $handler->display->display_options['filters']['data_2']['expose']['label'] = 'Mobile No';
  $handler->display->display_options['filters']['data_2']['expose']['operator'] = 'data_2_op';
  $handler->display->display_options['filters']['data_2']['expose']['identifier'] = 'data_2';
  $handler->display->display_options['filters']['data_2']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Webform submissions: Serial number */
  $handler->display->display_options['filters']['serial']['id'] = 'serial';
  $handler->display->display_options['filters']['serial']['table'] = 'webform_submissions';
  $handler->display->display_options['filters']['serial']['field'] = 'serial';
  $handler->display->display_options['filters']['serial']['exposed'] = TRUE;
  $handler->display->display_options['filters']['serial']['expose']['operator_id'] = 'serial_op';
  $handler->display->display_options['filters']['serial']['expose']['label'] = 'Form No';
  $handler->display->display_options['filters']['serial']['expose']['operator'] = 'serial_op';
  $handler->display->display_options['filters']['serial']['expose']['identifier'] = 'serial';
  $handler->display->display_options['filters']['serial']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Webform submissions: Sid */
  $handler->display->display_options['filters']['sid']['id'] = 'sid';
  $handler->display->display_options['filters']['sid']['table'] = 'webform_submissions';
  $handler->display->display_options['filters']['sid']['field'] = 'sid';
  $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  $handler->display->display_options['filters']['sid']['expose']['label'] = 'Certificate ID';
  $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  $handler->display->display_options['filters']['sid']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Webform submission data: Data field */
  $handler->display->display_options['filters']['data_3']['id'] = 'data_3';
  $handler->display->display_options['filters']['data_3']['table'] = 'webform_submitted_data';
  $handler->display->display_options['filters']['data_3']['field'] = 'data';
  $handler->display->display_options['filters']['data_3']['relationship'] = 'data_4';
  $handler->display->display_options['filters']['data_3']['operator'] = 'word';
  $handler->display->display_options['filters']['data_3']['exposed'] = TRUE;
  $handler->display->display_options['filters']['data_3']['expose']['operator_id'] = 'data_3_op';
  $handler->display->display_options['filters']['data_3']['expose']['label'] = 'Certificate Status';
  $handler->display->display_options['filters']['data_3']['expose']['description'] = 'Sent / Not Sent';
  $handler->display->display_options['filters']['data_3']['expose']['operator'] = 'data_3_op';
  $handler->display->display_options['filters']['data_3']['expose']['identifier'] = 'data_3';
  $handler->display->display_options['filters']['data_3']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );
  /* Filter criterion: Webform submission data: Data field */
  $handler->display->display_options['filters']['data_4']['id'] = 'data_4';
  $handler->display->display_options['filters']['data_4']['table'] = 'webform_submitted_data';
  $handler->display->display_options['filters']['data_4']['field'] = 'data';
  $handler->display->display_options['filters']['data_4']['relationship'] = 'data_3';
  $handler->display->display_options['filters']['data_4']['operator'] = 'word';
  $handler->display->display_options['filters']['data_4']['exposed'] = TRUE;
  $handler->display->display_options['filters']['data_4']['expose']['operator_id'] = 'data_4_op';
  $handler->display->display_options['filters']['data_4']['expose']['label'] = 'Webinar ID';
  $handler->display->display_options['filters']['data_4']['expose']['description'] = 'eg 726 / 727';
  $handler->display->display_options['filters']['data_4']['expose']['operator'] = 'data_4_op';
  $handler->display->display_options['filters']['data_4']['expose']['identifier'] = 'data_4';
  $handler->display->display_options['filters']['data_4']['expose']['remember_roles'] = array(
    2 => '2',
    1 => 0,
    3 => 0,
    4 => 0,
    5 => 0,
    6 => 0,
    7 => 0,
    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    12 => 0,
    13 => 0,
    14 => 0,
    15 => 0,
    16 => 0,
    17 => 0,
    18 => 0,
    19 => 0,
    20 => 0,
    21 => 0,
    22 => 0,
    23 => 0,
    24 => 0,
  );

  /* Display: Page */
  $handler = $view->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'admin/webinar-registration-detail';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Manage Webinar Registration';
  $handler->display->display_options['menu']['weight'] = '0';
  $handler->display->display_options['menu']['name'] = 'management';
  $handler->display->display_options['menu']['context'] = 0;
  $handler->display->display_options['menu']['context_only_inline'] = 0;
  $export['webinar_registration_detail'] = $view;

  return $export;
}
