{
  "x402Version": 2,
  "id": 39020,
  "slug": "39020",
  "resource": "https://api.magentlab.com/api/calc/msofa",
  "description": "Modified SOFA (mSOFA) from Grissom 2010 Table 2: SpO2/FiO2 respiration, caller-assigned scleral icterus or jaundice (0 or 3), MAP and adrenergic agents, caller-assigned GCS, and creatinine; five organs, coagulation not scored, max 19. Deterministic published score with citation; not Vincent 1996 SOFA, not qSOFA, and not a Sepsis-3 diagnosis.",
  "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": [
              {
                "creatinine_mg_dl": 1,
                "creatinine_umol_l": 88.42,
                "dobutamine": false,
                "dopamine_ug_kg_min": 0,
                "epinephrine_ug_kg_min": 0,
                "fio2": 0.21,
                "gcs": 15,
                "map_mm_hg": 80,
                "norepinephrine_ug_kg_min": 0,
                "scleral_icterus_or_jaundice": false,
                "spo2_percent": 96
              },
              {
                "creatinine_mg_dl": 1,
                "creatinine_umol_l": 88.42,
                "dobutamine": false,
                "dopamine_ug_kg_min": 0,
                "epinephrine_ug_kg_min": 0,
                "fio2": 0.21,
                "gcs": 15,
                "map_mm_hg": 80,
                "norepinephrine_ug_kg_min": 0,
                "scleral_icterus_or_jaundice": false,
                "spo2_percent": 96
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr",
                  "doi": "10.1001/dmp.2010.40",
                  "id": "grissom-2010",
                  "pmid": "21149228",
                  "source": "Disaster Med Public Health Prep. 2010;4(4):277-284",
                  "title": "A modified sequential organ failure assessment score for critical care triage"
                },
                "components": [
                  {
                    "factor": "respiration",
                    "points": 0,
                    "present": false,
                    "value": 457.14285714285717
                  },
                  {
                    "factor": "liver",
                    "points": 0,
                    "present": false,
                    "value": false
                  },
                  {
                    "factor": "cardiovascular",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "cns",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "renal",
                    "points": 0,
                    "present": false,
                    "value": 1
                  }
                ],
                "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": "msofa",
                "formula_expression": "mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19",
                "max_score": 19,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr",
                  "doi": "10.1001/dmp.2010.40",
                  "id": "grissom-2010",
                  "pmid": "21149228",
                  "source": "Disaster Med Public Health Prep. 2010;4(4):277-284",
                  "title": "A modified sequential organ failure assessment score for critical care triage"
                },
                "components": [
                  {
                    "factor": "respiration",
                    "points": 0,
                    "present": false,
                    "value": 457.14285714285717
                  },
                  {
                    "factor": "liver",
                    "points": 0,
                    "present": false,
                    "value": false
                  },
                  {
                    "factor": "cardiovascular",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "cns",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "renal",
                    "points": 0,
                    "present": false,
                    "value": 1
                  }
                ],
                "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": "msofa",
                "formula_expression": "mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19",
                "max_score": 19,
                "score": 0
              }
            ],
            "path": "/api/calc/msofa"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "creatinine_mg_dl": {
                          "description": "Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4. Table 2 lists creatinine only (not urine output).",
                          "type": "number"
                        },
                        "creatinine_umol_l": {
                          "description": "Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.",
                          "type": "number"
                        },
                        "dobutamine": {
                          "description": "Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies.",
                          "type": "boolean"
                        },
                        "dopamine_ug_kg_min": {
                          "description": "Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4.",
                          "type": "number"
                        },
                        "epinephrine_ug_kg_min": {
                          "description": "Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.",
                          "type": "number"
                        },
                        "fio2": {
                          "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent. For nasal cannula, Grissom 2010 estimated FiO2 as 0.21 + 0.03 × L/min; the caller supplies the fraction.",
                          "type": "number"
                        },
                        "gcs": {
                          "description": "Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4.",
                          "type": "integer"
                        },
                        "map_mm_hg": {
                          "description": "Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies.",
                          "type": "number"
                        },
                        "norepinephrine_ug_kg_min": {
                          "description": "Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.",
                          "type": "number"
                        },
                        "scleral_icterus_or_jaundice": {
                          "description": "Scleral icterus or jaundice as assigned by the caller (Grissom 2010 Table 2). true or false. Absent scores 0; present scores 3. Not serum bilirubin. magent does not examine the patient.",
                          "type": "boolean"
                        },
                        "spo2_percent": {
                          "description": "Pulse-oximeter SpO2 in percent (50-100), not a fraction. Respiration uses SpO2/FiO2: >400 scores 0; ≤400 scores 1; ≤315 scores 2; ≤235 scores 3; ≤150 scores 4 (Grissom 2010 Table 2). magent does not read a probe.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "spo2_percent",
                        "fio2",
                        "scleral_icterus_or_jaundice",
                        "map_mm_hg",
                        "gcs"
                      ],
                      "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": [
    "msofa",
    "organ-failure",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T09:26:29.64Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T09:26:29.527Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "creatinine_mg_dl": 1,
                  "creatinine_umol_l": 88.42,
                  "dobutamine": false,
                  "dopamine_ug_kg_min": 0,
                  "epinephrine_ug_kg_min": 0,
                  "fio2": 0.21,
                  "gcs": 15,
                  "map_mm_hg": 80,
                  "norepinephrine_ug_kg_min": 0,
                  "scleral_icterus_or_jaundice": false,
                  "spo2_percent": 96
                },
                {
                  "creatinine_mg_dl": 1,
                  "creatinine_umol_l": 88.42,
                  "dobutamine": false,
                  "dopamine_ug_kg_min": 0,
                  "epinephrine_ug_kg_min": 0,
                  "fio2": 0.21,
                  "gcs": 15,
                  "map_mm_hg": 80,
                  "norepinephrine_ug_kg_min": 0,
                  "scleral_icterus_or_jaundice": false,
                  "spo2_percent": 96
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr",
                    "doi": "10.1001/dmp.2010.40",
                    "id": "grissom-2010",
                    "pmid": "21149228",
                    "source": "Disaster Med Public Health Prep. 2010;4(4):277-284",
                    "title": "A modified sequential organ failure assessment score for critical care triage"
                  },
                  "components": [
                    {
                      "factor": "respiration",
                      "points": 0,
                      "present": false,
                      "value": 457.14285714285717
                    },
                    {
                      "factor": "liver",
                      "points": 0,
                      "present": false,
                      "value": false
                    },
                    {
                      "factor": "cardiovascular",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "cns",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "renal",
                      "points": 0,
                      "present": false,
                      "value": 1
                    }
                  ],
                  "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": "msofa",
                  "formula_expression": "mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19",
                  "max_score": 19,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr",
                    "doi": "10.1001/dmp.2010.40",
                    "id": "grissom-2010",
                    "pmid": "21149228",
                    "source": "Disaster Med Public Health Prep. 2010;4(4):277-284",
                    "title": "A modified sequential organ failure assessment score for critical care triage"
                  },
                  "components": [
                    {
                      "factor": "respiration",
                      "points": 0,
                      "present": false,
                      "value": 457.14285714285717
                    },
                    {
                      "factor": "liver",
                      "points": 0,
                      "present": false,
                      "value": false
                    },
                    {
                      "factor": "cardiovascular",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "cns",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "renal",
                      "points": 0,
                      "present": false,
                      "value": 1
                    }
                  ],
                  "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": "msofa",
                  "formula_expression": "mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19",
                  "max_score": 19,
                  "score": 0
                }
              ],
              "path": "/api/calc/msofa"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "creatinine_mg_dl": {
                            "description": "Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4. Table 2 lists creatinine only (not urine output).",
                            "type": "number"
                          },
                          "creatinine_umol_l": {
                            "description": "Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.",
                            "type": "number"
                          },
                          "dobutamine": {
                            "description": "Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies.",
                            "type": "boolean"
                          },
                          "dopamine_ug_kg_min": {
                            "description": "Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4.",
                            "type": "number"
                          },
                          "epinephrine_ug_kg_min": {
                            "description": "Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.",
                            "type": "number"
                          },
                          "fio2": {
                            "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent. For nasal cannula, Grissom 2010 estimated FiO2 as 0.21 + 0.03 × L/min; the caller supplies the fraction.",
                            "type": "number"
                          },
                          "gcs": {
                            "description": "Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4.",
                            "type": "integer"
                          },
                          "map_mm_hg": {
                            "description": "Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies.",
                            "type": "number"
                          },
                          "norepinephrine_ug_kg_min": {
                            "description": "Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.",
                            "type": "number"
                          },
                          "scleral_icterus_or_jaundice": {
                            "description": "Scleral icterus or jaundice as assigned by the caller (Grissom 2010 Table 2). true or false. Absent scores 0; present scores 3. Not serum bilirubin. magent does not examine the patient.",
                            "type": "boolean"
                          },
                          "spo2_percent": {
                            "description": "Pulse-oximeter SpO2 in percent (50-100), not a fraction. Respiration uses SpO2/FiO2: >400 scores 0; ≤400 scores 1; ≤315 scores 2; ≤235 scores 3; ≤150 scores 4 (Grissom 2010 Table 2). magent does not read a probe.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "spo2_percent",
                          "fio2",
                          "scleral_icterus_or_jaundice",
                          "map_mm_hg",
                          "gcs"
                        ],
                        "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"
  }
}