feat: add supplementary insurance select to patient record info form
The «اطلاعات پرونده» form only exposed basic insurance («نوع بیمه»). Add a
«بیمه تکمیلی» select next to it, wired to the supplementary insurances from
insurance-pricing. Backend PATCH /api/v1/patient/{uuid} already accepts
supplementary_insurance_id (UserProfile entity + controller) — frontend-only:
schema field, form select, profileToFormValues/formValuesToPayload mapping,
PatientProfileUpdate type, and the supplementary option passed from both the
case-file info tab (PatientDetailPage) and MyPatientsPage.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -531,6 +531,7 @@ export interface PatientProfileUpdate {
|
||||
field_of_study?: string | null;
|
||||
job?: string | null;
|
||||
basic_insurance_id?: number | null;
|
||||
supplementary_insurance_id?: number | null;
|
||||
province_id?: number | null;
|
||||
city_id?: number | null;
|
||||
home_phone?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user