Gupta 2013 Mayo Clin Proc logistic probability of postoperative pneumonia from a
Gupta 2013 Mayo Clin Proc logistic probability of postoperative pneumonia from age, COPD, ASA class, functional status, preoperative sepsis, smoking in the last year, and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not an antibiotic order, and not a ventilator order. Gupta 2013 publishes no low/high cutoff and does not use race.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/gupta_pneumonia
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"items": [
{
"age": 40,
"asa_class": 2,
"copd": false,
"functional_status": "independent",
"sepsis": "none",
"smoking": false,
"surgery": "hernia"
},
{
"age": 40,
"asa_class": 2,
"copd": false,
"functional_status": "independent",
"sepsis": "none",
"smoking": false,
"surgery": "hernia"
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"age": {
"description": "Age in years (18-120). Gupta 2013 Mayo Clin Proc: +0.0144 per year.",
"type": "integer"
},
"asa_class": {
"description": "ASA physical status 1-5 (Gupta 2013 Mayo Clin Proc logistic table; class 5 is the reference). class 1 -3.0225, class 2 -1.6057, class 3 -0.4915, class 4 +0.0123, class 5 adds 0. Caller-assigned integer.",
"type": "integer"
},
"copd": {
"description": "Gupta 2013 COPD causing functional disability or hospitalization, or FEV1 <75%, as assigned by the caller: true (reference, 0) or false (-0.4553). magent does not diagnose COPD.",
"type": "boolean"
},
"functional_status": {
"description": "Gupta 2013 Mayo Clin Proc functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.7653), or totally_dependent (+0.9400). magent does not examine the patient.",
"enum": [
"independent",
"partially_dependent",
"totally_dependent"
],
"type": "string"
},
"sepsis": {
"description": "Gupta 2013 Mayo Clin Proc preoperative sepsis category as assigned by the caller: none (-0.7641), sirs (reference, 0), sepsis (-0.0842), or septic_shock (+0.1048). magent does not diagnose sepsis.",
"enum": [
"none",
"sirs",
"sepsis",
"septic_shock"
],
"type": "string"
},
"smoking": {
"description": "Gupta 2013 smoking within the last year as assigned by the caller: true (reference, 0) or false (-0.4306).",
"type": "boolean"
},
"surgery": {
"description": "Gupta 2013 Mayo Clin Proc procedure category as assigned by the caller. hernia (ventral, inguinal, or femoral) is the reference (0). gbaas is gallbladder, appendix, adrenal, or spleen. thoracic is non-esophageal thoracic. orthopedic is orthopedic or non-vascular extremity. ent excludes thyroid/parathyroid (neck). magent does not classify a CPT code.",
"enum": [
"hernia",
"anorectal",
"aortic",
"bariatric",
"brain",
"breast",
"cardiac",
"ent",
"foregut_hpb",
"gbaas",
"intestinal",
"neck",
"obstetric_gynecologic",
"orthopedic",
"other_abdomen",
"peripheral_vascular",
"skin",
"spine",
"thoracic",
"vein",
"urology"
],
"type": "string"
}
},
"required": [
"age",
"copd",
"functional_status",
"asa_class",
"sepsis",
"smoking",
"surgery"
],
"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"
}