{
  "x402Version": 2,
  "id": 39191,
  "slug": "39191",
  "resource": "https://api.magentlab.com/api/calc/em_mdm",
  "description": "2023 emergency medical decision making from AMA CPT Table 1 as reprinted by ACEP. Caller assigns problems, data, and risk as straightforward, low, moderate, or high. Overall MDM is the highest level at which at least 2 of 3 elements are met or exceeded. Not a bill or CPT assignment. magent does not code the chart.",
  "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": [
              {
                "data": "low",
                "problems": "low",
                "risk": "low"
              },
              {
                "data": "low",
                "problems": "low",
                "risk": "low"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "American Medical Association; American College of Emergency Physicians",
                  "id": "acep-2023-em-mdm",
                  "source": "AMA CPT 2023 Table 1, Levels of Medical Decision Making, effective January 1, 2023. ACEP reprint.",
                  "title": "CPT Evaluation and Management (E/M) Code and Guideline Changes"
                },
                "components": [
                  {
                    "factor": "problems",
                    "met": true,
                    "value": "low"
                  },
                  {
                    "factor": "data",
                    "met": true,
                    "value": "low"
                  },
                  {
                    "factor": "risk",
                    "met": true,
                    "value": "low"
                  }
                ],
                "data": "low",
                "description": "Low medical decision making",
                "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": "em_mdm",
                "formula_expression": "Caller-assigned number and complexity of problems addressed, amount and/or complexity of data, and risk of complications and/or morbidity of management using the printed 2023 MDM column labels straightforward, low, moderate, and high; overall MDM is the highest level at which at least 2 of 3 elements are met or exceeded (AMA CPT 2023 Table 1 as reprinted by ACEP)",
                "mdm": "low",
                "problems": "low",
                "risk": "low"
              },
              {
                "citation": {
                  "authors": "American Medical Association; American College of Emergency Physicians",
                  "id": "acep-2023-em-mdm",
                  "source": "AMA CPT 2023 Table 1, Levels of Medical Decision Making, effective January 1, 2023. ACEP reprint.",
                  "title": "CPT Evaluation and Management (E/M) Code and Guideline Changes"
                },
                "components": [
                  {
                    "factor": "problems",
                    "met": true,
                    "value": "low"
                  },
                  {
                    "factor": "data",
                    "met": true,
                    "value": "low"
                  },
                  {
                    "factor": "risk",
                    "met": true,
                    "value": "low"
                  }
                ],
                "data": "low",
                "description": "Low medical decision making",
                "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": "em_mdm",
                "formula_expression": "Caller-assigned number and complexity of problems addressed, amount and/or complexity of data, and risk of complications and/or morbidity of management using the printed 2023 MDM column labels straightforward, low, moderate, and high; overall MDM is the highest level at which at least 2 of 3 elements are met or exceeded (AMA CPT 2023 Table 1 as reprinted by ACEP)",
                "mdm": "low",
                "problems": "low",
                "risk": "low"
              }
            ],
            "path": "/api/calc/em_mdm"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "data": {
                          "description": "Caller-assigned amount and/or complexity of data to be reviewed and analyzed using the printed 2023 MDM column labels straightforward, low, moderate, or high. straightforward is the table's minimal or none column; low is limited; moderate is moderate; high is extensive. magent does not count tests, notes, or independent historians.",
                          "enum": [
                            "straightforward",
                            "low",
                            "moderate",
                            "high"
                          ],
                          "type": "string"
                        },
                        "problems": {
                          "description": "Caller-assigned number and complexity of problems addressed using the printed 2023 MDM column labels straightforward, low, moderate, or high (AMA CPT 2023 Table 1 as reprinted by ACEP). straightforward is the table's minimal column (1 self-limited or minor problem). low includes 1 stable chronic illness, 2 or more self-limited or minor problems, or 1 acute uncomplicated illness or injury. magent does not code the chart.",
                          "enum": [
                            "straightforward",
                            "low",
                            "moderate",
                            "high"
                          ],
                          "type": "string"
                        },
                        "risk": {
                          "description": "Caller-assigned risk of complications and/or morbidity of management using the printed 2023 MDM column labels straightforward, low, moderate, or high (straightforward is the table's minimal risk column). magent does not determine risk from the record.",
                          "enum": [
                            "straightforward",
                            "low",
                            "moderate",
                            "high"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "problems",
                        "data",
                        "risk"
                      ],
                      "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": [
    "mdm",
    "emergency",
    "acep",
    "e-m",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T03:16:19.545Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T03:16:19.414Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "data": "low",
                  "problems": "low",
                  "risk": "low"
                },
                {
                  "data": "low",
                  "problems": "low",
                  "risk": "low"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "American Medical Association; American College of Emergency Physicians",
                    "id": "acep-2023-em-mdm",
                    "source": "AMA CPT 2023 Table 1, Levels of Medical Decision Making, effective January 1, 2023. ACEP reprint.",
                    "title": "CPT Evaluation and Management (E/M) Code and Guideline Changes"
                  },
                  "components": [
                    {
                      "factor": "problems",
                      "met": true,
                      "value": "low"
                    },
                    {
                      "factor": "data",
                      "met": true,
                      "value": "low"
                    },
                    {
                      "factor": "risk",
                      "met": true,
                      "value": "low"
                    }
                  ],
                  "data": "low",
                  "description": "Low medical decision making",
                  "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": "em_mdm",
                  "formula_expression": "Caller-assigned number and complexity of problems addressed, amount and/or complexity of data, and risk of complications and/or morbidity of management using the printed 2023 MDM column labels straightforward, low, moderate, and high; overall MDM is the highest level at which at least 2 of 3 elements are met or exceeded (AMA CPT 2023 Table 1 as reprinted by ACEP)",
                  "mdm": "low",
                  "problems": "low",
                  "risk": "low"
                },
                {
                  "citation": {
                    "authors": "American Medical Association; American College of Emergency Physicians",
                    "id": "acep-2023-em-mdm",
                    "source": "AMA CPT 2023 Table 1, Levels of Medical Decision Making, effective January 1, 2023. ACEP reprint.",
                    "title": "CPT Evaluation and Management (E/M) Code and Guideline Changes"
                  },
                  "components": [
                    {
                      "factor": "problems",
                      "met": true,
                      "value": "low"
                    },
                    {
                      "factor": "data",
                      "met": true,
                      "value": "low"
                    },
                    {
                      "factor": "risk",
                      "met": true,
                      "value": "low"
                    }
                  ],
                  "data": "low",
                  "description": "Low medical decision making",
                  "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": "em_mdm",
                  "formula_expression": "Caller-assigned number and complexity of problems addressed, amount and/or complexity of data, and risk of complications and/or morbidity of management using the printed 2023 MDM column labels straightforward, low, moderate, and high; overall MDM is the highest level at which at least 2 of 3 elements are met or exceeded (AMA CPT 2023 Table 1 as reprinted by ACEP)",
                  "mdm": "low",
                  "problems": "low",
                  "risk": "low"
                }
              ],
              "path": "/api/calc/em_mdm"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "data": {
                            "description": "Caller-assigned amount and/or complexity of data to be reviewed and analyzed using the printed 2023 MDM column labels straightforward, low, moderate, or high. straightforward is the table's minimal or none column; low is limited; moderate is moderate; high is extensive. magent does not count tests, notes, or independent historians.",
                            "enum": [
                              "straightforward",
                              "low",
                              "moderate",
                              "high"
                            ],
                            "type": "string"
                          },
                          "problems": {
                            "description": "Caller-assigned number and complexity of problems addressed using the printed 2023 MDM column labels straightforward, low, moderate, or high (AMA CPT 2023 Table 1 as reprinted by ACEP). straightforward is the table's minimal column (1 self-limited or minor problem). low includes 1 stable chronic illness, 2 or more self-limited or minor problems, or 1 acute uncomplicated illness or injury. magent does not code the chart.",
                            "enum": [
                              "straightforward",
                              "low",
                              "moderate",
                              "high"
                            ],
                            "type": "string"
                          },
                          "risk": {
                            "description": "Caller-assigned risk of complications and/or morbidity of management using the printed 2023 MDM column labels straightforward, low, moderate, or high (straightforward is the table's minimal risk column). magent does not determine risk from the record.",
                            "enum": [
                              "straightforward",
                              "low",
                              "moderate",
                              "high"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "problems",
                          "data",
                          "risk"
                        ],
                        "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"
  }
}