Beyond Batch Processing: Engineering Real-Time Clinical Convergence with the Perform+ Quality Measures Engine

A member with diabetes gets an HbA1c test on March 4. The lab result reaches the health information exchange the same afternoon. The health plan’s quality dashboard reflects it sometime in May, after the claim is adjudicated, the monthly extract runs, the supplemental file is loaded, and the HEDIS engine completes its next scheduled refresh. In the meantime, the member stays on an outreach list, a care manager calls about a test that was already done, and a provider scorecard shows a gap that has been closed for two months.

That lag is not a reporting problem. It is an engineering problem: health plans receive clinical and claims data as continuous streams, then process them as monthly batches. Closing the distance between when care happens and when a quality team can see it means rethinking how those streams are merged, reconciled, and evaluated, without breaking the schemas, controls, and audit trails that certified HEDIS reporting depends on.

Where the lag actually comes from

Most plans assume the delay sits in the measure engine. In practice, the engine is usually the fastest step. The lag accumulates upstream:

  • Claims adjudication and run-out. A professional claim can take weeks to arrive and adjudicate. Quality programs that wait for paid claims inherit that delay for every measure the claim touches.
  • Extract schedules. Enterprise data warehouses often refresh claims, enrollment, and provider data on monthly or weekly cycles, and the quality data mart refreshes after them.
  • Supplemental data batching. Lab, EHR, and registry feeds are frequently delivered as periodic files, validated by hand, and loaded in bulk before each scheduled engine run.
  • Full-population recomputation. When every run recalculates every measure for every member, the run has to be scheduled, and the schedule becomes the refresh rate.
  • Delivery latency. Even after gaps are computed, they reach providers through monthly PDF reports or portal downloads, which adds another cycle before anyone acts.

Removing the lag means attacking each of these, not just running the engine more often.

Four streams, four clocks: the convergence problem

Real-time clinical convergence means combining data sources that arrive at different speeds, in different formats, and with different levels of reliability into one current view of each member’s measure status.

Stream Typical format Arrival pattern What it contributes to quality measurement
Encounter events HL7 v2 ADT, often routed through an HIE Near real time Admissions, discharges, and ED visits that trigger follow-up and transition-of-care measures
Clinical results and documents HL7 v2 ORU, C-CDA, FHIR Observation, DiagnosticReport, Immunization Minutes to days Lab values, screenings, immunizations, and vitals that close numerators or establish exclusions
Claims and encounters X12 837 professional and institutional, adjudication outcomes Days to weeks, with corrections Services rendered, diagnoses, and procedure codes that define denominators and numerators
Enrollment and pharmacy X12 834, pharmacy claims Daily to monthly Continuous enrollment, product line, and medication dispensing events

Each stream runs on its own clock, and none of them is complete on its own. A lab result can confirm a numerator event days before the claim for the same visit arrives. An ADT discharge can open a follow-up window that no claim will reflect for weeks. Hospital ADT feeds have become more reliable since CMS made patient event notifications a Condition of Participation for hospitals using conformant electronic systems, and they are often delivered through HIEs. Convergence is the work of merging those clocks into one consistent state for each member.

Merging streams without breaking schemas

The fastest way to break a real-time quality pipeline is to join raw source schemas directly. One EHR upgrade that renames a segment field, or one vendor that adds a column to a flat file, quietly corrupts every downstream measure. Streaming makes this worse, because there is no overnight window to catch the problem before results publish.

Four engineering patterns keep convergence stable:

  1. A canonical event envelope. Wrap every inbound record, whatever its source, in a standard envelope: member identifier, source system, source category, event time, received time, record type, and a content hash. Downstream processors read the envelope first and the payload second. Routing, deduplication, and lineage all work from the envelope, so a new source can come online without changes to consumers.
  2. A canonical clinical payload. Normalize payloads into one versioned clinical model, typically FHIR R4 resources with defined profiles, before they reach the convergence layer. Source-specific mapping logic stays at the edge, in one adapter per source, and never leaks into measure logic.
  3. Schema registry with enforced compatibility. Register every topic’s schema and enforce compatibility rules on change. Additive changes, such as new optional fields, pass through. Breaking changes, such as removed or retyped fields, are rejected at publish time instead of discovered at measure time. Version the schema alongside the adapter that produces it.
  4. Quarantine, never drop. Records that fail validation go to a dead-letter topic with the failure reason attached, and a monitored workflow resolves them. A silently dropped lab result is a care gap that never closes, and nobody knows why.

Stateful convergence: identity, duplicates, and late or corrected data

Stateless stream processing, which transforms each record and passes it along, is the easy part. Quality measurement is stateful: whether a member is compliant depends on everything known about that member across the measurement period. Three problems decide whether a real-time view can be trusted.

Member identity, resolved in the stream. Clinical sources identify patients by MRN, HIE identifiers, or demographics. Claims use subscriber and member IDs. The convergence layer needs an enterprise identity service that resolves every inbound record to a single member key before state is updated. Records that cannot be matched with confidence go to a review queue rather than being guessed into a member’s record, because a false match can close a gap for the wrong person.

