{
  "x402Version": 2,
  "id": 39442,
  "slug": "39442",
  "resource": "https://api.magentlab.com/api/calc/delta_p",
  "description": "Titulaer 2011 DELTA-P for SCLC association in Lambert-Eaton myasthenic syndrome. One point each, at or within 3 months of LEMS onset: bulbar weakness (dysarthria/dysphagia/chewing/neck weakness); erectile dysfunction if male (always 0 if female); weight loss ≥5%; smoking at onset; age ≥50; Karnofsky <70. Max 6. Bands low 0-1, intermediate 2, high 3-6. Published SCLC percents for scores 0, 1, 3-6; none for score 2. Not a LEMS diagnosis, not SOX1, and not an SCLC screen.",
  "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": 40,
                "bulbar_weakness": false,
                "erectile_dysfunction": false,
                "kps_lt_70": false,
                "sex": "female",
                "smoking_at_onset": false,
                "weight_loss_ge_5pct": false
              },
              {
                "age": 40,
                "bulbar_weakness": false,
                "erectile_dysfunction": false,
                "kps_lt_70": false,
                "sex": "female",
                "smoking_at_onset": false,
                "weight_loss_ge_5pct": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "citation": {
                  "authors": "Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM",
                  "doi": "10.1200/JCO.2010.32.0440",
                  "id": "titulaer-2011",
                  "pmid": "21245427",
                  "source": "J Clin Oncol. 2011;29(7):902-908",
                  "title": "Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"
                },
                "components": [
                  {
                    "factor": "bulbar_weakness",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "erectile_dysfunction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "weight_loss_ge_5pct",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "smoking_at_onset",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_ge_50",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "kps_lt_70",
                    "points": 0,
                    "present": 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": "delta_p",
                "formula_expression": "DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6",
                "max_score": 6,
                "sclc_band": "low",
                "sclc_percent": 0,
                "score": 0,
                "sex": "female"
              },
              {
                "age_years": 40,
                "citation": {
                  "authors": "Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM",
                  "doi": "10.1200/JCO.2010.32.0440",
                  "id": "titulaer-2011",
                  "pmid": "21245427",
                  "source": "J Clin Oncol. 2011;29(7):902-908",
                  "title": "Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"
                },
                "components": [
                  {
                    "factor": "bulbar_weakness",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "erectile_dysfunction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "weight_loss_ge_5pct",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "smoking_at_onset",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_ge_50",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "kps_lt_70",
                    "points": 0,
                    "present": 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": "delta_p",
                "formula_expression": "DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6",
                "max_score": 6,
                "sclc_band": "low",
                "sclc_percent": 0,
                "score": 0,
                "sex": "female"
              }
            ],
            "path": "/api/calc/delta_p"
          },
          "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": {
                          "description": "Age at LEMS onset in years (18-120). ≥50 scores 1; 49 does not (Titulaer 2011).",
                          "type": "integer"
                        },
                        "bulbar_weakness": {
                          "description": "Dysarthria, dysphagia, chewing difficulty, or neck weakness at or within 3 months of LEMS onset (Titulaer 2011 D). true or false. Caller-assigned. 1 point if true.",
                          "type": "boolean"
                        },
                        "erectile_dysfunction": {
                          "description": "Erectile dysfunction at or within 3 months of LEMS onset (Titulaer 2011 E). Required when sex is male (true scores 1). When female, this item is always 0, including if omitted, false, or true. true or false.",
                          "type": "boolean"
                        },
                        "kps_lt_70": {
                          "description": "Karnofsky Performance Status 0-60 (KPS <70) at or within 3 months of LEMS onset (Titulaer 2011 P). Caller-assigned flag; magent does not compute Karnofsky. true or false. 1 point if true.",
                          "type": "boolean"
                        },
                        "sex": {
                          "description": "female or male. Erectile dysfunction scores only when male. Female erectile is always 0 (Titulaer 2011: Female | 0).",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        },
                        "smoking_at_onset": {
                          "description": "Smoking at LEMS onset (Titulaer 2011 T). true or false. Caller-assigned. 1 point if true.",
                          "type": "boolean"
                        },
                        "weight_loss_ge_5pct": {
                          "description": "Weight loss ≥5% at or within 3 months of LEMS onset (Titulaer 2011 L). true or false. Caller-assigned. 1 point if true.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "sex",
                        "age",
                        "bulbar_weakness",
                        "weight_loss_ge_5pct",
                        "smoking_at_onset",
                        "kps_lt_70"
                      ],
                      "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": [
    "delta-p",
    "lems",
    "sclc",
    "neurology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:52:39.329Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:52:39.193Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "bulbar_weakness": false,
                  "erectile_dysfunction": false,
                  "kps_lt_70": false,
                  "sex": "female",
                  "smoking_at_onset": false,
                  "weight_loss_ge_5pct": false
                },
                {
                  "age": 40,
                  "bulbar_weakness": false,
                  "erectile_dysfunction": false,
                  "kps_lt_70": false,
                  "sex": "female",
                  "smoking_at_onset": false,
                  "weight_loss_ge_5pct": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM",
                    "doi": "10.1200/JCO.2010.32.0440",
                    "id": "titulaer-2011",
                    "pmid": "21245427",
                    "source": "J Clin Oncol. 2011;29(7):902-908",
                    "title": "Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"
                  },
                  "components": [
                    {
                      "factor": "bulbar_weakness",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "erectile_dysfunction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "weight_loss_ge_5pct",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "smoking_at_onset",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_ge_50",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "kps_lt_70",
                      "points": 0,
                      "present": 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": "delta_p",
                  "formula_expression": "DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6",
                  "max_score": 6,
                  "sclc_band": "low",
                  "sclc_percent": 0,
                  "score": 0,
                  "sex": "female"
                },
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM",
                    "doi": "10.1200/JCO.2010.32.0440",
                    "id": "titulaer-2011",
                    "pmid": "21245427",
                    "source": "J Clin Oncol. 2011;29(7):902-908",
                    "title": "Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"
                  },
                  "components": [
                    {
                      "factor": "bulbar_weakness",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "erectile_dysfunction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "weight_loss_ge_5pct",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "smoking_at_onset",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_ge_50",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "kps_lt_70",
                      "points": 0,
                      "present": 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": "delta_p",
                  "formula_expression": "DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6",
                  "max_score": 6,
                  "sclc_band": "low",
                  "sclc_percent": 0,
                  "score": 0,
                  "sex": "female"
                }
              ],
              "path": "/api/calc/delta_p"
            },
            "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": {
                            "description": "Age at LEMS onset in years (18-120). ≥50 scores 1; 49 does not (Titulaer 2011).",
                            "type": "integer"
                          },
                          "bulbar_weakness": {
                            "description": "Dysarthria, dysphagia, chewing difficulty, or neck weakness at or within 3 months of LEMS onset (Titulaer 2011 D). true or false. Caller-assigned. 1 point if true.",
                            "type": "boolean"
                          },
                          "erectile_dysfunction": {
                            "description": "Erectile dysfunction at or within 3 months of LEMS onset (Titulaer 2011 E). Required when sex is male (true scores 1). When female, this item is always 0, including if omitted, false, or true. true or false.",
                            "type": "boolean"
                          },
                          "kps_lt_70": {
                            "description": "Karnofsky Performance Status 0-60 (KPS <70) at or within 3 months of LEMS onset (Titulaer 2011 P). Caller-assigned flag; magent does not compute Karnofsky. true or false. 1 point if true.",
                            "type": "boolean"
                          },
                          "sex": {
                            "description": "female or male. Erectile dysfunction scores only when male. Female erectile is always 0 (Titulaer 2011: Female | 0).",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          },
                          "smoking_at_onset": {
                            "description": "Smoking at LEMS onset (Titulaer 2011 T). true or false. Caller-assigned. 1 point if true.",
                            "type": "boolean"
                          },
                          "weight_loss_ge_5pct": {
                            "description": "Weight loss ≥5% at or within 3 months of LEMS onset (Titulaer 2011 L). true or false. Caller-assigned. 1 point if true.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "sex",
                          "age",
                          "bulbar_weakness",
                          "weight_loss_ge_5pct",
                          "smoking_at_onset",
                          "kps_lt_70"
                        ],
                        "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"
  }
}