{
  "x402Version": 2,
  "id": 39571,
  "slug": "39571",
  "resource": "https://api.magentlab.com/api/calc/peld_cr",
  "description": "OPTN Policy 9 Table 9-1 PELD-Cr from age, albumin, bilirubin, INR, creatinine or dialysis/CVVHD, and caller-assigned minimum CDC height or weight Z-score. PELD = (sum of Table 9-1 terms + 1.5287) × 10 + 2.82; nearest integer; minimum 6. Albumin, bilirubin, and INR floor at 1.0; creatinine 1.3 mg/dL if >1.3 or dialysis/CVVHD. Not a transplant listing order. magent does not compute CDC LMS Z from height or weight.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "age_years": 2,
                "albumin_g_dl": 2.5,
                "albumin_g_l": 25,
                "bilirubin_mg_dl": 4,
                "bilirubin_umol_l": 68.4,
                "creatinine_mg_dl": 0.4,
                "creatinine_umol_l": 35.368,
                "dialysis_or_cvvhd": false,
                "inr": 1.5,
                "min_cdc_z": 0
              },
              {
                "age_years": 2,
                "albumin_g_dl": 2.5,
                "albumin_g_l": 25,
                "bilirubin_mg_dl": 4,
                "bilirubin_umol_l": 68.4,
                "creatinine_mg_dl": 0.4,
                "creatinine_umol_l": 35.368,
                "dialysis_or_cvvhd": false,
                "inr": 1.5,
                "min_cdc_z": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_used_years": 2,
                "age_years": 2,
                "albumin_g_dl": 2.5,
                "albumin_used_g_dl": 1.9,
                "bilirubin_mg_dl": 4,
                "bilirubin_used_mg_dl": 4,
                "citation": {
                  "authors": "Organ Procurement and Transplantation Network",
                  "id": "optn-2023-peld-cr",
                  "source": "OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)",
                  "title": "Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"
                },
                "creatinine_mg_dl": 0.4,
                "creatinine_used_mg_dl": 0.4,
                "dialysis_or_cvvhd": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "optn_peld_cr_2023",
                "formula_expression": "PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)",
                "inr": 1.5,
                "inr_used": 1.5,
                "min_cdc_z": 0,
                "min_cdc_z_used": -2.1,
                "peld_cr": 22
              },
              {
                "age_used_years": 2,
                "age_years": 2,
                "albumin_g_dl": 2.5,
                "albumin_used_g_dl": 1.9,
                "bilirubin_mg_dl": 4,
                "bilirubin_used_mg_dl": 4,
                "citation": {
                  "authors": "Organ Procurement and Transplantation Network",
                  "id": "optn-2023-peld-cr",
                  "source": "OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)",
                  "title": "Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"
                },
                "creatinine_mg_dl": 0.4,
                "creatinine_used_mg_dl": 0.4,
                "dialysis_or_cvvhd": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "optn_peld_cr_2023",
                "formula_expression": "PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)",
                "inr": 1.5,
                "inr_used": 1.5,
                "min_cdc_z": 0,
                "min_cdc_z_used": -2.1,
                "peld_cr": 22
              }
            ],
            "path": "/api/calc/peld_cr"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age_years": {
                          "description": "Age in fractional calendar years (0 to under 12). Table 9-1 uses 1.0 below age 1 and 5.5 above 5.5 years. PELD-Cr is for candidates under 12.",
                          "type": "number"
                        },
                        "albumin_g_dl": {
                          "description": "Serum albumin in g/dL (0.1-6). Provide this or albumin_g_l, not both. Policy floors at 1.0; Table 9-1 uses ln(1.9) above 1.9.",
                          "type": "number"
                        },
                        "albumin_g_l": {
                          "description": "Serum albumin in g/L (1-60). Converted as g/dL = g/L / 10.",
                          "type": "number"
                        },
                        "bilirubin_mg_dl": {
                          "description": "Total bilirubin in mg/dL (0.1-80). Provide this or bilirubin_umol_l, not both. Policy floors at 1.0; Table 9-1 knots at 4 and 40.",
                          "type": "number"
                        },
                        "bilirubin_umol_l": {
                          "description": "Total bilirubin in µmol/L (2-1368). Converted as mg/dL = µmol/L / 17.1.",
                          "type": "number"
                        },
                        "creatinine_mg_dl": {
                          "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Table 9-1 floors at 0.2 and assigns 1.3 if >1.3 or dialysis_or_cvvhd is true.",
                          "type": "number"
                        },
                        "creatinine_umol_l": {
                          "description": "Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.",
                          "type": "number"
                        },
                        "dialysis_or_cvvhd": {
                          "description": "True when the candidate had two or more dialysis treatments in the prior 7 days, or 24 hours of CVVHD in the prior 7 days. Assigns creatinine 1.3 mg/dL.",
                          "type": "boolean"
                        },
                        "inr": {
                          "description": "INR (0.8-20). Policy floors at 1.0; Table 9-1 knots at 2 and 10.",
                          "type": "number"
                        },
                        "min_cdc_z": {
                          "description": "Caller-assigned minimum of CDC 2000 height or weight Z-score (LMS). magent does not compute Z from height or weight. Table 9-1 clamps -5.0 to -2.1.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age_years",
                        "inr",
                        "dialysis_or_cvvhd",
                        "min_cdc_z"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "peld-cr",
    "liver",
    "pediatric",
    "optn",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T13:52:19.615Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:52:19.441Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age_years": 2,
                  "albumin_g_dl": 2.5,
                  "albumin_g_l": 25,
                  "bilirubin_mg_dl": 4,
                  "bilirubin_umol_l": 68.4,
                  "creatinine_mg_dl": 0.4,
                  "creatinine_umol_l": 35.368,
                  "dialysis_or_cvvhd": false,
                  "inr": 1.5,
                  "min_cdc_z": 0
                },
                {
                  "age_years": 2,
                  "albumin_g_dl": 2.5,
                  "albumin_g_l": 25,
                  "bilirubin_mg_dl": 4,
                  "bilirubin_umol_l": 68.4,
                  "creatinine_mg_dl": 0.4,
                  "creatinine_umol_l": 35.368,
                  "dialysis_or_cvvhd": false,
                  "inr": 1.5,
                  "min_cdc_z": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_used_years": 2,
                  "age_years": 2,
                  "albumin_g_dl": 2.5,
                  "albumin_used_g_dl": 1.9,
                  "bilirubin_mg_dl": 4,
                  "bilirubin_used_mg_dl": 4,
                  "citation": {
                    "authors": "Organ Procurement and Transplantation Network",
                    "id": "optn-2023-peld-cr",
                    "source": "OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)",
                    "title": "Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"
                  },
                  "creatinine_mg_dl": 0.4,
                  "creatinine_used_mg_dl": 0.4,
                  "dialysis_or_cvvhd": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "optn_peld_cr_2023",
                  "formula_expression": "PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)",
                  "inr": 1.5,
                  "inr_used": 1.5,
                  "min_cdc_z": 0,
                  "min_cdc_z_used": -2.1,
                  "peld_cr": 22
                },
                {
                  "age_used_years": 2,
                  "age_years": 2,
                  "albumin_g_dl": 2.5,
                  "albumin_used_g_dl": 1.9,
                  "bilirubin_mg_dl": 4,
                  "bilirubin_used_mg_dl": 4,
                  "citation": {
                    "authors": "Organ Procurement and Transplantation Network",
                    "id": "optn-2023-peld-cr",
                    "source": "OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)",
                    "title": "Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"
                  },
                  "creatinine_mg_dl": 0.4,
                  "creatinine_used_mg_dl": 0.4,
                  "dialysis_or_cvvhd": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "optn_peld_cr_2023",
                  "formula_expression": "PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)",
                  "inr": 1.5,
                  "inr_used": 1.5,
                  "min_cdc_z": 0,
                  "min_cdc_z_used": -2.1,
                  "peld_cr": 22
                }
              ],
              "path": "/api/calc/peld_cr"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age_years": {
                            "description": "Age in fractional calendar years (0 to under 12). Table 9-1 uses 1.0 below age 1 and 5.5 above 5.5 years. PELD-Cr is for candidates under 12.",
                            "type": "number"
                          },
                          "albumin_g_dl": {
                            "description": "Serum albumin in g/dL (0.1-6). Provide this or albumin_g_l, not both. Policy floors at 1.0; Table 9-1 uses ln(1.9) above 1.9.",
                            "type": "number"
                          },
                          "albumin_g_l": {
                            "description": "Serum albumin in g/L (1-60). Converted as g/dL = g/L / 10.",
                            "type": "number"
                          },
                          "bilirubin_mg_dl": {
                            "description": "Total bilirubin in mg/dL (0.1-80). Provide this or bilirubin_umol_l, not both. Policy floors at 1.0; Table 9-1 knots at 4 and 40.",
                            "type": "number"
                          },
                          "bilirubin_umol_l": {
                            "description": "Total bilirubin in µmol/L (2-1368). Converted as mg/dL = µmol/L / 17.1.",
                            "type": "number"
                          },
                          "creatinine_mg_dl": {
                            "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Table 9-1 floors at 0.2 and assigns 1.3 if >1.3 or dialysis_or_cvvhd is true.",
                            "type": "number"
                          },
                          "creatinine_umol_l": {
                            "description": "Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.",
                            "type": "number"
                          },
                          "dialysis_or_cvvhd": {
                            "description": "True when the candidate had two or more dialysis treatments in the prior 7 days, or 24 hours of CVVHD in the prior 7 days. Assigns creatinine 1.3 mg/dL.",
                            "type": "boolean"
                          },
                          "inr": {
                            "description": "INR (0.8-20). Policy floors at 1.0; Table 9-1 knots at 2 and 10.",
                            "type": "number"
                          },
                          "min_cdc_z": {
                            "description": "Caller-assigned minimum of CDC 2000 height or weight Z-score (LMS). magent does not compute Z from height or weight. Table 9-1 clamps -5.0 to -2.1.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age_years",
                          "inr",
                          "dialysis_or_cvvhd",
                          "min_cdc_z"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}