Capabilities
We push the boundaries of what is possible to deliver groundbreaking solutions, driving transformative change, and shaping the future of evidence-based decision-making for improved health care outcomes.
$(document).ready(function () {
// Define sections with IDs, titles, and categories
const sections = [
{ id: "divMMRDetails", category: "mmr", title: "Combining qualitative and quantitative approaches for comprehensive insights" },
{ id: "divMCDCRI", category: "dccrp", title: "Managing and coordinating data for collaborative research initiatives" },
{ id: "divAE", category: "peiar", title: "Assessing effectiveness and implementing practical solutions" },
{ id: "divPHPA", category: "hpa", title: "Evaluating policies to promote positive health outcomes" },
{ id: "divCRADS", category: "crds", title: "Conducting research and providing evidence-based guidance for clinical decision-making" },
{ id: "divHE", category: "he", title: "Applying rigorous economic analyses to assess the quality, value, and cost-effectiveness of health care interventions, policies, and programs to inform decision-making and optimize resource allocation in the pursuit of better health outcomes" },
{ id: "divTA", category: "ta", title: "Providing expert guidance, consultation, and support to health care organizations, policymakers, and researchers in implementing best practices, utilizing cutting-edge methodologies, and navigating complex healthcare systems to achieve their goals in research, evaluation, and program implementation" },
{ id: "divDATR", category: "datr", title: "Creating, maintaining, and analyzing a registry of patients to provide insights on a specific condition or therapy, via electronic records and/or coordinating primary data collection" },
{ id: "divDHS", category: "dhs", title: "We partner with organizations to design, implement, and evaluate digital health solutions to improve health outcomes and reduce burden on health care providers" },
{ id: "divCQI", category: "cqi", title: "Working with Collaboratives to collect clinical data via hybrid EHR/manual data abstraction and to provide interactive reports on practice-level performance to ultimately improve the quality, cost efficiency, and outcomes of care" },
{ id: "divCTRS", category: "ctrs", title: "We ensure data quality through robust oversight and customized workflows, guaranteeing regulatory compliance and data integrity" }
];
// Iterate through the sections array to add functionality
$.each(sections, function (index, section) {
const $header = $(`#${section.id}`).closest('.col').find('h3');
// Add pointer and margin CSS
$header.css({ cursor: 'pointer', marginTop: '25px' });
// Add click functionality to toggle visibility
function toggleSection() {
const $currentDiv = $(`#${section.id}`);
// Hide all other sections
$('.content-container > div').not($currentDiv).slideUp(400).removeClass('showing');
// Toggle the clicked section
if (!$currentDiv.hasClass('showing')) {
$currentDiv.slideDown(400).addClass('showing').promise().done(function () {
const headerPosition = $header.offset().top;
const fixedHeaderHeight = $('header').outerHeight() || 0;
$('html, body').animate({
scrollTop: headerPosition - fixedHeaderHeight - 25
}, 400);
});
} else {
$currentDiv.slideUp(400).removeClass('showing');
}
}
// Assign click event
$header.click(toggleSection);
// Add hover functionality
$header.hover(
function () {
$(this).css({ color: 'white', textDecoration: 'underline' });
},
function () {
$(this).css({ color: '#9ED1FF', textDecoration: 'none' });
}
);
// Add ID, title, and category as attributes
$header.attr({ id: `${section.id}Title`, title: section.title, "data-category": section.category });
// Initialize Tippy.js for tooltips
tippy(`#${section.id}Title`, {
arrow: true,
theme: 'light left-align',
});
// Handle URL-based navigation on page load
const anchor = $(location).attr('hash')?.substring(1); // Get the anchor without the #
const anchor2 = anchor.replace('_','');
//console.log('anchor: ' + anchor);
//console.log('anchor2: ' + anchor2);
if (anchor && section.category.toLowerCase() === anchor.toLowerCase()) {
//console.log('found the non _ version');
toggleSection();
} else if(anchor2 && section.category.toLowerCase() === anchor2.toLowerCase()){
//console.log('found the _ version');
toggleSection();
}
});
//If on capabilities page - override AVADA menu link behaviors
adjustCapabilitiesMenus();
//One-offs
$('h3').filter(function() {
if($(this).text().trim() === 'Real-World Evidence (RWE)'){
$(this).css('padding-top','25px').attr('title','Real World Evidence (RWE)').attr('id','h3RWE');
tippy('#h3RWE', {arrow: true, theme: 'light left-align'});
} else if($(this).text().trim() === 'Health IT Solutions'){
$(this).css('padding-top','25px').attr('title','Health IT Solutions').attr('id','h3hits');
tippy('#h3hits', {arrow: true, theme: 'light left-align'});
}
});
});
function toggleSectionbyID(chosenSection){
$('[data-category="' + chosenSection + '"]').click();
}
function adjustCapabilitiesMenus(){
$('a[href*="/capabilities"]').each(function () {
const href = $(this).attr('href');
if (href.includes('/capabilities')) {
const newHref = '.' + href.substring(href.indexOf('/capabilities'));
$(this).attr('href', newHref);
}
});
}