The same service, seen twice. One HbA1c test can appear as a lab result with a LOINC code and a numeric value, and weeks later as a claim with a CPT Category II code. Both are valid evidence, and they must not be double-counted or treated as conflicting. Key clinical events on business attributes (member, service type, service date, and performing provider) so that later evidence enriches an existing event instead of creating a new one. Keep both source records attached for lineage.

Late, reversed, and corrected data. Claims are routinely replaced or voided after the fact, using the claim frequency type code on the 837. Lab results are corrected. Eligibility is retroactively terminated. A streaming design must treat these as first-class events:

  • Process on event time (date of service) rather than arrival time, so a late claim lands in the right measurement window.
  • Use watermarks and allowed lateness that reflect real healthcare latency, which is measured in weeks, not seconds.
  • Make every update an idempotent upsert keyed on the business key, so replays and retries produce the same state.
  • Propagate retractions: when a claim is voided, any gap closure that depended only on that claim must reopen.

Incremental measure evaluation and the gap state machine

Once member state stays current, the measure engine no longer has to recalculate the whole population to stay current. It can evaluate incrementally.

Index measures by data dependency. Each measure depends on a known set of value sets and resource types. When an event arrives, the engine re-evaluates only the measures that event can affect, and only for the member it belongs to. A new mammography result triggers breast cancer screening logic for one member, not a population-wide run.

Track gaps as a state machine. A care gap is not just open or closed. A practical model includes these states:

State Meaning Typical trigger
Open Member is in the denominator with no qualifying numerator evidence Enrollment, diagnosis, or age criteria met
Pending Evidence received but not yet validated, for example a provider-reported result awaiting proof of service Unvalidated clinical feed or attestation
Closed Qualifying evidence validated for the measurement period Validated lab, claim, or clinical record
Excluded Member meets a required or optional exclusion Hospice, palliative care, or measure-specific exclusion evidence
Reopened Prior closure retracted Claim void, corrected result, retroactive eligibility change

Every transition is recorded with the event that caused it. That history gives quality teams an exact answer to why a gap changed, and it is what keeps real-time status defensible.

Separate operational status from certified results. Real-time gap status is for action: outreach, provider engagement, and executive monitoring. Submitted HEDIS rates still come from the certified measure engine, run under audited controls on the final dataset. The two must use the same measure logic and the same converged data, so the operational view and the year-end rate do not diverge, but they serve different purposes. Plans that blur the line create audit risk. Plans that keep both on one platform avoid maintaining two versions of the truth.

Getting gaps to the people who close them

A gap that updates in seconds but reaches a provider in a monthly report has not eliminated the lag. It has moved it. Delivery needs to match the speed of convergence:

  • Standards-based gap exchange. The Da Vinci Data Exchange for Quality Measures IG defines Gaps in Care Reporting for communicating open and closed gaps between a payer’s system and a provider’s EHR, built on the same MeasureReport structure used for individual measure reporting. It gives payers and providers a common format instead of custom files.
  • Push, not pull. Topic-based FHIR Subscriptions, available on R4 servers through the Subscriptions R5 Backport IG, let a system notify subscribers when a gap opens or closes, so providers and care management platforms do not have to poll.
  • Workflow integration. Route gap changes into care management queues, provider portals, and point-of-care tools where a clinician can act during a visit, not after it.
  • Freshness on executive dashboards. Display data currency next to every metric: when each source last landed and how much data is still in quarantine. An executive who sees “as of 10 minutes ago” on a rate can act on it. One who sees an unlabeled number cannot tell whether it is current.

Where Perform+ Quality fits

The patterns above describe what a real-time quality platform has to do. Perform+ Quality brings the measure engine, medical record review, submission, and analytics and reporting together. Its real-time compliance updates and configurable automated workflows help quality and care management teams prioritize gap closure across regulatory programs. Its NCQA-certified HEDIS measure engine is designed to exchange member care gaps with providers and external entities in real time.

CitiusTech has applied this approach in production. For a leading Blue Cross Blue Shield plan, it implemented a real-time HEDIS engine on Azure and Databricks. The engine consolidated multiple quality and value-based care programs onto one platform and enabled real-time care gap closure across lines of business. For another health plan, CitiusTech modernized the care gaps engine with an event-driven architecture on AWS and added real-time data streaming for enterprise payer workflows. And the largest Blue plan on the East Coast, with more than 4 million subscribers and over 6 million care gaps closed each year, worked with CitiusTech to use clinical data beyond claims and manual chart chases. The program improved gap closures and delivered $10 million in annual savings.

For plans moving from monthly quality refreshes to continuous gap tracking, the combination is what matters: a certified measure engine, plus the streaming and data engineering work it depends on.

"DEHYDRATED FOODS The New-Age Snack?"