feat(migrations): update franchise to percentage in tenant_insurances and tenant_service_coverage
- Changed franchise_rials to franchise_percent in tenant_insurances and tenant_service_coverage tables. - Reset old rial values to 0/NULL as they are not convertible to percentage. feat(command): add SeedInsuranceScenarioCommand for seeding insurance data - Implemented a command to seed supplementary insurance contracts, patients, and claims for a specified doctor. - Includes functionality for purging existing scenario data and generating new entries with predefined contracts and patient scenarios.
This commit is contained in:
@@ -229,9 +229,17 @@ export interface ClaimPatientRow {
|
||||
total_approved_rials: number;
|
||||
total_paid_rials: number;
|
||||
overall_status: ClaimStatus;
|
||||
/** بیمههایی که این بیمار زیرشان مطالبه دارد — واژگان مطالبه: base | supplementary. */
|
||||
insurances: ClaimInsuranceRef[];
|
||||
last_activity_at: number;
|
||||
}
|
||||
|
||||
export interface ClaimInsuranceRef {
|
||||
insurance_id: number;
|
||||
insurance_name: string | null;
|
||||
kind: string | null;
|
||||
}
|
||||
|
||||
export interface ClaimStatusLogEntry {
|
||||
uuid: string;
|
||||
from_status: string | null;
|
||||
|
||||
Reference in New Issue
Block a user