/**
 * When true, the domain is served by the in-memory mock (apis/mockApi.ts) behind the
 * PatientsApi seam. The b3 `patients/*` endpoints are live, but the wire `PatientDto`
 * has no `relation`/`conditions` yet (filed as REQ-005), so this phase demos behind the
 * mock. Flip to false once those fields land — no hook/component changes are needed
 * (see dev/shared-working-context/reports/mocks-registry.md).
 */
export const USE_PATIENTS_MOCK = false;

export const PATIENTS_STALE_TIME = 60_000;

/** api-conventions default page size; `pageSize` ≤ 100. */
export const PATIENTS_PAGE_SIZE = 50;

/**
 * Relation of the care recipient to the signed-in customer (payer ≠ patient). A stable
 * enum code, i18n-labelled — never a hardcoded Persian string in logic. Client-augmented:
 * not on the wire `PatientDto` yet (REQ-005); carried on create and stored by the mock.
 */
export const RELATION_CODES = ['parent', 'spouse', 'child', 'self'] as const;

/**
 * Common patient conditions surfaced as multi-select chips (A4). Client-augmented (REQ-005);
 * carried on create and stored by the mock. Codes are stable; labels are i18n keys.
 */
export const CONDITION_CODES = ['elderly', 'post_surgery', 'diabetes', 'mobility', 'dementia'] as const;
