Skip to main content

Residential Parks Domain

Domain Summary

The Residential Parks domain manages healthcare facilities that provide care services to clients. These residential parks are central entities in the healthcare system, serving as the organizational units where care services are delivered, staff is managed, and administrative operations are conducted.

Residential parks represent physical locations with addresses, contact information, and specific configurations for billing, invoicing, and service delivery. They serve as the foundation for organizing clients, employees, activities, and financial operations within the healthcare platform.

Architectural Overview

The Residential Parks domain follows the standard domain architecture pattern.

Entities

  1. ResidentialParkEntity - The aggregate root entity representing a residential park facility with:

    • Basic information (name, slug, address, location, contact details)
    • Financial configuration (point value factors, training levies)
    • Billing information (invoice addresses, institution codes, brands)
    • Administrative settings (journals, cost centers)
    • Integration configurations (AS Bremen)
    • Visual assets (logos)
    • Feature management settings
  2. ResidentialParkSettings - Abstract base class for various settings related to residential parks

    • ApartmentGroupJointCareSettings - Configuration for joint care across apartment groups
  3. ActivityTemplate - Templates for activities that can be scheduled in the residential park

    • Includes reference values, descriptions, and qualification requirements
  4. AbsenceReasonTemplate - Templates for absence reasons that can be used to track client absences

    • Includes activation status and type information
  5. PlannedActivity - Scheduled activities within the residential park

    • Includes timing, description, position, and qualification requirements
  6. ActivityPlan - Collection of planned activities organized by day and time

  7. RoutingSettings - Configuration for transit times between locations

    • Includes settings for same address and different address transit times

Key Operations

CRUD Operations

  • Create, read, update, and delete residential parks
  • Manage residential park settings and configurations

Financial Management

  • Update point value factors for billing calculations
  • Configure training levies for nursing and daycare services
  • Set up journals and cost centers for financial tracking

Billing Configuration

  • Configure invoice addresses for different service areas
  • Set up additional invoice messages
  • Enable and configure AS Bremen integration for billing

Template Management

  • Create, activate, deactivate, and delete absence reason templates
  • Create, activate, deactivate, and delete activity templates

Activity Planning

  • Add, move, update, and delete planned activities
  • Configure activity schedules across days and times

Feature Management

  • Enable and disable features for specific security roles
  • Control access to functionality based on roles

Settings Management

  • Create and update apartment group joint care settings
  • Configure transit settings for routing

Asset Management

  • Upload and manage logos for residential parks

Integration with Other Domains

The Residential Parks domain integrates with several other domains:

  1. Client Domain - Clients are associated with residential parks where they receive care
  2. Employee Domain - Employees work at specific residential parks
  3. Apartment Domain - Apartments and apartment groups are organized within residential parks
  4. Billing Domain - Billing operations are configured at the residential park level
  5. Tour Planning Domain - Tour planning uses residential park settings for routing and scheduling