calculateRenalFunction

2 credits per call

Compute creatinine clearance (Cockcroft-Gault) or GFR (CKD-EPI) with KDIGO stage. Feeds analyzePrescription.patient.creatinineClearanceMlMin.

Try it

Open in playground
kirha tools run vidal_calculateRenalFunction \
  --input '{
    "formula": "COCKCROFT_GAULT",
    "dateOfBirth": "<dateOfBirth>",
    "gender": "MALE",
    "weightKg": 1
  }'

Uses the key saved by kirha auth login.

  • dateOfBirthstring, required

    YYYY-MM-DD

  • formulastring, required

    One of COCKCROFT_GAULT, CKD_EPI

  • genderstring, required

    One of MALE, FEMALE

  • weightKgnumber, required, Max 300, Above 0
  • creatinineClearanceMlMinnumber, Above 0

    CKD_EPI only — alternative input to back-calculate creatininemia + DFG

  • heightCmnumber, Max 250, Above 0
  • serumCreatinineMicroMolPerLnumber, Above 0

    Required for COCKCROFT_GAULT and for CKD_EPI if creatinineClearanceMlMin not supplied