'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _reactIntl = require('react-intl');

var _columns = require('./columns');

var _columns2 = _interopRequireDefault(_columns);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = function () {
  return function () {
    return {
      recordTypes: {
        procedure: {
          columns: _columns2.default,
          messages: {
            record: (0, _reactIntl.defineMessages)({
              name: {
                'id': 'record.procedure.name',
                'defaultMessage': 'Procedures'
              },
              collectionName: {
                'id': 'record.procedure.collectionName',
                'defaultMessage': 'Procedures'
              }
            })
          },
          serviceConfig: {
            servicePath: 'servicegroups/procedure/items',
            serviceType: 'utility'
          }
        }
      }
    };
  };
};