Natzar Partner API Reference - v1.0.0
    Preparing search index...

    Function openWindow

    • Make the physician available for [start, end) on date — the calendar's "paint availability" gesture.

      Time off covering the window is cut back first (that is what the gesture means), then an open exception is added unless the weekly pattern already publishes the window. Nothing is ever added to the RULES: a one-day change stays a one-day change.

      Parameters

      • document: ScheduleDocument
      • args: {
            date: string;
            start: number;
            end: number;
            specialty?: ScheduleSpecialty;
            reason?: string | null;
        }

      Returns ScheduleDocument