fix(labs): remove BUN aliases from urea, correct DHEA-S molar mass
This commit is contained in:
@@ -85,7 +85,7 @@ export const ANALYTES: Analyte[] = [
|
||||
key: "dhea_s",
|
||||
display: "DHEA-S",
|
||||
canonicalUnit: "µmol/L",
|
||||
molarMass: 384.5,
|
||||
molarMass: 368.49,
|
||||
panel: "hormones",
|
||||
aliases: ["dhea-s", "dhea s", "dheas", "dehydroepiandrosterone sulfate"],
|
||||
},
|
||||
@@ -347,7 +347,12 @@ export const ANALYTES: Analyte[] = [
|
||||
canonicalUnit: "mmol/L",
|
||||
molarMass: 60.06,
|
||||
panel: "kidney",
|
||||
aliases: ["urea", "bun", "blood urea nitrogen"],
|
||||
// Deliberately no "bun"/"blood urea nitrogen" aliases: BUN mg/dL -> urea
|
||||
// mmol/L needs the nitrogen divisor (2N = 28.01 g/mol), not urea's own
|
||||
// molar mass (60.06). Mapping BUN here would silently under-convert by
|
||||
// ~2.14x. BUN rows stay unmapped (raw value preserved) until a proper
|
||||
// BUN analyte with its own divisor is added.
|
||||
aliases: ["urea"],
|
||||
},
|
||||
|
||||
// --- cbc ---
|
||||
|
||||
Reference in New Issue
Block a user