Files
bsk/scripts
tiennm99 4273cba2bb feat(patients): patient management with VN geo + accent search (Phase 2 slice)
- bsk.customers (soft-delete) + provinces/wards geo tables; RLS: enrolled
  read, clinical-role write; geo read-only
- accent-insensitive search via unaccent wrapper + search_customers RPC
  (SECURITY INVOKER so RLS applies); name/phone contains
- patients list+search, create, edit; shared form with cascading
  province -> ward dropdown; clinical-role route gate; nav + vi/en
- audit-logged mutations; seed-geo script (db:seed-geo) for the geo dataset
2026-07-25 11:33:40 +07:00
..