← All case files
// case file
CASE / 12
UrgentIQ Events
PYTSQLSNOAPI
SCHEDULEDCHECKED ININ VISITCOMPLETENO-SHOWCASE 12VISIT STATUS EVENTS
● Shippedcase file · 12 / 16
Case
#12
Where
Yosi Health
Categories
Python · Modeling
Read
~2 min
/12

UrgentIQ Visit Status & Event Analytics

PythonSQLSnowflakeAPI
Event-driven pipeline, status timeline normalization, transition-duration analysis, configurable schema mapping. Eliminated manual lifecycle analysis.
+
The Problem

Visit lifecycle data lived in a noisy event stream from the UrgentIQ API. Some statuses were skipped, some were emitted out of order, and timestamps were UTC while reporting expected EST. Operations couldn't answer basic questions like "how long are visits stuck in checked-in status?"

The Approach

Built an incremental ingestion pipeline that normalizes status timelines (1 → N), gap-fills missing transitions with deterministic rules, standardizes timezone, and computes transition durations. Output is a clean lifecycle fact ready for funnel and bottleneck analysis.

Technical Details
  • API pagination & incremental ingestion
  • Status timeline gap-filling logic
  • UTC → EST timestamp normalization
  • Transition duration computation per status pair
  • Deduplication & configurable schema mapping
0
Manual analysis
↑
Visibility
Reusable
Framework