chore(labs): drop the pending-consumer markers now that the readers have landed

This commit is contained in:
Marc-André Bombeck committed 2026-10-14 19:35:00 +02:00
1 parent 42b66b2228
commit f564c44753
2 files changed
+6 -7

No files matched your search

+3 -3
View File
@@ -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")
+3 -4
View File
@@ -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;