Enabling AI Receptionist (AIR) for a Location — Part 2
Why This Matters
Slot calculation is the core mechanism behind AI Receptionist availability — getting it wrong means patients see empty or incorrect booking windows. Understanding why Weave favors its own calculated availability over PMS-native availability APIs directly affects how you debug Online Scheduling failures and make architecture decisions for new integrations. The Dentrix Enterprise (DXE) incident discussed here is a concrete, real-world example of how a seemingly convenient shortcut creates long-term maintenance debt.
What You'll Learn
- How Weave calculates real-time appointment availability using schedule settings and booked slot subtraction
- What 'direct availability' (partner availability) means and how some PMS provide it via API or stored procedure
- Why the Integrations team removed the direct availability capability from the DXE capability API and fell back to Weave calculated availability
- The specific failure mode that caused DXE to return empty slots when using partner availability
- Why PMS-native availability is considered a poor design choice: black-box debugging, PMS-specific configuration assumptions, and maintenance cost
- The distinction between Weave calculated availability (agnostic to PMS UI settings) and partner availability (tightly coupled to PMS UI configuration)
- The future complexity risk when migrating existing customers from partner availability to Weave calculated availability
Watch Video
Lesson Summary
Weave calculated availability works by taking all configured availability rules from Weave's schedule settings — specifying which doctors can perform which services at which times — and subtracting all currently booked appointment slots fetched in real time via integration APIs. Some PMS systems offer an alternative: a direct availability API or stored procedure that returns open slots natively, called partner availability. The Integrations team had previously implemented logic to prefer partner availability when a PMS declared that capability, falling back to Weave calculated availability when not present. For Dentrix Enterprise, a stored procedure-based partner availability was implemented and advertised in the capability API. This caused AIR to return empty available slots because the availability was not correctly configured inside the PMS UI — a prerequisite the team had no visibility into or control over. The fix was to remove the direct availability capability declaration from the DXE capability API entirely, forcing fallback to Weave calculated availability, which is the same approach used for ProDent. The broader architectural argument against partner availability is that it introduces PMS-specific configuration assumptions that are opaque to Weave engineers, creates a debugging black hole since Weave has no insight into partner calculation logic, violates the goal of building PMS-agnostic scalable solutions, and generates long-term maintenance cost that far outweighs any short-term development savings. DXE is currently on Weave calculated availability, which is the preferred strategy, though the team acknowledges that future integrations with existing customers already using partner availability will require a migration strategy that has not yet been solved.