Skip to main content

Calendar Domain

Domain Summary

The Calendar domain manages benefit calendars and entries for healthcare services provided to clients. It handles the scheduling, tracking, and management of benefit services over time, allowing healthcare providers to plan and organize care delivery.

This domain enables healthcare providers to create and maintain calendars of benefit services for clients, schedule services at specific dates and times, and adjust service schedules as needed. It serves as a critical component for care planning and service delivery within the healthcare platform.

Architectural Overview

The Calendar domain follows the standard domain architecture pattern.

Entities

  1. BenefitCalendarEntity - The aggregate root entity representing a benefit calendar for a client with:

    • Client identification
    • Residential park identification
    • Collection of calendar entries
  2. BenefitCalendarEntry - Entity representing a single entry in a benefit calendar with:

    • Date and time of day for the service
    • Benefit position data
    • Association with either a contract or prescription
    • Series identification for recurring services
  3. BenefitCalendarEntryId - Complex identifier for calendar entries that includes:

    • Client ID
    • Date
    • Time of day
    • Contract or prescription ID
    • Benefit index

Key Operations

Calendar Management

  • Create and retrieve benefit calendars for clients
  • Generate calendar entries based on contracts and prescriptions
  • Find unique entries for contracts

Entry Retrieval

  • Get calendar entries for a client within a date range
  • Get calendar entries for multiple clients within a date range
  • Filter entries by various criteria (date, time, benefit type)

Schedule Adjustment

  • Adjust calendar entries individually or as a series
  • Update time of day for service delivery
  • Modify service dates

Series Management

  • Identify entries that are part of the same series
  • Apply changes to all entries in a series
  • Track recurring services

Integration with Other Domains

The Calendar domain integrates with several other domains:

  1. Client Domain - Calendars are associated with clients
  2. Residential Park Domain - Calendars are organized by residential parks
  3. Interview Order Contract Domain - Calendar entries are generated from contracts
  4. Prescription Domain - Calendar entries are generated from prescriptions
  5. Benefit Domain - Calendar entries contain benefit position data