{"uid":"cap_UdIIjrGu4-GmsFzEO4hAk","slug":"apfel-1999-ponv-risk-score-calculator-f3ea4dac","name":"Apfel 1999 PONV Risk Score Calculator","description":"Apfel 1999 simplified PONV risk score. Four caller-assigned predictors, 1 each, max 4: female sex, history of motion sickness or PONV, nonsmoking, postoperative opioids. Male and smokers score 0 on those items. Returns the integer score as bands 0-4. Apfel 1999 reported incidences by score; this tool returns the integer score without those percents. Not a medical device, not a prophylaxis order, not a diagnosis of PONV. Caller assigns history and opioid plan; magent does not take an anesthetic.","url":"https://api.magentlab.com/api/calc/apfel","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":["sex","history_motion_sickness_or_ponv","nonsmoker","postoperative_opioids"],"properties":{"sex":{"enum":["female","male"],"type":"string","description":"female or male (Apfel 1999). Female scores 1. Male scores 0. Assigned by the caller."},"nonsmoker":{"type":"boolean","description":"Nonsmoking status (Apfel 1999). true scores 1. Smokers (false) score 0. Assigned by the caller."},"postoperative_opioids":{"type":"boolean","description":"Postoperative opioids planned or given (Apfel 1999). true or false as assigned by the caller. 1 point if true. magent does not take an anesthetic."},"history_motion_sickness_or_ponv":{"type":"boolean","description":"History of motion sickness or postoperative nausea and vomiting (Apfel 1999). true or false as assigned by the caller. 1 point if true."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/apfel","count":2,"items":[{"sex":"male","band":"0","score":0,"formula":"apfel","citation":{"id":"apfel-1999","doi":"10.1097/00000542-199909000-00022","pmid":"10485781","title":"A simplified risk score for predicting postoperative nausea and vomiting: conclusions from cross-validations between two centers.","source":"Anesthesiology. 1999;91(3):693-700","authors":"Apfel CC, Läärä E, Koivuranta M, Greim CA, Roewer N"},"max_score":4,"components":[{"factor":"female","points":0,"present":false},{"factor":"history_motion_sickness_or_ponv","points":0,"present":false},{"factor":"nonsmoker","points":0,"present":false},{"factor":"postoperative_opioids","points":0,"present":false}],"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_expression":"Apfel = female + history_motion_sickness_or_ponv + nonsmoker + postoperative_opioids; each 1 if true; max 4"},{"sex":"male","band":"0","score":0,"formula":"apfel","citation":{"id":"apfel-1999","doi":"10.1097/00000542-199909000-00022","pmid":"10485781","title":"A simplified risk score for predicting postoperative nausea and vomiting: conclusions from cross-validations between two centers.","source":"Anesthesiology. 1999;91(3):693-700","authors":"Apfel CC, Läärä E, Koivuranta M, Greim CA, Roewer N"},"max_score":4,"components":[{"factor":"female","points":0,"present":false},{"factor":"history_motion_sickness_or_ponv","points":0,"present":false},{"factor":"nonsmoker","points":0,"present":false},{"factor":"postoperative_opioids","points":0,"present":false}],"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_expression":"Apfel = female + history_motion_sickness_or_ponv + nonsmoker + postoperative_opioids; each 1 if true; max 4"}]}},"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_UVNhS-5p_4PPiWZzGPMEc","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":"Calculates the simplified Apfel 1999 PONV (postoperative nausea and vomiting) risk score (0–4) from four binary predictors: female sex, history of motion sickness or PONV, nonsmoking status, and postoperative opioid use.","exampleAgentPrompt":"Calculate the Apfel 1999 PONV score for a female nonsmoker with a history of motion sickness who will be receiving postoperative opioids.","exampleUseCases":[{"title":"Preoperative PONV risk screening","prompt":"My patient is female, a nonsmoker, has a history of PONV from a prior surgery, and we're planning postoperative opioids — what's her Apfel PONV score?"},{"title":"PONV score for male smoker without opioids","prompt":"Calculate the Apfel PONV score for a male patient who smokes, has no history of motion sickness or PONV, and will not be receiving postoperative opioids."},{"title":"Risk score for shared decision-making","prompt":"I need the Apfel 1999 PONV score for a female nonsmoker with no history of motion sickness or PONV and no planned postoperative opioids — what does she score?"}],"resultDescription":"Returns an integer Apfel PONV risk score between 0 and 4, representing the sum of the four binary risk factors (female sex, history of motion sickness or PONV, nonsmoking, postoperative opioids). Does not return incidence percentages, prophylaxis recommendations, or a diagnosis.","failureModes":["Missing required query parameters (sex, history_motion_sickness_or_ponv, nonsmoker, postoperative_opioids) returns a validation error","Invalid enum value for sex (anything other than 'female' or 'male') results in a schema error","Non-boolean values for boolean fields cause a request error","Payment not included or insufficient (x402 protocol) results in a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic computation of the Apfel 1999 simplified four-factor PONV risk score in an automated or agentic workflow. Prefer it over manual calculation or general-purpose LLM reasoning when auditability, consistency, and structured output are required for perioperative risk documentation or decision support pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:57.471Z","isFirstParty":false}