{"api":"v1","generated_at":"2026-10-01T05:41:13.591Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-dhrs-a4549b","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-dhrs-a4549b/at/2026-09-30T22-14Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-30T22:14:11.940Z","snapshot_stamp":"2026-09-30T22-14Z","endpoint":{"slug":"api-magentlab-com-api-calc-dhrs-a4549b","canonical_url":"https://api.magentlab.com/api/calc/dhrs","resource":"https://api.magentlab.com/api/calc/dhrs","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Haukoos 2012 Table 2 FULL Denver HIV score (not abbreviated). Age bands, sex, ethnicity, and five caller-assigned flags (sm vi rai idu pht). Range -14 to 81. Caller-assigned. Not a diagnosis.","service_name":"magent","declared_category":null,"declared_tags":["hiv-screening","infection","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:32:22.289Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc dhrs","category":"identity","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-09-30T22:14:11.940Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-09-30T22:14:11.940Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:32:22.170Z"},"validation":{"latest":{"observed_at":"2026-09-30T08:12:24.503Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":4,"passed":4,"ratio":1},{"days":30,"observed":4,"passed":4,"ratio":1},{"days":90,"observed":4,"passed":4,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T08:12:24.503Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T20:22:24.949Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T17:29:54.112Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:46:23.555Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["hiv-screening","infection","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/dhrs","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:32:22.17Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/dhrs","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"sm":false,"vi":false,"age":20,"idu":false,"pht":false,"rai":false,"sex":"female","ethnicity":"white"},{"sm":false,"vi":false,"age":20,"idu":false,"pht":false,"rai":false,"sex":"female","ethnicity":"white"}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/dhrs","count":2,"items":[{"sm":false,"vi":false,"idu":false,"pht":false,"rai":false,"sex":"female","band":"very_low","score":0,"formula":"denver_hiv","citation":{"id":"haukoos-2012-denver-hiv","doi":"10.1093/aje/kwr389","pmid":"22425121","title":"Derivation and Validation of the Denver Human Immunodeficiency Virus (HIV) Risk Score for Targeted HIV Screening","source":"Am J Epidemiol. 2012;175(8):838-846","authors":"Haukoos JS, Lyons MS, Lindsell CJ, Hopkins E, Bender B, Rothman RE, Hsieh YH, MacLaren LA, Thrun MW, Sasson C, Byyny RL"},"age_years":20,"ethnicity":"white","max_score":81,"min_score":-14,"components":[{"value":20,"factor":"age","points":0,"present":false},{"value":"female","factor":"sex","points":0,"present":false},{"value":"white","factor":"ethnicity","points":0,"present":false},{"factor":"sm","points":0,"present":false},{"factor":"vi","points":0,"present":false},{"factor":"rai","points":0,"present":false},{"factor":"idu","points":0,"present":false},{"factor":"pht","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":"Denver HIV (Haukoos 2012 Table 2 FULL pruned) = age (<22 or >60 0; 22-25 or 55-60 4; 26-32 or 47-54 10; 33-46 12) + sex (female 0, male 21) + ethnicity (black 9, hispanic 3, white 0, other 0) + sex_with_male 22 + vaginal_intercourse -10 + receptive_anal_intercourse 8 + injection_drug_use 9 + past_hiv_testing -4; flags independent, not mutually exclusive; range -14 to 81; <20 very_low derivation 0.12%, 20-29 low 0.24%, 30-39 moderate 0.67%, 40-49 high 2.28%, >=50 very_high 5.66%","derivation_hiv_percent":0.12},{"sm":false,"vi":false,"idu":false,"pht":false,"rai":false,"sex":"female","band":"very_low","score":0,"formula":"denver_hiv","citation":{"id":"haukoos-2012-denver-hiv","doi":"10.1093/aje/kwr389","pmid":"22425121","title":"Derivation and Validation of the Denver Human Immunodeficiency Virus (HIV) Risk Score for Targeted HIV Screening","source":"Am J Epidemiol. 2012;175(8):838-846","authors":"Haukoos JS, Lyons MS, Lindsell CJ, Hopkins E, Bender B, Rothman RE, Hsieh YH, MacLaren LA, Thrun MW, Sasson C, Byyny RL"},"age_years":20,"ethnicity":"white","max_score":81,"min_score":-14,"components":[{"value":20,"factor":"age","points":0,"present":false},{"value":"female","factor":"sex","points":0,"present":false},{"value":"white","factor":"ethnicity","points":0,"present":false},{"factor":"sm","points":0,"present":false},{"factor":"vi","points":0,"present":false},{"factor":"rai","points":0,"present":false},{"factor":"idu","points":0,"present":false},{"factor":"pht","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":"Denver HIV (Haukoos 2012 Table 2 FULL pruned) = age (<22 or >60 0; 22-25 or 55-60 4; 26-32 or 47-54 10; 33-46 12) + sex (female 0, male 21) + ethnicity (black 9, hispanic 3, white 0, other 0) + sex_with_male 22 + vaginal_intercourse -10 + receptive_anal_intercourse 8 + injection_drug_use 9 + past_hiv_testing -4; flags independent, not mutually exclusive; range -14 to 81; <20 very_low derivation 0.12%, 20-29 low 0.24%, 30-39 moderate 0.67%, 40-49 high 2.28%, >=50 very_high 5.66%","derivation_hiv_percent":0.12}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["age","sex","ethnicity","sm","vi","rai","idu","pht"],"properties":{"sm":{"type":"boolean","description":"Haukoos 2012 Table 2 item sm. Caller-assigned boolean. +22 if true. Magent docs map this to the paper's sex-with-a-male coefficient; magent does not take a sexual history."},"vi":{"type":"boolean","description":"Haukoos 2012 Table 2 item vi. Caller-assigned boolean. -10 if true. Do not drop this item. Magent docs map this to the paper's vaginal-intercourse coefficient."},"age":{"type":"integer","description":"Age in years (integer 18-120). Haukoos 2012 Table 2: <22 or >60 scores 0; 22-25 or 55-60 scores 4; 26-32 or 47-54 scores 10; 33-46 scores 12. Caller-assigned."},"idu":{"type":"boolean","description":"Haukoos 2012 Table 2 item idu. Caller-assigned boolean. +9 if true. Magent docs map this to the paper's injection-drug-use coefficient."},"pht":{"type":"boolean","description":"Haukoos 2012 Table 2 item pht. Caller-assigned boolean. -4 if true. Magent docs map this to the paper's past-HIV-testing coefficient."},"rai":{"type":"boolean","description":"Haukoos 2012 Table 2 item rai. Caller-assigned boolean. +8 if true. Do not drop this item. Magent docs map this to the paper's receptive-anal-intercourse coefficient."},"sex":{"enum":["female","male"],"type":"string","description":"female or male as assigned by the caller (Haukoos 2012 Table 2 gender). female scores 0; male scores 21."},"ethnicity":{"enum":["black","hispanic","white","other"],"type":"string","description":"Caller-assigned ethnicity as used in Haukoos 2012 Table 2 (not param race). black scores 9; hispanic scores 3; white scores 0; other scores 0 (paper: American Indian or Alaska Native, Native Hawaiian, or non-Hawaiian Pacific Islander). magent does not assign race or ethnicity."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Haukoos 2012 Table 2 FULL Denver HIV score (not abbreviated). Age bands, sex, ethnicity, and five caller-assigned flags (sm vi rai idu pht). Range -14 to 81. Caller-assigned. Not a diagnosis.","lastUpdated":"2026-09-28T14:32:22.289Z","serviceName":"magent","x402Version":2}]}}