"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _default = configContext => data => {
  const {
    deepGet,
    getPart
  } = configContext.recordDataHelpers;
  if (!data) {
    return '';
  }
  const common = getPart(data, 'concepts_common');
  if (!common) {
    return '';
  }
  const displayName = deepGet(common, ['conceptTermGroupList', 'conceptTermGroup', 0, 'termDisplayName']);
  return displayName;
};
exports.default = _default;