clinical_lab_values 0.1.0
clinical_lab_values: ^0.1.0 copied to clipboard
Type-safe clinical laboratory values with unit conversion, reference ranges and clinical interpretation (glucose, HbA1c, lipids, creatinine) for Dart.
0.1.0 #
Initial release.
- Core API:
LabValue<U, C>interface,ReferenceRange,Severity,PatientContext/PatientSex. - Glucose: mg/dL ↔ mmol/L conversion, ADA-based categorization (hypoglycemia / normal / prediabetes / diabetes) across fasting, postprandial and random contexts, reference ranges and severity.
- HbA1c: NGSP % ↔ IFCC mmol/mol conversion, ADA-based categorization (normal / prediabetes / diabetes), reference ranges and severity.
- Lipids:
TotalCholesterol,Hdl,Ldl,Triglycerideswith mg/dL ↔ mmol/L conversion and NCEP ATP III categorization, plus aLipidPanelcomposite exposing the TC/HDL ratio, non-HDL cholesterol, and a heuristiccardiovascularRiskband. - Creatinine: mg/dL ↔ µmol/L conversion with sex-specific reference ranges
(via
PatientContext), categorization (low / normal / elevated) and severity.