LabLens / lablens /data /catalog.yaml
Imene-ee's picture
Upload 19 files
dab7db2 verified
Raw History Blame Contribute Delete
18.5 kB
# LabLens test catalog.
#
# Each test has:
# canonical_unit unit used internally for critical thresholds
# units accepted unit spellings -> multiply factor to canonical unit
# typical_range adult reference interval in canonical unit (used ONLY when the
# report prints no range of its own)
# critical life-threatening thresholds in canonical unit (deterministic escalation)
# plausible physiologically possible bounds; values outside are treated as a
# likely misread (e.g. a dropped decimal point) and sent for review
# aliases names as printed on reports (en / fr / ar), matched case-insensitively
# kb plain-language knowledge used to ground explanations
#
# Critical thresholds are conservative values drawn from commonly published hospital
# critical-value lists. They are a safety net, not a diagnosis, and every lab sets its own.
tests:
hemoglobin:
display: {en: Hemoglobin, fr: Hémoglobine, ar: الهيموغلوبين, darija: "الهيموغلوبين"}
category: blood_count
canonical_unit: g/dL
units: {"g/dl": 1, "g/l": 0.1, "mmol/l": 1.611}
typical_range: [12.0, 17.0]
critical: {low: 7.0, high: 20.0}
plausible: [2, 25]
aliases:
en: [hemoglobin, haemoglobin, hgb, hb]
fr: [hémoglobine, hemoglobine]
ar: [الهيموغلوبين, هيموغلوبين, خضاب الدم]
kb:
what: The protein in red blood cells that carries oxygen from the lungs to the rest of the body.
low: Often seen with anemia, which can come from iron deficiency, blood loss, low vitamin B12 or folate, or chronic illness. People may feel tired or short of breath.
high: Can be seen with dehydration, smoking, living at high altitude, or conditions where the body makes too many red cells.
hematocrit:
display: {en: Hematocrit, fr: Hématocrite, ar: الهيماتوكريت, darija: "الهيماتوكريت"}
category: blood_count
canonical_unit: "%"
units: {"%": 1, "l/l": 100}
typical_range: [36.0, 50.0]
critical: {low: 20.0, high: 60.0}
plausible: [8, 75]
aliases:
en: [hematocrit, haematocrit, hct]
fr: [hématocrite, hematocrite]
ar: [الهيماتوكريت, هيماتوكريت]
kb:
what: The share of your blood volume made up of red blood cells.
low: Usually moves together with hemoglobin and can point to anemia or blood loss.
high: Can reflect dehydration or an excess of red blood cells.
rbc:
display: {en: Red blood cells, fr: Globules rouges, ar: كريات الدم الحمراء, darija: "الكريات الحمرا"}
category: blood_count
canonical_unit: "10^6/µL"
units: {"10^6/µl": 1, "10^6/ul": 1, "10^6/mm3": 1, "10^12/l": 1, "t/l": 1, "m/µl": 1, "/mm3": 0.000001}
typical_range: [4.2, 5.9]
critical: {}
plausible: [1, 9]
aliases:
en: [red blood cells, red blood cell count, rbc, erythrocytes]
fr: [globules rouges, hématies, hematies, érythrocytes]
ar: [كريات الدم الحمراء, الكريات الحمراء]
kb:
what: The number of red blood cells, which carry oxygen.
low: Can be part of anemia.
high: Can be seen with dehydration or conditions that raise red cell production.
mcv:
display: {en: Mean corpuscular volume, fr: VGM, ar: متوسط حجم الكرية, darija: "حجم الكريات (VGM)"}
category: blood_count
canonical_unit: fL
units: {"fl": 1, "µm3": 1, "um3": 1}
typical_range: [80.0, 100.0]
critical: {}
plausible: [50, 140]
aliases:
en: [mcv, mean corpuscular volume, mean cell volume]
fr: [vgm, volume globulaire moyen]
ar: [متوسط حجم الكرية, حجم الكرية الوسطي]
kb:
what: The average size of your red blood cells.
low: Small red cells are often linked to iron deficiency or inherited conditions such as thalassemia trait.
high: Large red cells can be linked to low vitamin B12 or folate, alcohol use, some medicines, or thyroid and liver issues.
wbc:
display: {en: White blood cells, fr: Globules blancs, ar: كريات الدم البيضاء, darija: "الكريات البيض"}
category: blood_count
canonical_unit: "10^3/µL"
units: {"10^3/µl": 1, "10^3/ul": 1, "10^3/mm3": 1, "10^9/l": 1, "g/l": 1, "k/µl": 1, "/mm3": 0.001, "/µl": 0.001}
typical_range: [4.0, 11.0]
critical: {low: 2.0, high: 30.0}
plausible: [0.1, 300]
aliases:
en: [white blood cells, white blood cell count, wbc, leukocytes, leucocytes]
fr: [globules blancs, leucocytes]
ar: [كريات الدم البيضاء, الكريات البيضاء]
kb:
what: The cells of your immune system that fight infection.
low: Can follow viral infections, some medicines, or problems with bone-marrow production; very low counts raise infection risk.
high: Often a response to infection, inflammation, stress or steroids; less often a blood disorder.
platelets:
display: {en: Platelets, fr: Plaquettes, ar: الصفائح الدموية, darija: "الصفائح (plaquettes)"}
category: blood_count
canonical_unit: "10^3/µL"
units: {"10^3/µl": 1, "10^3/ul": 1, "10^3/mm3": 1, "10^9/l": 1, "g/l": 1, "k/µl": 1, "/mm3": 0.001, "/µl": 0.001}
typical_range: [150.0, 400.0]
critical: {low: 50.0, high: 1000.0}
plausible: [2, 2500]
aliases:
en: [platelets, platelet count, plt]
fr: [plaquettes, numération plaquettaire]
ar: [الصفائح الدموية, الصفائح]
kb:
what: Small cell fragments that help your blood clot.
low: Can follow infections, some medicines, or immune or bone-marrow conditions; very low counts raise bleeding risk.
high: Often a reaction to inflammation, infection or iron deficiency.
glucose:
display: {en: Fasting glucose, fr: Glycémie à jeun, ar: سكر الدم الصائم, darija: "السكر فالدم (على الريق)"}
category: metabolic
canonical_unit: mg/dL
units: {"mg/dl": 1, "g/l": 100, "mmol/l": 18.016}
typical_range: [70.0, 99.0]
critical: {low: 50.0, high: 400.0}
plausible: [10, 1500]
aliases:
en: [fasting glucose, glucose, fasting blood sugar, blood glucose]
fr: [glycémie à jeun, glycemie a jeun, glycémie, glycemie, glucose]
ar: [سكر الدم الصائم, سكر الدم, الغلوكوز]
kb:
what: The amount of sugar in your blood after not eating, usually for 8 hours or more.
low: Can happen with some diabetes medicines, long fasting or, rarely, hormone problems.
high: Can point to prediabetes or diabetes, especially if repeated; stress, illness and some medicines can also raise it.
hba1c:
display: {en: HbA1c, fr: Hémoglobine glyquée, ar: الهيموغلوبين السكري, darija: "السكر التراكمي (HbA1c)"}
category: metabolic
canonical_unit: "%"
units: {"%": 1}
typical_range: [4.0, 5.6]
critical: {}
plausible: [3, 20]
aliases:
en: [hba1c, a1c, glycated hemoglobin, glycated haemoglobin]
fr: [hémoglobine glyquée, hemoglobine glyquee, hba1c]
ar: [الهيموغلوبين السكري, السكر التراكمي]
kb:
what: Your average blood sugar over the past two to three months.
low: Rarely a concern on its own; can be affected by anemia or recent blood loss.
high: 5.7 to 6.4% is commonly called the prediabetes range and 6.5% or above is a threshold used for diagnosing diabetes, which a doctor confirms.
creatinine:
display: {en: Creatinine, fr: Créatinine, ar: الكرياتينين, darija: "الكرياتينين"}
category: kidney
canonical_unit: mg/dL
units: {"mg/dl": 1, "µmol/l": 0.01131, "umol/l": 0.01131, "mg/l": 0.1}
typical_range: [0.6, 1.2]
critical: {}
plausible: [0.1, 25]
aliases:
en: [creatinine, serum creatinine]
fr: [créatinine, creatinine, créatininémie]
ar: [الكرياتينين, كرياتينين]
kb:
what: A waste product from muscles that the kidneys filter out; it is used to estimate kidney function.
low: Usually not a concern; often seen with low muscle mass.
high: Can mean the kidneys are filtering less well; dehydration, high muscle mass and some medicines can also raise it.
urea:
display: {en: Urea, fr: Urée, ar: اليوريا, darija: "اليوريا (urée)"}
category: kidney
canonical_unit: mg/dL
units: {"mg/dl": 1, "g/l": 100, "mmol/l": 6.006}
typical_range: [15.0, 45.0]
critical: {}
plausible: [2, 400]
aliases:
en: [urea, blood urea]
fr: [urée, uree, urémie]
ar: [اليوريا, البولة]
kb:
what: A waste product from protein breakdown that the kidneys remove.
low: Can be seen with low protein intake or liver conditions.
high: Can reflect dehydration, a high-protein diet, or reduced kidney function.
sodium:
display: {en: Sodium, fr: Sodium, ar: الصوديوم, darija: "الصوديوم"}
category: electrolytes
canonical_unit: mmol/L
units: {"mmol/l": 1, "meq/l": 1}
typical_range: [135.0, 145.0]
critical: {low: 120.0, high: 160.0}
plausible: [95, 190]
aliases:
en: [sodium, na]
fr: [sodium, natrémie, natremie, na+]
ar: [الصوديوم]
kb:
what: A salt that keeps your body's water balance and nerves working.
low: Can come from drinking a lot of water, some diuretics, vomiting or hormone and heart conditions.
high: Usually reflects dehydration or not drinking enough.
potassium:
display: {en: Potassium, fr: Potassium, ar: البوتاسيوم, darija: "البوتاسيوم"}
category: electrolytes
canonical_unit: mmol/L
units: {"mmol/l": 1, "meq/l": 1}
typical_range: [3.5, 5.1]
critical: {low: 2.8, high: 6.2}
plausible: [1.2, 10]
aliases:
en: [potassium, k]
fr: [potassium, kaliémie, kaliemie, k+]
ar: [البوتاسيوم]
kb:
what: A mineral essential for your heart rhythm and muscles.
low: Can come from vomiting, diarrhea or some diuretics.
high: Can come from kidney problems or some medicines; a sample that was handled roughly can also read falsely high.
calcium:
display: {en: Calcium, fr: Calcium, ar: الكالسيوم, darija: "الكالسيوم"}
category: electrolytes
canonical_unit: mg/dL
units: {"mg/dl": 1, "mmol/l": 4.008, "mg/l": 0.1}
typical_range: [8.5, 10.5]
critical: {low: 6.5, high: 13.0}
plausible: [3, 20]
aliases:
en: [calcium, total calcium, ca]
fr: [calcium, calcémie, calcemie]
ar: [الكالسيوم]
kb:
what: A mineral for bones, muscles, nerves and the heart.
low: Can be linked to low vitamin D, low albumin or parathyroid conditions.
high: Can be linked to parathyroid conditions, too much vitamin D or calcium supplements, or other conditions a doctor should look at.
cholesterol_total:
display: {en: Total cholesterol, fr: Cholestérol total, ar: الكوليسترول الكلي, darija: "الكوليسترول الكل"}
category: lipids
canonical_unit: mg/dL
units: {"mg/dl": 1, "g/l": 100, "mmol/l": 38.67}
typical_range: [0.0, 200.0]
critical: {}
plausible: [40, 1000]
aliases:
en: [total cholesterol, cholesterol]
fr: [cholestérol total, cholesterol total, cholestérol]
ar: [الكوليسترول الكلي, الكوليسترول]
kb:
what: All the cholesterol carried in your blood.
low: Rarely a concern.
high: Raises long-term heart and blood-vessel risk, especially together with high LDL; diet, activity, genetics and medicines all play a role.
ldl:
display: {en: LDL cholesterol, fr: LDL-cholestérol, ar: الكوليسترول الضار, darija: "الكوليسترول الخايب (LDL)"}
category: lipids
canonical_unit: mg/dL
units: {"mg/dl": 1, "g/l": 100, "mmol/l": 38.67}
typical_range: [0.0, 130.0]
critical: {}
plausible: [10, 600]
aliases:
en: [ldl cholesterol, ldl, ldl-c]
fr: [ldl-cholestérol, ldl cholestérol, ldl-cholesterol, cholestérol ldl, ldl]
ar: [الكوليسترول الضار, كوليسترول ldl]
kb:
what: Often called "bad" cholesterol because it can build up in artery walls.
low: Generally fine.
high: Raises heart and stroke risk over time; the right target depends on your overall risk, which a doctor assesses.
hdl:
display: {en: HDL cholesterol, fr: HDL-cholestérol, ar: الكوليسترول النافع, darija: "الكوليسترول الباهي (HDL)"}
category: lipids
canonical_unit: mg/dL
units: {"mg/dl": 1, "g/l": 100, "mmol/l": 38.67}
typical_range: [40.0, 100.0]
critical: {}
plausible: [5, 150]
aliases:
en: [hdl cholesterol, hdl, hdl-c]
fr: [hdl-cholestérol, hdl cholestérol, hdl-cholesterol, cholestérol hdl, hdl]
ar: [الكوليسترول النافع, كوليسترول hdl]
kb:
what: Often called "good" cholesterol because it helps carry cholesterol away from arteries.
low: Associated with higher heart risk; exercise and not smoking tend to raise it.
high: Generally considered favorable.
triglycerides:
display: {en: Triglycerides, fr: Triglycérides, ar: الدهون الثلاثية, darija: "التريغليسيريد"}
category: lipids
canonical_unit: mg/dL
units: {"mg/dl": 1, "g/l": 100, "mmol/l": 88.57}
typical_range: [0.0, 150.0]
critical: {high: 1000.0}
plausible: [10, 10000]
aliases:
en: [triglycerides, tg]
fr: [triglycérides, triglycerides]
ar: [الدهون الثلاثية, الشحوم الثلاثية]
kb:
what: A type of fat in the blood that stores energy from food.
low: Rarely a concern.
high: Can be linked to diet, alcohol, weight, diabetes or genetics; very high levels raise the risk of pancreatitis.
alt:
display: {en: ALT, fr: ALAT (TGP), ar: إنزيم ALT, darija: "ALAT (الكبدة)"}
category: liver
canonical_unit: U/L
units: {"u/l": 1, "ui/l": 1, "iu/l": 1}
typical_range: [7.0, 55.0]
critical: {}
plausible: [1, 5000]
aliases:
en: [alt, alanine aminotransferase, sgpt]
fr: [alat, tgp, alanine aminotransférase, alat (tgp)]
ar: [إنزيم alt, ناقلة أمين الألانين]
kb:
what: A liver enzyme; it leaks into the blood when liver cells are irritated or damaged.
low: Not a concern.
high: Can be linked to fatty liver, alcohol, some medicines, hepatitis or recent intense exercise.
ast:
display: {en: AST, fr: ASAT (TGO), ar: إنزيم AST, darija: "ASAT (الكبدة)"}
category: liver
canonical_unit: U/L
units: {"u/l": 1, "ui/l": 1, "iu/l": 1}
typical_range: [8.0, 48.0]
critical: {}
plausible: [1, 5000]
aliases:
en: [ast, aspartate aminotransferase, sgot]
fr: [asat, tgo, aspartate aminotransférase, asat (tgo)]
ar: [إنزيم ast, ناقلة أمين الأسبارتات]
kb:
what: An enzyme found in the liver, heart and muscles.
low: Not a concern.
high: Can be linked to liver irritation, muscle injury or strenuous exercise; it is read together with ALT.
tsh:
display: {en: TSH, fr: TSH, ar: الهرمون المنبه للدرقية, darija: "TSH (الغدة الدرقية)"}
category: thyroid
canonical_unit: mIU/L
units: {"miu/l": 1, "µui/ml": 1, "uui/ml": 1, "µiu/ml": 1, "uiu/ml": 1, "mui/l": 1}
typical_range: [0.4, 4.0]
critical: {}
plausible: [0.001, 200]
aliases:
en: [tsh, thyroid stimulating hormone, thyrotropin]
fr: [tsh, thyréostimuline, tsh ultrasensible, tshus]
ar: [الهرمون المنبه للدرقية, هرمون tsh]
kb:
what: A hormone from the brain that tells the thyroid how hard to work.
low: Can point to an overactive thyroid or too high a dose of thyroid medicine.
high: Can point to an underactive thyroid.
ferritin:
display: {en: Ferritin, fr: Ferritine, ar: الفيريتين, darija: "الفيريتين (مخزون الحديد)"}
category: iron
canonical_unit: ng/mL
units: {"ng/ml": 1, "µg/l": 1, "ug/l": 1}
typical_range: [15.0, 200.0]
critical: {}
plausible: [1, 10000]
aliases:
en: [ferritin, serum ferritin]
fr: [ferritine, ferritinémie]
ar: [الفيريتين, مخزون الحديد]
kb:
what: Reflects how much iron your body has in storage.
low: The most common sign of iron deficiency, even before anemia appears.
high: Can be raised by inflammation, infection, liver conditions or iron overload.
crp:
display: {en: C-reactive protein, fr: CRP, ar: البروتين المتفاعل C, darija: "CRP (الالتهاب)"}
category: inflammation
canonical_unit: mg/L
units: {"mg/l": 1, "mg/dl": 10}
typical_range: [0.0, 5.0]
critical: {}
plausible: [0, 600]
aliases:
en: [c-reactive protein, crp, c reactive protein]
fr: [crp, protéine c-réactive, protéine c réactive]
ar: [البروتين المتفاعل c, البروتين التفاعلي c]
kb:
what: A protein the liver makes when there is inflammation in the body.
low: Normal.
high: Signals inflammation or infection somewhere in the body; it does not say where or why.
vitamin_d:
display: {en: Vitamin D, fr: Vitamine D, ar: فيتامين د, darija: "فيتامين D"}
category: vitamins
canonical_unit: ng/mL
units: {"ng/ml": 1, "nmol/l": 0.4006, "µg/l": 1, "ug/l": 1}
typical_range: [30.0, 100.0]
critical: {}
plausible: [2, 250]
aliases:
en: [vitamin d, 25-oh vitamin d, 25(oh)d, 25-hydroxyvitamin d]
fr: [vitamine d, 25-oh vitamine d, 25(oh)d, vitamine d totale]
ar: [فيتامين د, فيتامين d]
kb:
what: A vitamin your skin makes in sunlight; it helps your body use calcium for bones.
low: Very common, including in sunny countries; can affect bones and muscles.
high: Usually from taking too many supplements.