{"uid":"cap_G3yVP8mhBb2Pl9z0GezYp","slug":"magent-rasp-hiv-post-exposure-risk-calculator-0521b711","name":"magent RASP HIV Post-Exposure Risk Calculator","description":"Vertesi 2003 RASP multiplies exclusive source (A), inoculum type (B), and transmission (C) to Z, then total_risk = (1/Z) × volume (D). Table 2: <1/1000 definitely indicated; 1/1000–1/10 000 recommended but optional; 1/10 001–1/100 000 optional but not recommended; >1/100 000 not indicated. Average Canadian community prevalence is baked into the scores. Caller-assigned tokens. Not a PEP order. magent does not interpret the source patient.","url":"https://api.magentlab.com/api/calc/rasp","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":["source_population","inoculum_type","transmission","inoculum_volume"],"properties":{"transmission":{"enum":["intravenous","deep_intramuscular","deep_transcutaneous_visible_bleeding","superficial_transcutaneous_no_bleeding","mucosal_contact","intact_skin"],"type":"string","description":"Vertesi 2003 Step C method of transmission as assigned by the caller (exclusive). intravenous scores 1; deep_intramuscular scores 10; deep_transcutaneous_visible_bleeding scores 100; superficial_transcutaneous_no_bleeding scores 200; mucosal_contact scores 500; intact_skin scores 1000. magent does not examine the wound."},"inoculum_type":{"enum":["fresh_blood","body_fluids_at_risk","dried_old_blood","low_risk_secretions"],"type":"string","description":"Vertesi 2003 Step B inoculum type as assigned by the caller (exclusive). fresh_blood scores 1; body_fluids_at_risk scores 10 (semen); dried_old_blood scores 100; low_risk_secretions scores 1000 (tears, saliva, urine). magent does not classify the specimen."},"inoculum_volume":{"enum":["massive_transfusion","measurable_gt_1_ml","moderate_large_bore_gt_22g","small_small_bore_lt_22g","trace_surface"],"type":"string","description":"Vertesi 2003 Step D volume modifier as assigned by the caller (exclusive). massive_transfusion scores 100; measurable_gt_1_ml scores 10; moderate_large_bore_gt_22g scores 5; small_small_bore_lt_22g scores 3; trace_surface scores 1 (suture needle). 22 g exactly is not a published token. magent does not measure volume."},"source_population":{"enum":["known_hiv_acute_aids","known_hiv_asymptomatic","unknown_hiv_high_risk","unknown_hiv_low_risk"],"type":"string","description":"Vertesi 2003 Step A source population as assigned by the caller (exclusive). known_hiv_acute_aids scores 1 (acute AIDS illness); known_hiv_asymptomatic scores 10; unknown_hiv_high_risk scores 100; unknown_hiv_low_risk scores 1000. magent does not interpret the source patient."}}}},"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_Bh5B_pt5j2IN72ayg3I8U","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 Vertesi 2003 RASP (Risk Assessment Score for Post-exposure) for HIV transmission probability given caller-assigned source population, inoculum type, transmission route, and volume.","exampleAgentPrompt":"Calculate the Vertesi RASP score for a healthcare worker who had a deep intramuscular needlestick with fresh blood from a patient of unknown HIV status but high-risk background, with a moderate volume exposure using a large-bore needle above 22 gauge.","exampleUseCases":[{"title":"Occupational needlestick triage","prompt":"A nurse just had a deep needlestick with fresh blood from a patient of unknown HIV status who is high risk — it was a large-bore needle with moderate volume. Run the RASP score to see if PEP is indicated."},{"title":"Mucosal splash risk assessment","prompt":"There was a mucosal splash — saliva got into the eye from a patient known to have asymptomatic HIV. The volume was just a trace surface amount. What does the Vertesi RASP score say about the risk level?"},{"title":"IV line disconnect exposure","prompt":"A patient with known acute AIDS-stage HIV had an IV line disconnect and blood went intravenously into a healthcare worker — measurable volume over 1 mL. Calculate the RASP score and tell me what risk tier that falls into."}],"resultDescription":"Returns a numeric RASP score (total_risk = (1/Z) × volume modifier) plus a risk tier classification: <1/1000 definitely indicated, 1/1000–1/10,000 recommended but optional, 1/10,001–1/100,000 optional but not recommended, >1/100,000 not indicated — based on average Canadian community HIV prevalence baked into the source population scores.","failureModes":["Missing required query parameters returns a 400 error","Invalid enum value for any of the four parameters returns a 400 validation error","Edge case: 22g needle gauge is not a published token and has no defined enum value","Score interpretation does not account for local prevalence deviating from Canadian average","Caller misclassification of exposure parameters leads to incorrect risk stratification — magent does not interpret wound, specimen, or volume independently"],"whenToPreferThis":"Use this endpoint when you need a structured, reproducible Vertesi 2003 RASP calculation for HIV post-exposure risk stratification and need a programmatic score rather than manual lookup. Prefer this over general clinical decision support tools when you specifically need the RASP methodology with Canadian prevalence priors and caller-assigned categorical inputs for source population, inoculum type, transmission route, and volume. Not appropriate as a PEP prescribing or order-entry tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:05:35.472Z","isFirstParty":false}