{"uid":"cap_knIGgycT1OKJTau3oP5ne","slug":"magent-emergency-medicine-mdm-level-calculator-ama-cpt-2023-table-1-7a5d673e","name":"magent Emergency Medicine MDM Level Calculator (AMA CPT 2023 Table 1)","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.","url":"https://api.magentlab.com/api/calc/em_mdm","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["problems","data","risk"],"properties":{"data":{"enum":["straightforward","low","moderate","high"],"type":"string","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."},"risk":{"enum":["straightforward","low","moderate","high"],"type":"string","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."},"problems":{"enum":["straightforward","low","moderate","high"],"type":"string","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."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FZwpf09h0BP8uSUCTL4_0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the 2023 AMA CPT Medical Decision Making (MDM) level from caller-assigned complexity ratings for problems, data, and risk, returning the overall MDM level using the '2 of 3' rule.","exampleAgentPrompt":"I'm documenting an ED visit where I've assessed the problems as moderate complexity, the data as low, and the risk as high — what does the 2023 AMA CPT MDM table say the overall MDM level is?","exampleUseCases":[{"title":"ED chart documentation MDM check","prompt":"I just saw a patient in the ED — I'm calling the problems moderate, data moderate, and risk high. What overall MDM level does that give me under the 2023 AMA CPT Table 1 rules?"},{"title":"Teaching case MDM walkthrough","prompt":"Walk me through how the MDM level works for a case where problems are straightforward, data is low, and risk is moderate — what does the 2023 AMA CPT 2-of-3 rule produce?"},{"title":"Low-complexity visit MDM confirmation","prompt":"For a straightforward visit — problems straightforward, data straightforward, risk straightforward — what is the resulting MDM level per the 2023 AMA CPT Table 1?"}],"resultDescription":"Returns the overall MDM complexity level (straightforward, low, moderate, or high) computed by applying the 2023 AMA CPT Table 1 '2 of 3' rule to the three caller-assigned element ratings. Does not generate a bill, assign a CPT code, or perform chart coding — it only applies the published MDM logic.","failureModes":["Missing required query parameter (problems, data, or risk) returns an error","Invalid enum value (anything other than straightforward, low, moderate, high) causes a validation error","Caller mis-assigns element levels — the service computes correctly but output validity depends on accurate caller input","Network or payment failure may prevent response delivery"],"whenToPreferThis":"Use this endpoint when a clinician or clinical documentation AI has already reviewed the chart and self-assigned the three MDM element levels (problems, data, risk) per 2023 AMA CPT Table 1 and needs the correct overall MDM level computed using the '2 of 3' rule. Prefer this over manual lookup when integrating MDM computation into automated workflows, scribes, or documentation assistants. Do not use if you need the system to analyze raw chart data and assign element levels — the caller must do that assignment upstream.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:39.202Z","isFirstParty":false}