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
-
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
-
ResidentialParkSettings - Abstract base class for various settings related to residential parks
- ApartmentGroupJointCareSettings - Configuration for joint care across apartment groups
-
ActivityTemplate - Templates for activities that can be scheduled in the residential park
- Includes reference values, descriptions, and qualification requirements
-
AbsenceReasonTemplate - Templates for absence reasons that can be used to track client absences
- Includes activation status and type information
-
PlannedActivity - Scheduled activities within the residential park
- Includes timing, description, position, and qualification requirements
-
ActivityPlan - Collection of planned activities organized by day and time
-
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:
- Client Domain - Clients are associated with residential parks where they receive care
- Employee Domain - Employees work at specific residential parks
- Apartment Domain - Apartments and apartment groups are organized within residential parks
- Billing Domain - Billing operations are configured at the residential park level
- Tour Planning Domain - Tour planning uses residential park settings for routing and scheduling