calculateRenalFunction
2 credits per call
Compute creatinine clearance (Cockcroft-Gault) or GFR (CKD-EPI) with KDIGO stage. Feeds analyzePrescription.patient.creatinineClearanceMlMin.
Try it
kirha tools run vidal_calculateRenalFunction \
--input '{
"formula": "COCKCROFT_GAULT",
"dateOfBirth": "<dateOfBirth>",
"gender": "MALE",
"weightKg": 1
}'Uses the key saved by kirha auth login.
dateOfBirthstring, requiredYYYY-MM-DD
formulastring, requiredOne of COCKCROFT_GAULT, CKD_EPI
genderstring, requiredOne of MALE, FEMALE
weightKgnumber, required, Max 300, Above 0creatinineClearanceMlMinnumber, Above 0CKD_EPI only — alternative input to back-calculate creatininemia + DFG
heightCmnumber, Max 250, Above 0serumCreatinineMicroMolPerLnumber, Above 0Required for COCKCROFT_GAULT and for CKD_EPI if creatinineClearanceMlMin not supplied