renal-function-dashboard — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited renal-function-dashboard (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Pull BUN, creatinine, eGFR, cystatin C, urine protein, urine albumin-to-creatinine ratio, and electrolytes (potassium, calcium, phosphorus, magnesium, bicarbonate). Stage CKD per KDIGO 2024 guidelines using GFR categories (G1-G5) and albuminuria categories (A1-A3). Track eGFR trajectory over time, calculate annual rate of decline, and flag rapid progression. Detect AKI superimposed on CKD. Assess electrolyte management adequacy by CKD stage. Flag medication dose adjustments needed and nephrotoxic drugs.
| Resource | Purpose | Key Fields |
|---|---|---|
| Observation | Renal labs, electrolytes, urinalysis | code, valueQuantity, effectiveDateTime, interpretation |
| Condition | CKD diagnosis, comorbidities | code, clinicalStatus, onsetDateTime |
| MedicationStatement | Medications needing renal adjustment | medicationCodeableConcept, status, dosage |
| Patient | Demographics for eGFR calculation | birthDate, gender, extension (race) |
Tool: fhir_read
resourceType: "Patient"
id: "[patient-id]"Extract: age, gender, race (from US Core race extension). These are inputs to the CKD-EPI 2021 equation (which removed the race variable) or CKD-EPI cystatin C equation if available.
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=2160-0,3094-0,33914-3,82810-3,76484-0,48642-3,69405-9,14959-1&_sort=-date&_count=50"LOINC codes:
If eGFR not directly available, calculate from creatinine using CKD-EPI 2021:
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=2823-3,17861-6,2777-1,19123-9,1963-8,1920-8&_sort=-date&_count=30"LOINC codes:
Also pull:
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=2731-8,1989-3,718-7&_sort=-date&_count=10"GFR Categories:
Albuminuria Categories:
Prognosis Risk (KDIGO Heat Map):
CKD diagnosis requires GFR < 60 OR albuminuria (UACR >= 30) OR other markers of kidney damage persisting for > 3 months.
Pull historical eGFR values (or creatinine to calculate):
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=33914-3,82810-3&_sort=date&_count=20"Calculate:
Compare most recent creatinine to baseline (lowest value in past 90 days or known stable value):
KDIGO AKI criteria:
If AKI detected, flag as [AKI ALERT] with stage and recommend: hold nephrotoxic medications, IV fluid assessment, urine output monitoring, nephrology consultation if Stage 2+.
Potassium:
Phosphorus:
Calcium:
Bicarbonate:
PTH:
Tool: fhir_search
resourceType: "MedicationStatement"
queryParams: "patient=[patient-id]&status=active"Flag medications needing dose adjustment or contraindicated at current eGFR:
See references/renal-medication-dosing.md for complete dosing table.
Per KDIGO, refer to nephrology if:
Dialysis planning discussion recommended when eGFR < 20 (projected to reach < 15 within 12 months).
RENAL FUNCTION DASHBOARD -- [Patient Name] ([Age][Sex])
========================================================
CKD STAGING (KDIGO 2024)
========================
GFR Category: G[stage] (eGFR [value] mL/min/1.73m2)
Albuminuria Category: A[stage] (UACR [value] mg/g)
Overall Risk: [Low / Moderate / High / Very High]
AKI Status: [None detected / AKI Stage X]
eGFR TRAJECTORY
===============
[date1]: [eGFR1]
[date2]: [eGFR2]
[date3]: [eGFR3]
[date4]: [eGFR4]
Annual rate of decline: [value] mL/min/1.73m2/year [STABLE / RAPID DECLINE]
Projected eGFR < 15: [estimated date or "Not projected within 5 years"]
CORE RENAL LABS
===============
Creatinine: [value] mg/dL ([date]) Baseline: [value]
BUN: [value] mg/dL ([date])
BUN/Cr ratio: [calculated]
eGFR: [value] ([date])
Cystatin C: [value] mg/L ([date]) [if available]
UACR: [value] mg/g ([date])
ELECTROLYTES & MINERAL BONE
============================
Potassium: [value] mEq/L [target for CKD stage] [NORMAL / FLAG]
Calcium: [value] mg/dL (corrected: [value]) [NORMAL / FLAG]
Phosphorus: [value] mg/dL [target for CKD stage] [NORMAL / FLAG]
Magnesium: [value] mg/dL [NORMAL / FLAG]
Bicarbonate: [value] mEq/L (target >= 22) [NORMAL / LOW]
PTH: [value] pg/mL [target for CKD stage] [NORMAL / ELEVATED]
Vitamin D: [value] ng/mL [NORMAL / DEFICIENT]
Hemoglobin: [value] g/dL [NORMAL / ANEMIA]
MEDICATION REVIEW
=================
[drug]: [current dose] -- [appropriate / ADJUST to X / DISCONTINUE]
[drug]: [current dose] -- [appropriate / ADJUST to X / DISCONTINUE]
NEPHROTOXIC MEDICATIONS: [list or "None identified"]
RECOMMENDATIONS
===============
1. [CKD management recommendation]
2. [Electrolyte management]
3. [Medication adjustment]
4. [Referral if indicated]
5. [Next monitoring interval]User says: "Check kidney function for patient 9920"
Actions:
fhir_read Patient/9920 -- 64-year-old femalefhir_search Observation?patient=9920&code=2160-0,3094-0,33914-3,48642-3&_sort=-date&_count=50 -- Cr 1.3, BUN 24, eGFR 52, UACR 45 mg/gfhir_search Observation?patient=9920&code=33914-3,82810-3&_sort=date&_count=20 -- eGFR over 2 years: 58, 56, 54, 53, 52fhir_search Observation?patient=9920&code=2823-3,17861-6,2777-1,19123-9,1963-8&_sort=-date&_count=30 -- K 4.6, Ca 9.2, Phos 3.8, Mg 2.0, Bicarb 23fhir_search Observation?patient=9920&code=2731-8,1989-3,718-7&_sort=-date&_count=10 -- PTH 68, Vit D 28, Hgb 12.1fhir_search MedicationStatement?patient=9920&status=active -- lisinopril, metformin 1000mg BID, atorvastatinfhir_search Condition?patient=9920&clinical-status=active -- Type 2 DM, HTN, CKD stage 3Result: CKD G3a/A2, high risk (orange on KDIGO heat map). eGFR declining at 3 mL/min/year (not yet rapid but above age-related). UACR 45 (moderately increased). Electrolytes well-managed. PTH mildly elevated but Vitamin D borderline -- supplement to > 30 ng/mL. Metformin dose appropriate at eGFR 52 (reduce if eGFR drops below 45). ACEi appropriate for albuminuria. Consider adding SGLT2 inhibitor for renal protection. Next monitoring: 3-6 months.
User says: "Renal panel for patient r-5501, creatinine has been going up"
Actions:
fhir_read Patient/r-5501 -- 73-year-old malefhir_search Observation?patient=r-5501&code=2160-0&_sort=-date&_count=10 -- Cr values: 3.8 (today), 2.1 (1 week ago), 1.8 (1 month ago), 1.6 (3 months ago), 1.5 (6 months ago)fhir_search Observation?patient=r-5501&code=33914-3&_sort=date&_count=20 -- eGFR: 42, 38, 34, 28, 14 (calculated from Cr)fhir_search Observation?patient=r-5501&code=2823-3&_sort=-date&_count=5 -- K 5.9 mEq/Lfhir_search MedicationStatement?patient=r-5501&status=active -- ibuprofen 600mg TID, lisinopril, metforminfhir_search Condition?patient=r-5501&clinical-status=active -- CKD stage 3b, DM2, OAResult:
[AKI ALERT] Stage 2 superimposed on CKD
Creatinine 3.8 mg/dL = 2.1x baseline (1.8), rise of 1.7 mg/dL in 1 week
eGFR dropped from 34 to 14 -- now G5 territory
Baseline trajectory was already rapid: 8 mL/min/year decline over 6 months
URGENT ACTIONS:
1. STOP ibuprofen immediately (nephrotoxic, primary suspect for acute decline)
2. HOLD metformin (eGFR < 30, lactic acidosis risk)
3. HOLD lisinopril (hyperkalemia K 5.9, AKI)
4. Potassium 5.9: ECG stat, consider calcium gluconate, kayexalate
5. Nephrology consult STAT
6. IV fluid assessment, urine output monitoring
7. Renal ultrasound to rule out obstructionObservation for LOINC 33914-3 or 82810-3 is absent. Requires: creatinine value, age, sex.component array on BMP/CMP panel Observations.lab-result-interpreter -- for comprehensive interpretation of all lab results beyond renaldiabetes-panel-review -- for diabetic nephropathy in the context of full diabetes managementcritical-value-alert-generator -- for critical electrolyte values in renal failurepreoperative-lab-checklist -- for renal function assessment before surgery~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.