Case Study
Pharmacy Benefit Management Company
AHEAD helped a leading PBM turn fragmented claims, pharmacy, and rebate data into a governed data platform for decision-making and AI experimentation.
AWS

The Prescription 

Running a pharmacy benefit is a many-to-many job. A PBM has to coordinate health plans, employers, pharmacies, prescribers, manufacturers, claims, and contracts — just to name a few. This leading PBM manages millions of prescription claims, works with hundreds of pharmacy partners, and supports dozens of health plans and pharmaceutical manufacturers. Its business depends on turning complex data into practical decisions: which drugs are being used, where costs are moving, whether formularies are performing, and how members are getting the care they need. 

The Wrong Dose 

The company had plenty of data. What it needed was a better way to use it. 

Fragmented Data, Fragmented Truth. Data was scattered across internal databases, SaaS applications, spreadsheets, and reporting tools. Each business team had its own version of the truth. That made it difficult to reach a shared view of performance or compare metrics like formulary adherence and rebate yield. 

Costly to Extend. Thousands of mappings, along with a large collection of source-specific processes, made new integrations expensive to maintain. A new data source could take weeks to onboard, integrate, and troubleshoot. 

Manual Reconciliation. Manual data extracts and spreadsheet-driven reconciliation slowed analysis and led to inconsistent results. 

Weak Governance. Without stronger governance and lineage, every data request threatened to turn into a full-blown platform project. 

Anyone who’s ever worked in a pharmacy knows how busy it can get. What the PBM needed was a partner who could help it create a data environment that ingested information once, governed it properly, made it reusable, and supported today’s analytics and tomorrow’s machine learning.

Rewriting the Script 

This engagement aligned with four areas of AHEAD’s expertise. 

  • Data Platform Modernization: Creating a central data lake and common data patterns so data could be used together. 
  • Platform & Workload Modernization: Replacing source-specific processes with reusable, metadata-driven ingestion and transformation patterns. 
  • Secure & Resilient Architecture: Establishing role-based access, governance, cataloging, and auditable data controls for a regulated industry. 
  • Operational Excellence: Automating data quality, routing, transformation, and reporting workflows so the platform could remain useful after launch. 

The work unfolded across three phases: 

Advise 

AHEAD began by helping define a durable data strategy. Teams assessed the existing warehouse and ETL environment to map the most important data domains and identify dependencies. The target design was architecture driven by metadata and aligned with organizational goals. To get there, teams had to establish repeatable patterns for ingestion, routing, cleansing, and consumption, rather than build custom pipelines for every source and use case. 

Teams also defined common data models for various business domains: claims, pharmacy, finance, drug, prescriber, and utilization management. The canonical models gave the PBM a way to represent data consistently, despite being from different sources. 

Why the Groundwork Mattered: Modernization became a shared operating model for business teams and analysts, with data architecture, governance, and business priorities all considered together from the start. 

Build 

AHEAD and the PBM then got to work building a secure, cloud-native data platform on AWS. Data from internal databases, SaaS applications, and partner systems was ingested into Amazon S3. This created a single, centralized environment for storage, processing, analytics, and machine learning. AWS Lake Formation provided the role-based access and governance for those newly centralized resources. Data was then cataloged, so users could quickly search for and access it. 

Teams used this opportunity to build repeatable pipelines that cleaned and transformed prescription claims, rebate data, and other key sources. AWS Glue, DataBrew, and EMR handled the profiling, enrichment, error resolution, and transformation. Other use cases supported streaming services for claims adjudication, fraud detection, and alerting. Broader analytics were handled by Athena and Redshift Spectrum, which enabled queries across data stored in S3. QuickSight dashboards gave executives, analysts, and other stakeholders a single, shared view of formulary efficiency, rebate capture, member adherence, and other performance indicators. 

AHEAD also helped the PBM pilot predictive models for fraud detection, rebate revenue forecasting, drug utilization, and more. The added AI layer meant advanced analytics could be tested against real business problems. 

How It Came to Life: The PBM had a shared, reusable platform that could ingest data, then check, transform, catalog and consume it through a common set of patterns. 

Run 

The PBM can keep adding data sources, clients, and use cases to its new platform, with data models making it easier to reuse information across reporting and applications. This also means a clear division of responsibilities for business and technical teams alike. Engineers can focus on platform capabilities and complex integrations. Analysts can work with governed data through self-service tools. Data owners can participate in quality and access decisions with better visibility into how information is being used. 

How It Kept Delivering: The data lake is a living capability. Each new source, model, dashboard, and use case adds value instead of creating another isolated data silo. 

Ready for Pickup 

The PBM now has a modern analytics platform for growth, visibility, and informed decision-making. 

A Unified View. Data from across the business now lives in a governed environment, with reduced silos and less manual reconciliation. Analysis that once took days can now happen in minutes, through centralized data, self-service dashboards, and direct querying across S3. 

A Manageable Pipeline Footprint. Metadata-driven architecture reduced the number of pipelines by approximately 60 percent. This has lowered maintenance effort and made new integrations easier to support. 

Quality and Governance. Cataloging, role-based access, lineage, and quality checks give the PBM stronger control over data discovery and usage. That’s important when data includes claims, member, clinical, and financial information, and all of it has to be audit-ready.  

What’s Next 

With its scalable AWS data platform, the PBM can onboard new sources, refine common models, and apply machine learning. By building off its predictive-model pilots, the PBM can now extend those use cases for fraud detection, rebate optimization, and beyond. When it comes to regulated organizations, data modernization should be an operating model that helps them understand what the data is telling them, and how to capitalize on that information. AHEAD brings strategy, cloud architecture, and data engineering together to help move operations from scattered information and noble intentions to platforms actively doing useful work. 

AHEAD + AWS

Powering PBM innovation

The PBM now has a modern analytics foundation that supports growth, innovation, and better service to its clients and members. By combining AHEAD’s deep healthcare and data expertise with the power of AWS services, the organization is moving beyond reactive reporting to a future of proactive, AI-driven insights.

Whether it’s analyzing trends in drug utilization, optimizing rebate strategy, or detecting waste and abuse in real time, the PBM is now positioned to lead with data.

AWS Services

  • AWS Database Migration Service
  • AWS DataSync
  • Amazon AppFlow
  • Amazon S3
  • AWS Lake Formation
  • AWS Glue
  • AWS Glue DataBrew
  • Amazon EMR
  • Amazon Kinesis
  • Amazon Managed Streaming for Apache Kafka
  • Amazon Athena
  • Amazon Redshift Spectrum
  • Amazon QuickSight
  • Amazon SageMaker
  • Amazon AI services
Download PDF

Top Takeaways

AHEAD:

  • Migrated and cataloged enterprise data into a secure Amazon S3 data lake. 
  • Built repeatable, metadata-driven pipelines for prescription claims, member, pharmacy network, and rebate data. 
  • Replaced fragmented reporting with governed analytics for self-service dashboards and faster decision-making.