{
  "x402Version": 2,
  "id": 38947,
  "slug": "38947",
  "resource": "https://api.magentlab.com/api/calc/preset",
  "description": "Hilder 2017 PRESET-Score: five Table 4 items (MAP mm Hg, lactate mmol/L, arterial pH, platelets k/uL, hospital days pre-ECMO) summed 0-15. Returns class I (0-5, 26% ICU mortality), II (6-9, 68%), or III (10-15, 93%) from the derivation cohort. Deterministic published arithmetic with citation; not a cannulation order; magent does not assay labs. Not RESP or SAVE.",
  "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": [
              {
                "arterial_ph": 7.4,
                "hospital_days_pre_ecmo": 1,
                "lactate_mmol_l": 1,
                "mean_arterial_pressure_mm_hg": 110,
                "platelets_k_ul": 250
              },
              {
                "arterial_ph": 7.4,
                "hospital_days_pre_ecmo": 1,
                "lactate_mmol_l": 1,
                "mean_arterial_pressure_mm_hg": 110,
                "platelets_k_ul": 250
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "arterial_ph": 7.4,
                "citation": {
                  "authors": "Hilder M, Herbstreit F, Adamzik M, et al.",
                  "doi": "10.1186/s13054-017-1888-6",
                  "id": "hilder-2017",
                  "pmid": "29233160",
                  "source": "Crit Care. 2017;21(1):301",
                  "title": "Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"
                },
                "components": [
                  {
                    "factor": "mean_arterial_pressure_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 110
                  },
                  {
                    "factor": "lactate_mmol_l",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "arterial_ph",
                    "points": 0,
                    "present": false,
                    "value": 7.4
                  },
                  {
                    "factor": "platelets_k_ul",
                    "points": 0,
                    "present": false,
                    "value": 250
                  },
                  {
                    "factor": "hospital_days_pre_ecmo",
                    "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": "preset",
                "formula_expression": "PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality",
                "hospital_days_pre_ecmo": 1,
                "icu_mortality_percent": 26,
                "lactate_mmol_l": 1,
                "max_score": 15,
                "mean_arterial_pressure_mm_hg": 110,
                "platelets_k_ul": 250,
                "preset_class": "I",
                "score": 0
              },
              {
                "arterial_ph": 7.4,
                "citation": {
                  "authors": "Hilder M, Herbstreit F, Adamzik M, et al.",
                  "doi": "10.1186/s13054-017-1888-6",
                  "id": "hilder-2017",
                  "pmid": "29233160",
                  "source": "Crit Care. 2017;21(1):301",
                  "title": "Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"
                },
                "components": [
                  {
                    "factor": "mean_arterial_pressure_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 110
                  },
                  {
                    "factor": "lactate_mmol_l",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "arterial_ph",
                    "points": 0,
                    "present": false,
                    "value": 7.4
                  },
                  {
                    "factor": "platelets_k_ul",
                    "points": 0,
                    "present": false,
                    "value": 250
                  },
                  {
                    "factor": "hospital_days_pre_ecmo",
                    "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": "preset",
                "formula_expression": "PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality",
                "hospital_days_pre_ecmo": 1,
                "icu_mortality_percent": 26,
                "lactate_mmol_l": 1,
                "max_score": 15,
                "mean_arterial_pressure_mm_hg": 110,
                "platelets_k_ul": 250,
                "preset_class": "I",
                "score": 0
              }
            ],
            "path": "/api/calc/preset"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "arterial_ph": {
                          "description": "Arterial pH (6.5-8.0). Hilder 2017 Table 4: >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3. magent does not assay blood gas.",
                          "type": "number"
                        },
                        "hospital_days_pre_ecmo": {
                          "description": "Hospital days before ECMO initiation (integer 0-365). Hilder 2017 Table 4: ≤2 → 0, 3-7 → 1, >7 → 2. Not a cannulation order.",
                          "type": "integer"
                        },
                        "lactate_mmol_l": {
                          "description": "Lactate in mmol/L (0.0-30.0). Hilder 2017 Table 4: ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4. magent does not assay labs.",
                          "type": "number"
                        },
                        "mean_arterial_pressure_mm_hg": {
                          "description": "Mean arterial pressure in mm Hg (20-250). Hilder 2017 Table 4: >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4. magent does not measure blood pressure.",
                          "type": "number"
                        },
                        "platelets_k_ul": {
                          "description": "Platelet concentration ×1000/µL (1-2000). Hilder 2017 Table 4: >200 → 0, 101-200 → 1, ≤100 → 2. magent does not assay labs.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "mean_arterial_pressure_mm_hg",
                        "lactate_mmol_l",
                        "arterial_ph",
                        "platelets_k_ul",
                        "hospital_days_pre_ecmo"
                      ],
                      "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": [
    "preset",
    "ecmo",
    "ards",
    "respiratory",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T11:32:54.424Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T11:32:54.191Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "arterial_ph": 7.4,
                  "hospital_days_pre_ecmo": 1,
                  "lactate_mmol_l": 1,
                  "mean_arterial_pressure_mm_hg": 110,
                  "platelets_k_ul": 250
                },
                {
                  "arterial_ph": 7.4,
                  "hospital_days_pre_ecmo": 1,
                  "lactate_mmol_l": 1,
                  "mean_arterial_pressure_mm_hg": 110,
                  "platelets_k_ul": 250
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "arterial_ph": 7.4,
                  "citation": {
                    "authors": "Hilder M, Herbstreit F, Adamzik M, et al.",
                    "doi": "10.1186/s13054-017-1888-6",
                    "id": "hilder-2017",
                    "pmid": "29233160",
                    "source": "Crit Care. 2017;21(1):301",
                    "title": "Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"
                  },
                  "components": [
                    {
                      "factor": "mean_arterial_pressure_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 110
                    },
                    {
                      "factor": "lactate_mmol_l",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "arterial_ph",
                      "points": 0,
                      "present": false,
                      "value": 7.4
                    },
                    {
                      "factor": "platelets_k_ul",
                      "points": 0,
                      "present": false,
                      "value": 250
                    },
                    {
                      "factor": "hospital_days_pre_ecmo",
                      "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": "preset",
                  "formula_expression": "PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality",
                  "hospital_days_pre_ecmo": 1,
                  "icu_mortality_percent": 26,
                  "lactate_mmol_l": 1,
                  "max_score": 15,
                  "mean_arterial_pressure_mm_hg": 110,
                  "platelets_k_ul": 250,
                  "preset_class": "I",
                  "score": 0
                },
                {
                  "arterial_ph": 7.4,
                  "citation": {
                    "authors": "Hilder M, Herbstreit F, Adamzik M, et al.",
                    "doi": "10.1186/s13054-017-1888-6",
                    "id": "hilder-2017",
                    "pmid": "29233160",
                    "source": "Crit Care. 2017;21(1):301",
                    "title": "Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"
                  },
                  "components": [
                    {
                      "factor": "mean_arterial_pressure_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 110
                    },
                    {
                      "factor": "lactate_mmol_l",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "arterial_ph",
                      "points": 0,
                      "present": false,
                      "value": 7.4
                    },
                    {
                      "factor": "platelets_k_ul",
                      "points": 0,
                      "present": false,
                      "value": 250
                    },
                    {
                      "factor": "hospital_days_pre_ecmo",
                      "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": "preset",
                  "formula_expression": "PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality",
                  "hospital_days_pre_ecmo": 1,
                  "icu_mortality_percent": 26,
                  "lactate_mmol_l": 1,
                  "max_score": 15,
                  "mean_arterial_pressure_mm_hg": 110,
                  "platelets_k_ul": 250,
                  "preset_class": "I",
                  "score": 0
                }
              ],
              "path": "/api/calc/preset"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "arterial_ph": {
                            "description": "Arterial pH (6.5-8.0). Hilder 2017 Table 4: >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3. magent does not assay blood gas.",
                            "type": "number"
                          },
                          "hospital_days_pre_ecmo": {
                            "description": "Hospital days before ECMO initiation (integer 0-365). Hilder 2017 Table 4: ≤2 → 0, 3-7 → 1, >7 → 2. Not a cannulation order.",
                            "type": "integer"
                          },
                          "lactate_mmol_l": {
                            "description": "Lactate in mmol/L (0.0-30.0). Hilder 2017 Table 4: ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4. magent does not assay labs.",
                            "type": "number"
                          },
                          "mean_arterial_pressure_mm_hg": {
                            "description": "Mean arterial pressure in mm Hg (20-250). Hilder 2017 Table 4: >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4. magent does not measure blood pressure.",
                            "type": "number"
                          },
                          "platelets_k_ul": {
                            "description": "Platelet concentration ×1000/µL (1-2000). Hilder 2017 Table 4: >200 → 0, 101-200 → 1, ≤100 → 2. magent does not assay labs.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "mean_arterial_pressure_mm_hg",
                          "lactate_mmol_l",
                          "arterial_ph",
                          "platelets_k_ul",
                          "hospital_days_pre_ecmo"
                        ],
                        "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"
  }
}