Stories / Healthcare

Connecting pharmacy workflows to legacy data

An Azure data layer connecting a healthcare platform with pharmacy applications.

The client

A healthcare company whose platform kept patient data in legacy SQL systems, and which was building new pharmacy applications that needed to work with that data.

The problem

The legacy SQL systems delayed access to patient data. At the same time, the new pharmacy experiences had to preserve complex existing workflows while connecting to the existing systems.

Connecting each new application straight to legacy databases tends to tie it to old schemas and to the speed of those systems. The pharmacy work needed a layer in between.

What we did

We designed an Azure data layer between the healthcare platform and the pharmacy applications. The main pieces, and why each is there:

  • An Azure data lake. A shared place for data from the existing systems, so pharmacy integrations build on one foundation rather than each connecting to legacy systems on its own.
  • A change-data-capture (CDC) pipeline. CDC picks up changes as they are made in the source systems and passes them on, instead of relying on repeated bulk copies. That approach generally keeps the target closer to current and puts less load on the source systems.
  • REST APIs. Pharmacy applications reach the data through APIs, which gives them a stable interface that does not depend on the internals of the legacy databases.
  • Authentication. Access to patient data goes through an authentication layer (Keycloak).
  • Payment integration. Payments were integrated for the pharmacy applications.

APIs, backend systems and the modernization of existing systems are the core of our web application development work.

The stack

  • Cloud: Azure
  • Languages: Java, Python
  • Streaming and data stores: Kafka, PostgreSQL, Cassandra
  • Authentication: Keycloak

The outcome

The project created a shared data and API foundation for pharmacy integrations. It improved access to existing healthcare data and supports automated workflows.

In a similar spot?

If “A workflow is eating our team’s time” sounds like you, tell us. We will reply with what we would do first.

A related story