export const SEX_OPTIONS = [
  { value: "F", label: "Femme" },
  { value: "M", label: "Homme" },
  { value: "AUTRE", label: "Autre / non précisé" },
] as const;

export const DIABETES_TYPE_OPTIONS = [
  { value: "TYPE_1", label: "Type 1" },
  { value: "TYPE_2", label: "Type 2" },
  { value: "GESTATIONNEL", label: "Gestationnel" },
  { value: "AUTRE", label: "Autre" },
] as const;

export const SEX_VALUES = SEX_OPTIONS.map((o) => o.value);
export const DIABETES_TYPE_VALUES = DIABETES_TYPE_OPTIONS.map((o) => o.value);

export const SEX_LABELS: Record<string, string> = Object.fromEntries(
  SEX_OPTIONS.map((o) => [o.value, o.label])
);
export const DIABETES_TYPE_LABELS: Record<string, string> = Object.fromEntries(
  DIABETES_TYPE_OPTIONS.map((o) => [o.value, o.label])
);
