Academy / Week 5 / AIR & Schedule v3 / Enabling AI Receptionist (AIR) for a Location — Part 2

Enabling AI Receptionist (AIR) for a Location — Part 2

Lesson 18.4 ⏱ ~11 min Week 5

💡 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

Open in Google Drive 💡 Open in Drive for AI-powered transcript search and summaries

📋 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.

🏷 Key Concepts

Weave calculated availabilityPartner availability (direct availability)Capability APISchedule settings / availability rulesBooked slot subtractionPMS stored procedureDentrix Enterprise (DXE) fallback fixPMS-agnostic design principleEmpty slot failure modeBlack-box debugging riskPartner availability migration complexityOnline Scheduling availability strategy

⭐ Key Takeaways

01Always prefer Weave calculated availability over partner availability — it is PMS-agnostic, debuggable, and not dependent on how the office configures their PMS UI
02Never advertise a partner availability capability in the capability API unless you have confirmed the office has correctly configured availability in the PMS and you accept full debugging responsibility for that black box
03Check the capability API first when AIR returns empty slots — an incorrectly declared direct availability capability will silently bypass Weave calculated availability
04Remove a PMS's direct availability capability declaration to force fallback to Weave calculated availability, as was done for DXE
05Treat any solution that relies on correct PMS-side configuration as a design risk — misconfigured PMS settings will produce silent failures with no Weave-side observability
06Anticipate migration complexity when onboarding a PMS where existing customers are already using partner availability for Online Scheduling — switching them to Weave calculated availability is a non-trivial problem