feat(patient): edit patient basic info (doctor/clinic/secretary)
Add PATCH /api/v1/patient/{uuid} to update User.realName + UserProfile
demographic/insurance fields (mobile stays immutable, national_code
uniqueness enforced). Expose name/family separately in profile payload.
Add edit modal in my-patients. Update patient.md.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -459,6 +459,8 @@ export interface SmsSettings {
|
||||
|
||||
export interface PatientProfile {
|
||||
full_name?: string | null;
|
||||
name?: string | null;
|
||||
family?: string | null;
|
||||
national_code?: string | null;
|
||||
gender?: string | null;
|
||||
date_of_birth?: number | null;
|
||||
@@ -469,7 +471,9 @@ export interface PatientProfile {
|
||||
home_phone?: string | null;
|
||||
work_phone?: string | null;
|
||||
mobile?: string | null;
|
||||
basic_insurance_id?: number | null;
|
||||
basic_insurance_name?: string | null;
|
||||
supplementary_insurance_id?: number | null;
|
||||
supplementary_insurance_name?: string | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user