Gupta 2011 Chest logistic probability of postoperative respiratory failure (mech
Gupta 2011 Chest logistic probability of postoperative respiratory failure (mechanical ventilation >48 h after surgery or unplanned intubation within 30 days) from ASA class, functional status, preoperative sepsis, emergency case, and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not a ventilator order, and not ARISCAT. Gupta 2011 publishes no low/high cutoff.
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_prf
| 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": [
{
"asa_class": 2,
"emergency": false,
"functional_status": "independent",
"sepsis": "none",
"surgery": "hernia"
},
{
"asa_class": 2,
"emergency": false,
"functional_status": "independent",
"sepsis": "none",
"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": {
"asa_class": {
"description": "ASA physical status 1-5 (Gupta 2011 Chest logistic table; class 5 is the reference). class 1 -3.5265, class 2 -2.0008, class 3 -0.6201, class 4 +0.2441, class 5 adds 0. Caller-assigned integer.",
"type": "integer"
},
"emergency": {
"description": "Gupta 2011 Chest emergency case as assigned by the caller: true (reference, 0) or false (elective, -0.5739).",
"type": "boolean"
},
"functional_status": {
"description": "Gupta 2011 Chest functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.7678), or totally_dependent (+1.4046). magent does not examine the patient.",
"enum": [
"independent",
"partially_dependent",
"totally_dependent"
],
"type": "string"
},
"sepsis": {
"description": "Gupta 2011 Chest preoperative sepsis category as assigned by the caller: none (-0.7840), sirs (reference, 0), sepsis (+0.2752), or septic_shock (+0.9035). magent does not diagnose sepsis.",
"enum": [
"none",
"sirs",
"sepsis",
"septic_shock"
],
"type": "string"
},
"surgery": {
"description": "Gupta 2011 Chest 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": [
"functional_status",
"asa_class",
"sepsis",
"emergency",
"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"
}