From f564c44753e57d38875f6d9f5f6c822378b78711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 14 Oct 2026 19:35:00 +0200 Subject: [PATCH] chore(labs): drop the pending-consumer markers now that the readers have landed --- prisma/schema.prisma | 6 +++--- src/lib/export/records-backup.ts | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index ee6de1b3c..9834872e9 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -6164,11 +6164,11 @@ model LabResult { sourceReferenceLow Float? @map("source_reference_low") sourceReferenceHigh Float? @map("source_reference_high") sourceReferenceText String? @map("source_reference_text") - /// @pending-consumer(#1095) v1.42 — the value as printed on the source + /// v1.42 — the value as printed on the source /// report, kept when a write converted it into the biomarker's canonical /// unit. NULL when no conversion happened. An edit that changes `value` clears it. sourceValue Float? @map("source_value") - /// @pending-consumer(#1095) v1.42 — the unit the source report printed, + /// v1.42 — the unit the source report printed, /// paired with `sourceValue`. sourceUnit String? @map("source_unit") /// When the sample was taken (UTC instant; wall-clock anchoring is the @@ -6239,7 +6239,7 @@ model Biomarker { /// and from the lab-entry pickers, but never deleted — its readings and /// canonical unit/range definition survive. hidden Boolean @default(false) @map("hidden") - /// @pending-consumer(#1095) v1.42 — the catalogue analyte this marker + /// v1.42 — the catalogue analyte this marker /// resolves to (alias list in `src/lib/labs/biomarker-catalog.ts`), which /// selects the unit-conversion table. NULL = not resolved; no conversion. analyteKey String? @map("analyte_key") diff --git a/src/lib/export/records-backup.ts b/src/lib/export/records-backup.ts index b35424830..b0ef9e7a2 100644 --- a/src/lib/export/records-backup.ts +++ b/src/lib/export/records-backup.ts @@ -95,9 +95,8 @@ export interface LabResultBackupEntry { sourceReferenceHigh: number | null; sourceReferenceText: string | null; /** - * @pending-consumer(#1095) The value and unit the source report printed, - * kept when a write converted it. Nothing writes them yet; the backup - * carries them so the conversion, when it lands, needs no backup change. + * The value and unit the source report printed, kept when a write + * converted the reading into its marker's unit. */ sourceValue?: number | null; sourceUnit?: string | null; @@ -125,7 +124,7 @@ export interface BiomarkerBackupEntry { panel: string | null; hidden: boolean; context: string | null; - /** @pending-consumer(#1095) The catalogue key the name resolves to. */ + /** The catalogue key the marker's name and unit resolve to. */ analyteKey?: string | null; createdAt?: string; updatedAt?: string;