Learn R Programming

cliot (version 1.0.0)

revised_schwartz_gfr: Revised Schwartz Equation for Pediatric GFR (2009)

Description

Calculates the estimated Glomerular Filtration Rate (eGFR) for children and adolescents (ages 1-17) with chronic kidney disease using the "Bedside" Revised Schwartz Equation (2009). This updated formula uses a standardized constant (k=0.413) for methods where serum creatinine is measured via enzymatic assay (IDMS-traceable).

Usage

revised_schwartz_gfr(height, serum_creatinine,
                     height_units = "cm", creatinine_units = "mg/dL")

Value

A list containing:

Estimated_GFR

The calculated eGFR in mL/min/1.73 m^2.

Interpretation

CKD staging category based on the eGFR result.

Arguments

height

Numeric. Patient height.

serum_creatinine

Numeric. Serum creatinine level.

height_units

String. Units for height input. Options: "cm" (default) or "in".

creatinine_units

String. Units for creatinine input. Options: "mg/dL" (default) or "umol/L" (or "micromol/L").

Details

The formula is: $$eGFR = \frac{0.413 \times Height (cm)}{Serum Creatinine (mg/dL)}$$

References

Schwartz GJ, Munoz A, Schneider MF, et al. New equations to estimate GFR in children with CKD. J Am Soc Nephrol. 2009;20(3):629-637. doi:10.1681/ASN.2008030287

Examples

Run this code

# Example 1: Normal Function
# Height 120 cm, Creatinine 0.5 mg/dL
# eGFR = (0.413 * 120) / 0.5 = 99.1
revised_schwartz_gfr(120, 0.5)

# Example 2: Renal Impairment
# Height 48 inches (122 cm), Creatinine 100 umol/L (1.13 mg/dL)
# eGFR = (0.413 * 121.92) / 1.13 = 44.6
revised_schwartz_gfr(48, 100, "in", "umol/L")

Run the code above in your browser using DataLab