Table of Contents |
---|
...
Capitation report starts periodically based on the value of configuration parameter CAPITATION_REPORT_SCHEDULE
Configuration
Parameter | Description | Value |
---|---|---|
CAPITATION_REPORT_SCHEDULE | (Cron Format) How often to run capitation report | `* 1 * * *` for prod
|
CAPITATION_REPORT_VALIDATE_SIGNATURE | true |
Specification
Prepare dataset
...
Create report record in capitation_reports. Result with zero values are also saved to report.
- For each contract in billing prepare temporary dataset with zero values for each key (age group | mountain group)
- Update this dataset with real number of declarations for each key
Attribute | Description |
---|---|
id | Generated on Step 2 report_id |
billing_date | Determined on Step 1 billing_date |
created_at | Created at date time |
...