# de Jong 2025 Rotterdam Hip Fracture Mortality Prediction (RHMP-30)

> de Jong 2025 Rotterdam Hip Fracture Mortality Prediction (RHMP-30) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Calculates the 30-day mortality probability for hip fracture patients using the de Jong 2025 RHMP-30 LASSO logistic regression model from seven caller-supplied clinical inputs.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rhmp_30
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/de-jong-2025-rotterdam-hip-fracture-mortality-prediction-rhmp-30-db7987e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TZkD88QrTTjjuUBjFYoXd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability de-jong-2025-rotterdam-hip-fracture-mortality-prediction-rhmp-30-db7987e9
```

Example prompt: Run the de Jong 2025 RHMP-30 hip fracture mortality model for an 82-year-old female with an albumin of 31 g/L, a history of dementia, Katz-ADL score of 2, ASA class 4, and currently living in a nursing home — what is her estimated 30-day mortality?

## When to prefer this

Use this endpoint when you need a validated, published logistic regression model (de Jong 2025, Rotterdam cohort) for 30-day hip fracture mortality and have all seven required clinical inputs pre-assigned by a clinician. Prefer it over generic frailty scores when the specific RHMP-30 coefficients are required for audit or reproducibility. Do not use it to assign ASA class, Katz-ADL scores, diagnose dementia, or adjudicate operative vs. non-operative management — those determinations must come from the caller.

## Known failure modes

- Missing required query parameters (age, sex, albumin_g_l, dementia, katz_adl, asa_4, nursing_home) return a validation error
- Age outside integer range 40-110 may be rejected or produce out-of-range extrapolation
- Albumin supplied in g/dL instead of g/L will silently produce an incorrect logit (no unit conversion performed)
- Katz-ADL outside 0-6 integer range will fail schema validation
- Payment failure (x402) if USDC balance is insufficient for the $0.005 call fee
- Network timeout or API unavailability returns HTTP 5xx

## How this service works

de Jong 2025 Rotterdam Hip Fracture Mortality Prediction-30 Days (RHMP-30) LASSO logit from age, sex (published female coefficient, not race), albumin g/L, dementia, Katz-ADL total 0-6, ASA 4, and nursing-home residence. Returns logit and estimated_mortality_percent from the unrounded logit. Not an operative vs nonoperative order. magent does not assign ASA or Katz.

## Output

Returns a logit value (raw linear predictor from the de Jong 2025 LASSO model) and an estimated_mortality_percent (probability of 30-day mortality derived from the unrounded logit), allowing downstream clinical decision support without rounding artefacts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "age",
      "sex",
      "albumin_g_l",
      "dementia",
      "katz_adl",
      "asa_4",
      "nursing_home"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years, integer 40-110. de Jong 2025 coefficient +0.0306 per year. magent does not read an identity document."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "Sex used as the published de Jong 2025 female coefficient (female = 1, male = 0). Not race. magent does not examine the patient."
      },
      "asa_4": {
       "type": "boolean",
       "description": "true if the caller assigns ASA physical status 4 (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not assign ASA class."
      },
      "dementia": {
       "type": "boolean",
       "description": "true if the caller assigns a history of dementia (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not diagnose dementia."
      },
      "katz_adl": {
       "type": "integer",
       "description": "Katz Index of Independence in Activities of Daily Living total, integer 0-6 (de Jong 2025). 0 = completely dependent; 6 = completely independent. Caller-assigned total; magent does not score bathing, dressing, toileting, transferring, continence, or feeding."
      },
      "albumin_g_l": {
       "type": "number",
       "description": "Admission serum albumin in g/L (10-60). de Jong 2025 Table I uses g/L (typical 30-45). Not g/dL. Caller-supplied; magent does not assay albumin."
      },
      "nursing_home": {
       "type": "boolean",
       "description": "true if the caller assigns residence in a nursing home (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not determine residence."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "obj
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/de-jong-2025-rotterdam-hip-fracture-mortality-prediction-rhmp-30-db7987e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
