<?php

/**
 * @file
 * hospital_site_content_type.features.inc
 */

/**
 * Implements hook_ctools_plugin_api().
 */
function hospital_site_content_type_ctools_plugin_api($module = NULL, $api = NULL) {
  if ($module == "field_group" && $api == "field_group") {
    return array("version" => "1");
  }
  if ($module == "page_manager" && $api == "pages_default") {
    return array("version" => "1");
  }
  if ($module == "panels" && $api == "pipelines") {
    return array("version" => "1");
  }
  if ($module == "strongarm" && $api == "strongarm") {
    return array("version" => "1");
  }
}

/**
 * Implements hook_node_info().
 */
function hospital_site_content_type_node_info() {
  $items = array(
    'article' => array(
      'name' => t('Main Site - News & Article'),
      'base' => 'node_content',
      'description' => t('This is used to enter news / article related content for main site.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'beds' => array(
      'name' => t('Beds'),
      'base' => 'node_content',
      'description' => t('This is used to enter beds information for various departments.'),
      'has_title' => '1',
      'title_label' => t('Bed Name / No'),
      'help' => '',
    ),
    'course' => array(
      'name' => t('Course'),
      'base' => 'node_content',
      'description' => t('This is used to enter course detail and syllabus'),
      'has_title' => '1',
      'title_label' => t('Course Name'),
      'help' => '',
    ),
    'department' => array(
      'name' => t('Department'),
      'base' => 'node_content',
      'description' => t('This is used to enter department details'),
      'has_title' => '1',
      'title_label' => t('Department Name'),
      'help' => '',
    ),
    'gallery' => array(
      'name' => t('Main Site - Gallery'),
      'base' => 'node_content',
      'description' => t('This is used to add photos for main site gallery.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'hospital' => array(
      'name' => t('Hospital / Clinic'),
      'base' => 'node_content',
      'description' => t('This is used to add hospital / clinic details'),
      'has_title' => '1',
      'title_label' => t('Hospital / Clinic Name'),
      'help' => '',
    ),
    'hospital_site_basic_page' => array(
      'name' => t('Hospital Site - Basic Page'),
      'base' => 'node_content',
      'description' => t('This is used to create basic pages for hospital site'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'hospital_site_gallery' => array(
      'name' => t('Hospital Site - Gallery'),
      'base' => 'node_content',
      'description' => t('This is used to upload pictures for hospital site gallery.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'hospital_site_news_events' => array(
      'name' => t('Hospital Site - News & Events'),
      'base' => 'node_content',
      'description' => t('This is used to create news & events for hospital site'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'hospital_site_slider' => array(
      'name' => t('Hospital Site - Slider'),
      'base' => 'node_content',
      'description' => t('This is used to add hospital site slider images.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'ipd_patients' => array(
      'name' => t('IPD Patients'),
      'base' => 'node_content',
      'description' => t('This is used to enter details of IPD Patients'),
      'has_title' => '1',
      'title_label' => t('IPD No'),
      'help' => '',
    ),
    'machines' => array(
      'name' => t('Machines'),
      'base' => 'node_content',
      'description' => t('This is used to manage machines of hospital'),
      'has_title' => '1',
      'title_label' => t('Machine Name'),
      'help' => '',
    ),
    'medicine' => array(
      'name' => t('Medicine Template'),
      'base' => 'node_content',
      'description' => t('This is used to add medicine template detail'),
      'has_title' => '1',
      'title_label' => t('Medicine Template Name'),
      'help' => '',
    ),
    'page' => array(
      'name' => t('Main Site - Basic page'),
      'base' => 'node_content',
      'description' => t('Use <em>basic pages</em> for your static content, such as an \'About us\' page.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'patient_complains_cases_' => array(
      'name' => t('Patient Complains (Cases)'),
      'base' => 'node_content',
      'description' => t('This is used to add patient case & complain details for OPD & IPD Patients'),
      'has_title' => '1',
      'title_label' => t('Complain Type'),
      'help' => '',
    ),
    'patients' => array(
      'name' => t('OPD Patients'),
      'base' => 'node_content',
      'description' => t('This is used to enter OPD patients detail.'),
      'has_title' => '1',
      'title_label' => t('OPD Registration No'),
      'help' => '',
    ),
    'pharmacy' => array(
      'name' => t('Pharmacy'),
      'base' => 'node_content',
      'description' => t('This is used to enter pharmacy details'),
      'has_title' => '1',
      'title_label' => t('Pharmacy Name'),
      'help' => '',
    ),
    'pharmacy_stock' => array(
      'name' => t('Pharmacy Stock'),
      'base' => 'node_content',
      'description' => t('This is used to add pharmacy stock detail'),
      'has_title' => '1',
      'title_label' => t('Item'),
      'help' => '',
    ),
    'room' => array(
      'name' => t('Ward / Room'),
      'base' => 'node_content',
      'description' => t('This is used to add ward / rooms under department.'),
      'has_title' => '1',
      'title_label' => t('Room No / Name'),
      'help' => '',
    ),
    'slider' => array(
      'name' => t('Main Site - Slider'),
      'base' => 'node_content',
      'description' => t('This is used to upload slider images for front page slider of main site.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'therapy_template' => array(
      'name' => t('Therapy Template'),
      'base' => 'node_content',
      'description' => t('This is used to enter therapy template details'),
      'has_title' => '1',
      'title_label' => t('Therapy Template Name'),
      'help' => '',
    ),
    'user_work_checklist' => array(
      'name' => t('User Work Checklist'),
      'base' => 'node_content',
      'description' => t('This is used to set user work checklist'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  drupal_alter('node_info', $items);
  return $items;
}
